@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
package/dist/index.js
CHANGED
|
@@ -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) {
|
|
@@ -27262,6 +27262,141 @@ var require_assistant_api_pb = __commonJS({
|
|
|
27262
27262
|
}
|
|
27263
27263
|
});
|
|
27264
27264
|
|
|
27265
|
+
// src/clients/protos/lead-api_pb.js
|
|
27266
|
+
var require_lead_api_pb = __commonJS({
|
|
27267
|
+
"src/clients/protos/lead-api_pb.js"(exports2) {
|
|
27268
|
+
"use strict";
|
|
27269
|
+
var jspb = require("google-protobuf");
|
|
27270
|
+
var goog = jspb;
|
|
27271
|
+
var global = function() {
|
|
27272
|
+
return this || window || global || self || Function("return this")();
|
|
27273
|
+
}.call(null);
|
|
27274
|
+
var common_pb = require_common_pb();
|
|
27275
|
+
goog.object.extend(proto, common_pb);
|
|
27276
|
+
goog.exportSymbol("proto.lead_api.CreateLeadRequest", null, global);
|
|
27277
|
+
proto.lead_api.CreateLeadRequest = function(opt_data) {
|
|
27278
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
27279
|
+
};
|
|
27280
|
+
goog.inherits(proto.lead_api.CreateLeadRequest, jspb.Message);
|
|
27281
|
+
if (goog.DEBUG && !COMPILED) {
|
|
27282
|
+
proto.lead_api.CreateLeadRequest.displayName = "proto.lead_api.CreateLeadRequest";
|
|
27283
|
+
}
|
|
27284
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27285
|
+
proto.lead_api.CreateLeadRequest.prototype.toObject = function(opt_includeInstance) {
|
|
27286
|
+
return proto.lead_api.CreateLeadRequest.toObject(opt_includeInstance, this);
|
|
27287
|
+
};
|
|
27288
|
+
proto.lead_api.CreateLeadRequest.toObject = function(includeInstance, msg) {
|
|
27289
|
+
var f, obj = {
|
|
27290
|
+
email: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
27291
|
+
company: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
27292
|
+
expectedvolume: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
27293
|
+
};
|
|
27294
|
+
if (includeInstance) {
|
|
27295
|
+
obj.$jspbMessageInstance = msg;
|
|
27296
|
+
}
|
|
27297
|
+
return obj;
|
|
27298
|
+
};
|
|
27299
|
+
}
|
|
27300
|
+
proto.lead_api.CreateLeadRequest.deserializeBinary = function(bytes) {
|
|
27301
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
27302
|
+
var msg = new proto.lead_api.CreateLeadRequest();
|
|
27303
|
+
return proto.lead_api.CreateLeadRequest.deserializeBinaryFromReader(msg, reader);
|
|
27304
|
+
};
|
|
27305
|
+
proto.lead_api.CreateLeadRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
27306
|
+
while (reader.nextField()) {
|
|
27307
|
+
if (reader.isEndGroup()) {
|
|
27308
|
+
break;
|
|
27309
|
+
}
|
|
27310
|
+
var field = reader.getFieldNumber();
|
|
27311
|
+
switch (field) {
|
|
27312
|
+
case 1:
|
|
27313
|
+
var value = (
|
|
27314
|
+
/** @type {string} */
|
|
27315
|
+
reader.readString()
|
|
27316
|
+
);
|
|
27317
|
+
msg.setEmail(value);
|
|
27318
|
+
break;
|
|
27319
|
+
case 2:
|
|
27320
|
+
var value = (
|
|
27321
|
+
/** @type {string} */
|
|
27322
|
+
reader.readString()
|
|
27323
|
+
);
|
|
27324
|
+
msg.setCompany(value);
|
|
27325
|
+
break;
|
|
27326
|
+
case 3:
|
|
27327
|
+
var value = (
|
|
27328
|
+
/** @type {string} */
|
|
27329
|
+
reader.readString()
|
|
27330
|
+
);
|
|
27331
|
+
msg.setExpectedvolume(value);
|
|
27332
|
+
break;
|
|
27333
|
+
default:
|
|
27334
|
+
reader.skipField();
|
|
27335
|
+
break;
|
|
27336
|
+
}
|
|
27337
|
+
}
|
|
27338
|
+
return msg;
|
|
27339
|
+
};
|
|
27340
|
+
proto.lead_api.CreateLeadRequest.prototype.serializeBinary = function() {
|
|
27341
|
+
var writer = new jspb.BinaryWriter();
|
|
27342
|
+
proto.lead_api.CreateLeadRequest.serializeBinaryToWriter(this, writer);
|
|
27343
|
+
return writer.getResultBuffer();
|
|
27344
|
+
};
|
|
27345
|
+
proto.lead_api.CreateLeadRequest.serializeBinaryToWriter = function(message, writer) {
|
|
27346
|
+
var f = void 0;
|
|
27347
|
+
f = message.getEmail();
|
|
27348
|
+
if (f.length > 0) {
|
|
27349
|
+
writer.writeString(
|
|
27350
|
+
1,
|
|
27351
|
+
f
|
|
27352
|
+
);
|
|
27353
|
+
}
|
|
27354
|
+
f = message.getCompany();
|
|
27355
|
+
if (f.length > 0) {
|
|
27356
|
+
writer.writeString(
|
|
27357
|
+
2,
|
|
27358
|
+
f
|
|
27359
|
+
);
|
|
27360
|
+
}
|
|
27361
|
+
f = message.getExpectedvolume();
|
|
27362
|
+
if (f.length > 0) {
|
|
27363
|
+
writer.writeString(
|
|
27364
|
+
3,
|
|
27365
|
+
f
|
|
27366
|
+
);
|
|
27367
|
+
}
|
|
27368
|
+
};
|
|
27369
|
+
proto.lead_api.CreateLeadRequest.prototype.getEmail = function() {
|
|
27370
|
+
return (
|
|
27371
|
+
/** @type {string} */
|
|
27372
|
+
jspb.Message.getFieldWithDefault(this, 1, "")
|
|
27373
|
+
);
|
|
27374
|
+
};
|
|
27375
|
+
proto.lead_api.CreateLeadRequest.prototype.setEmail = function(value) {
|
|
27376
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
27377
|
+
};
|
|
27378
|
+
proto.lead_api.CreateLeadRequest.prototype.getCompany = function() {
|
|
27379
|
+
return (
|
|
27380
|
+
/** @type {string} */
|
|
27381
|
+
jspb.Message.getFieldWithDefault(this, 2, "")
|
|
27382
|
+
);
|
|
27383
|
+
};
|
|
27384
|
+
proto.lead_api.CreateLeadRequest.prototype.setCompany = function(value) {
|
|
27385
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
27386
|
+
};
|
|
27387
|
+
proto.lead_api.CreateLeadRequest.prototype.getExpectedvolume = function() {
|
|
27388
|
+
return (
|
|
27389
|
+
/** @type {string} */
|
|
27390
|
+
jspb.Message.getFieldWithDefault(this, 3, "")
|
|
27391
|
+
);
|
|
27392
|
+
};
|
|
27393
|
+
proto.lead_api.CreateLeadRequest.prototype.setExpectedvolume = function(value) {
|
|
27394
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
27395
|
+
};
|
|
27396
|
+
goog.object.extend(exports2, proto.lead_api);
|
|
27397
|
+
}
|
|
27398
|
+
});
|
|
27399
|
+
|
|
27265
27400
|
// src/clients/protos/talk-api_pb_service.js
|
|
27266
27401
|
var require_talk_api_pb_service = __commonJS({
|
|
27267
27402
|
"src/clients/protos/talk-api_pb_service.js"(exports2) {
|
|
@@ -57099,6 +57234,66 @@ var require_invoker_api_pb_service = __commonJS({
|
|
|
57099
57234
|
}
|
|
57100
57235
|
});
|
|
57101
57236
|
|
|
57237
|
+
// src/clients/protos/lead-api_pb_service.js
|
|
57238
|
+
var require_lead_api_pb_service = __commonJS({
|
|
57239
|
+
"src/clients/protos/lead-api_pb_service.js"(exports2) {
|
|
57240
|
+
"use strict";
|
|
57241
|
+
var lead_api_pb = require_lead_api_pb();
|
|
57242
|
+
var common_pb = require_common_pb();
|
|
57243
|
+
var grpc3 = require("@improbable-eng/grpc-web").grpc;
|
|
57244
|
+
var LeadGeneratorService = function() {
|
|
57245
|
+
function LeadGeneratorService2() {
|
|
57246
|
+
}
|
|
57247
|
+
LeadGeneratorService2.serviceName = "lead_api.LeadGeneratorService";
|
|
57248
|
+
return LeadGeneratorService2;
|
|
57249
|
+
}();
|
|
57250
|
+
LeadGeneratorService.CreateLead = {
|
|
57251
|
+
methodName: "CreateLead",
|
|
57252
|
+
service: LeadGeneratorService,
|
|
57253
|
+
requestStream: false,
|
|
57254
|
+
responseStream: false,
|
|
57255
|
+
requestType: lead_api_pb.CreateLeadRequest,
|
|
57256
|
+
responseType: common_pb.BaseResponse
|
|
57257
|
+
};
|
|
57258
|
+
exports2.LeadGeneratorService = LeadGeneratorService;
|
|
57259
|
+
function LeadGeneratorServiceClient2(serviceHost, options) {
|
|
57260
|
+
this.serviceHost = serviceHost;
|
|
57261
|
+
this.options = options || {};
|
|
57262
|
+
}
|
|
57263
|
+
LeadGeneratorServiceClient2.prototype.createLead = function createLead(requestMessage, metadata, callback) {
|
|
57264
|
+
if (arguments.length === 2) {
|
|
57265
|
+
callback = arguments[1];
|
|
57266
|
+
}
|
|
57267
|
+
var client = grpc3.unary(LeadGeneratorService.CreateLead, {
|
|
57268
|
+
request: requestMessage,
|
|
57269
|
+
host: this.serviceHost,
|
|
57270
|
+
metadata,
|
|
57271
|
+
transport: this.options.transport,
|
|
57272
|
+
debug: this.options.debug,
|
|
57273
|
+
onEnd: function(response) {
|
|
57274
|
+
if (callback) {
|
|
57275
|
+
if (response.status !== grpc3.Code.OK) {
|
|
57276
|
+
var err = new Error(response.statusMessage);
|
|
57277
|
+
err.code = response.status;
|
|
57278
|
+
err.metadata = response.trailers;
|
|
57279
|
+
callback(err, null);
|
|
57280
|
+
} else {
|
|
57281
|
+
callback(null, response.message);
|
|
57282
|
+
}
|
|
57283
|
+
}
|
|
57284
|
+
}
|
|
57285
|
+
});
|
|
57286
|
+
return {
|
|
57287
|
+
cancel: function() {
|
|
57288
|
+
callback = null;
|
|
57289
|
+
client.close();
|
|
57290
|
+
}
|
|
57291
|
+
};
|
|
57292
|
+
};
|
|
57293
|
+
exports2.LeadGeneratorServiceClient = LeadGeneratorServiceClient2;
|
|
57294
|
+
}
|
|
57295
|
+
});
|
|
57296
|
+
|
|
57102
57297
|
// src/clients/protos/sendgrid-api_pb.js
|
|
57103
57298
|
var require_sendgrid_api_pb = __commonJS({
|
|
57104
57299
|
"src/clients/protos/sendgrid-api_pb.js"(exports2) {
|
|
@@ -62645,25 +62840,25 @@ __export(index_exports, {
|
|
|
62645
62840
|
AnyToString: () => AnyToString,
|
|
62646
62841
|
ArchiveProjectRequest: () => import_web_api_pb4.ArchiveProjectRequest,
|
|
62647
62842
|
ArchiveProjectResponse: () => import_web_api_pb4.ArchiveProjectResponse,
|
|
62648
|
-
Argument: () =>
|
|
62843
|
+
Argument: () => import_common_pb19.Argument,
|
|
62649
62844
|
Assistant: () => import_assistant_api_pb3.Assistant,
|
|
62650
62845
|
AssistantAnalysis: () => import_assistant_analysis_pb2.AssistantAnalysis,
|
|
62651
62846
|
AssistantApiDeployment: () => import_assistant_deployment_pb.AssistantApiDeployment,
|
|
62652
|
-
AssistantConversation: () =>
|
|
62653
|
-
AssistantConversationAssistantMessage: () =>
|
|
62654
|
-
AssistantConversationConfiguration: () =>
|
|
62655
|
-
AssistantConversationContext: () =>
|
|
62656
|
-
AssistantConversationInterruption: () =>
|
|
62657
|
-
AssistantConversationMessage: () =>
|
|
62658
|
-
AssistantConversationRecording: () =>
|
|
62659
|
-
AssistantConversationUserMessage: () =>
|
|
62847
|
+
AssistantConversation: () => import_common_pb19.AssistantConversation,
|
|
62848
|
+
AssistantConversationAssistantMessage: () => import_common_pb19.AssistantConversationAssistantMessage,
|
|
62849
|
+
AssistantConversationConfiguration: () => import_common_pb19.AssistantConversationConfiguration,
|
|
62850
|
+
AssistantConversationContext: () => import_common_pb19.AssistantConversationContext,
|
|
62851
|
+
AssistantConversationInterruption: () => import_common_pb19.AssistantConversationInterruption,
|
|
62852
|
+
AssistantConversationMessage: () => import_common_pb19.AssistantConversationMessage,
|
|
62853
|
+
AssistantConversationRecording: () => import_common_pb19.AssistantConversationRecording,
|
|
62854
|
+
AssistantConversationUserMessage: () => import_common_pb19.AssistantConversationUserMessage,
|
|
62660
62855
|
AssistantDebuggerDeployment: () => import_assistant_deployment_pb.AssistantDebuggerDeployment,
|
|
62661
|
-
AssistantDefinition: () =>
|
|
62856
|
+
AssistantDefinition: () => import_common_pb19.AssistantDefinition,
|
|
62662
62857
|
AssistantDeploymentService: () => import_assistant_deployment_pb_service2.AssistantDeploymentService,
|
|
62663
62858
|
AssistantDeploymentServiceClient: () => import_assistant_deployment_pb_service2.AssistantDeploymentServiceClient,
|
|
62664
62859
|
AssistantKnowledge: () => import_assistant_knowledge_pb2.AssistantKnowledge,
|
|
62665
|
-
AssistantMessagingRequest: () =>
|
|
62666
|
-
AssistantMessagingResponse: () =>
|
|
62860
|
+
AssistantMessagingRequest: () => import_talk_api_pb3.AssistantMessagingRequest,
|
|
62861
|
+
AssistantMessagingResponse: () => import_talk_api_pb3.AssistantMessagingResponse,
|
|
62667
62862
|
AssistantPhoneDeployment: () => import_assistant_deployment_pb.AssistantPhoneDeployment,
|
|
62668
62863
|
AssistantProviderAgentkit: () => import_assistant_provider_pb2.AssistantProviderAgentkit,
|
|
62669
62864
|
AssistantProviderModel: () => import_assistant_provider_pb2.AssistantProviderModel,
|
|
@@ -62691,7 +62886,7 @@ __export(index_exports, {
|
|
|
62691
62886
|
AuthorizeUser: () => AuthorizeUser,
|
|
62692
62887
|
AzureService: () => import_integration_api_pb_service.AzureService,
|
|
62693
62888
|
AzureServiceClient: () => import_integration_api_pb_service.AzureServiceClient,
|
|
62694
|
-
BaseResponse: () =>
|
|
62889
|
+
BaseResponse: () => import_common_pb19.BaseResponse,
|
|
62695
62890
|
BedrockService: () => import_integration_api_pb_service.BedrockService,
|
|
62696
62891
|
BedrockServiceClient: () => import_integration_api_pb_service.BedrockServiceClient,
|
|
62697
62892
|
BoolToAny: () => BoolToAny,
|
|
@@ -62706,7 +62901,7 @@ __export(index_exports, {
|
|
|
62706
62901
|
ConnectionConfig: () => ConnectionConfig,
|
|
62707
62902
|
ConnectionState: () => ConnectionState,
|
|
62708
62903
|
Contact: () => import_sendgrid_api_pb.Contact,
|
|
62709
|
-
Content: () =>
|
|
62904
|
+
Content: () => import_common_pb19.Content,
|
|
62710
62905
|
CreateAnalysis: () => CreateAnalysis,
|
|
62711
62906
|
CreateAssistant: () => CreateAssistant,
|
|
62712
62907
|
CreateAssistantAnalysisRequest: () => import_assistant_analysis_pb2.CreateAssistantAnalysisRequest,
|
|
@@ -62727,11 +62922,11 @@ __export(index_exports, {
|
|
|
62727
62922
|
CreateAssistantWebpluginDeployment: () => CreateAssistantWebpluginDeployment,
|
|
62728
62923
|
CreateAssistantWhatsappDeployment: () => CreateAssistantWhatsappDeployment,
|
|
62729
62924
|
CreateBulkPhoneCall: () => CreateBulkPhoneCall,
|
|
62730
|
-
CreateBulkPhoneCallRequest: () =>
|
|
62731
|
-
CreateBulkPhoneCallResponse: () =>
|
|
62925
|
+
CreateBulkPhoneCallRequest: () => import_talk_api_pb4.CreateBulkPhoneCallRequest,
|
|
62926
|
+
CreateBulkPhoneCallResponse: () => import_talk_api_pb4.CreateBulkPhoneCallResponse,
|
|
62732
62927
|
CreateConversationMetric: () => CreateConversationMetric,
|
|
62733
|
-
CreateConversationMetricRequest: () =>
|
|
62734
|
-
CreateConversationMetricResponse: () =>
|
|
62928
|
+
CreateConversationMetricRequest: () => import_talk_api_pb3.CreateConversationMetricRequest,
|
|
62929
|
+
CreateConversationMetricResponse: () => import_talk_api_pb3.CreateConversationMetricResponse,
|
|
62735
62930
|
CreateEndpoint: () => CreateEndpoint,
|
|
62736
62931
|
CreateEndpointCacheConfiguration: () => CreateEndpointCacheConfiguration,
|
|
62737
62932
|
CreateEndpointCacheConfigurationRequest: () => import_endpoint_api_pb2.CreateEndpointCacheConfigurationRequest,
|
|
@@ -62754,9 +62949,11 @@ __export(index_exports, {
|
|
|
62754
62949
|
CreateKnowledgeResponse: () => import_knowledge_api_pb3.CreateKnowledgeResponse,
|
|
62755
62950
|
CreateKnowledgeTag: () => CreateKnowledgeTag,
|
|
62756
62951
|
CreateKnowledgeTagRequest: () => import_knowledge_api_pb3.CreateKnowledgeTagRequest,
|
|
62952
|
+
CreateLead: () => CreateLead,
|
|
62953
|
+
CreateLeadRequest: () => import_lead_api_pb.CreateLeadRequest,
|
|
62757
62954
|
CreateMessageMetric: () => CreateMessageMetric,
|
|
62758
|
-
CreateMessageMetricRequest: () =>
|
|
62759
|
-
CreateMessageMetricResponse: () =>
|
|
62955
|
+
CreateMessageMetricRequest: () => import_talk_api_pb3.CreateMessageMetricRequest,
|
|
62956
|
+
CreateMessageMetricResponse: () => import_talk_api_pb3.CreateMessageMetricResponse,
|
|
62760
62957
|
CreateMetadataRequest: () => import_audit_logging_api_pb2.CreateMetadataRequest,
|
|
62761
62958
|
CreateMetadataResponse: () => import_audit_logging_api_pb2.CreateMetadataResponse,
|
|
62762
62959
|
CreateOrganization: () => CreateOrganization,
|
|
@@ -62766,8 +62963,8 @@ __export(index_exports, {
|
|
|
62766
62963
|
CreatePasswordRequest: () => import_web_api_pb4.CreatePasswordRequest,
|
|
62767
62964
|
CreatePasswordResponse: () => import_web_api_pb4.CreatePasswordResponse,
|
|
62768
62965
|
CreatePhoneCall: () => CreatePhoneCall,
|
|
62769
|
-
CreatePhoneCallRequest: () =>
|
|
62770
|
-
CreatePhoneCallResponse: () =>
|
|
62966
|
+
CreatePhoneCallRequest: () => import_talk_api_pb4.CreatePhoneCallRequest,
|
|
62967
|
+
CreatePhoneCallResponse: () => import_talk_api_pb4.CreatePhoneCallResponse,
|
|
62771
62968
|
CreateProject: () => CreateProject,
|
|
62772
62969
|
CreateProjectCredential: () => CreateProjectCredential,
|
|
62773
62970
|
CreateProjectCredentialRequest: () => import_web_api_pb4.CreateProjectCredentialRequest,
|
|
@@ -62780,7 +62977,7 @@ __export(index_exports, {
|
|
|
62780
62977
|
CreateToolCredentialRequest: () => import_vault_api_pb2.CreateToolCredentialRequest,
|
|
62781
62978
|
CreateWebhook: () => CreateWebhook,
|
|
62782
62979
|
Credential: () => import_integration_api_pb.Credential,
|
|
62783
|
-
Criteria: () =>
|
|
62980
|
+
Criteria: () => import_common_pb19.Criteria,
|
|
62784
62981
|
DEBUGGER_SOURCE: () => DEBUGGER_SOURCE,
|
|
62785
62982
|
DeepInfraService: () => import_integration_api_pb_service.DeepInfraService,
|
|
62786
62983
|
DeepInfraServiceClient: () => import_integration_api_pb_service.DeepInfraServiceClient,
|
|
@@ -62817,16 +63014,16 @@ __export(index_exports, {
|
|
|
62817
63014
|
EndpointRetryConfiguration: () => import_endpoint_api_pb2.EndpointRetryConfiguration,
|
|
62818
63015
|
EndpointService: () => import_endpoint_api_pb_service2.EndpointService,
|
|
62819
63016
|
EndpointServiceClient: () => import_endpoint_api_pb_service2.EndpointServiceClient,
|
|
62820
|
-
Error: () =>
|
|
63017
|
+
Error: () => import_common_pb19.Error,
|
|
62821
63018
|
FeaturePermission: () => import_web_api_pb4.FeaturePermission,
|
|
62822
63019
|
Feedback: () => Feedback,
|
|
62823
|
-
FieldSelector: () =>
|
|
63020
|
+
FieldSelector: () => import_common_pb19.FieldSelector,
|
|
62824
63021
|
FloatToAny: () => FloatToAny,
|
|
62825
63022
|
ForgotPassword: () => ForgotPassword,
|
|
62826
63023
|
ForgotPasswordRequest: () => import_web_api_pb4.ForgotPasswordRequest,
|
|
62827
63024
|
ForgotPasswordResponse: () => import_web_api_pb4.ForgotPasswordResponse,
|
|
62828
63025
|
ForkEndpointRequest: () => import_endpoint_api_pb2.ForkEndpointRequest,
|
|
62829
|
-
FunctionCall: () =>
|
|
63026
|
+
FunctionCall: () => import_common_pb19.FunctionCall,
|
|
62830
63027
|
FunctionDefinition: () => import_integration_api_pb.FunctionDefinition,
|
|
62831
63028
|
FunctionParameter: () => import_integration_api_pb.FunctionParameter,
|
|
62832
63029
|
FunctionParameterProperty: () => import_integration_api_pb.FunctionParameterProperty,
|
|
@@ -62841,8 +63038,8 @@ __export(index_exports, {
|
|
|
62841
63038
|
GetAllAssistantAnalysisResponse: () => import_assistant_analysis_pb2.GetAllAssistantAnalysisResponse,
|
|
62842
63039
|
GetAllAssistantConversation: () => GetAllAssistantConversation,
|
|
62843
63040
|
GetAllAssistantConversationMessage: () => GetAllAssistantConversationMessage,
|
|
62844
|
-
GetAllAssistantConversationRequest: () =>
|
|
62845
|
-
GetAllAssistantConversationResponse: () =>
|
|
63041
|
+
GetAllAssistantConversationRequest: () => import_common_pb19.GetAllAssistantConversationRequest,
|
|
63042
|
+
GetAllAssistantConversationResponse: () => import_common_pb19.GetAllAssistantConversationResponse,
|
|
62846
63043
|
GetAllAssistantKnowledge: () => GetAllAssistantKnowledge,
|
|
62847
63044
|
GetAllAssistantKnowledgeRequest: () => import_assistant_knowledge_pb2.GetAllAssistantKnowledgeRequest,
|
|
62848
63045
|
GetAllAssistantKnowledgeResponse: () => import_assistant_knowledge_pb2.GetAllAssistantKnowledgeResponse,
|
|
@@ -62869,8 +63066,8 @@ __export(index_exports, {
|
|
|
62869
63066
|
GetAllAssistantWebhookResponse: () => import_assistant_webhook_pb2.GetAllAssistantWebhookResponse,
|
|
62870
63067
|
GetAllAuditLogRequest: () => import_audit_logging_api_pb2.GetAllAuditLogRequest,
|
|
62871
63068
|
GetAllAuditLogResponse: () => import_audit_logging_api_pb2.GetAllAuditLogResponse,
|
|
62872
|
-
GetAllConversationMessageRequest: () =>
|
|
62873
|
-
GetAllConversationMessageResponse: () =>
|
|
63069
|
+
GetAllConversationMessageRequest: () => import_common_pb19.GetAllConversationMessageRequest,
|
|
63070
|
+
GetAllConversationMessageResponse: () => import_common_pb19.GetAllConversationMessageResponse,
|
|
62874
63071
|
GetAllDeployment: () => GetAllDeployment,
|
|
62875
63072
|
GetAllDeploymentRequest: () => import_marketplace_api_pb2.GetAllDeploymentRequest,
|
|
62876
63073
|
GetAllDeploymentResponse: () => import_marketplace_api_pb2.GetAllDeploymentResponse,
|
|
@@ -63028,7 +63225,7 @@ __export(index_exports, {
|
|
|
63028
63225
|
InvokeRequest: () => import_invoker_api_pb.InvokeRequest,
|
|
63029
63226
|
InvokeResponse: () => import_invoker_api_pb.InvokeResponse,
|
|
63030
63227
|
JSONToAny: () => JSONToAny,
|
|
63031
|
-
Knowledge: () =>
|
|
63228
|
+
Knowledge: () => import_common_pb19.Knowledge,
|
|
63032
63229
|
KnowledgeConnect: () => KnowledgeConnect,
|
|
63033
63230
|
KnowledgeConnectRequest: () => import_connect_api_pb2.KnowledgeConnectRequest,
|
|
63034
63231
|
KnowledgeConnectResponse: () => import_connect_api_pb2.KnowledgeConnectResponse,
|
|
@@ -63044,24 +63241,24 @@ __export(index_exports, {
|
|
|
63044
63241
|
MediaDeviceFailure: () => MediaDeviceFailure,
|
|
63045
63242
|
MessageRole: () => MessageRole,
|
|
63046
63243
|
MessageStatus: () => MessageStatus,
|
|
63047
|
-
Metadata: () =>
|
|
63048
|
-
Metric: () =>
|
|
63244
|
+
Metadata: () => import_common_pb19.Metadata,
|
|
63245
|
+
Metric: () => import_common_pb19.Metric,
|
|
63049
63246
|
MistralService: () => import_integration_api_pb_service.MistralService,
|
|
63050
63247
|
MistralServiceClient: () => import_integration_api_pb_service.MistralServiceClient,
|
|
63051
63248
|
Moderation: () => import_integration_api_pb.Moderation,
|
|
63052
63249
|
MultibandAudioVisualizerComponent: () => MultibandAudioVisualizerComponent,
|
|
63053
63250
|
OpenAiService: () => import_integration_api_pb_service.OpenAiService,
|
|
63054
63251
|
OpenAiServiceClient: () => import_integration_api_pb_service.OpenAiServiceClient,
|
|
63055
|
-
Ordering: () =>
|
|
63056
|
-
Organization: () =>
|
|
63252
|
+
Ordering: () => import_common_pb19.Ordering,
|
|
63253
|
+
Organization: () => import_common_pb19.Organization,
|
|
63057
63254
|
OrganizationError: () => import_web_api_pb4.OrganizationError,
|
|
63058
63255
|
OrganizationRole: () => import_web_api_pb4.OrganizationRole,
|
|
63059
63256
|
OrganizationService: () => import_web_api_pb_service4.OrganizationService,
|
|
63060
63257
|
OrganizationServiceClient: () => import_web_api_pb_service4.OrganizationServiceClient,
|
|
63061
63258
|
OutputOptions: () => OutputOptions,
|
|
63062
63259
|
PHONE_CALL_SOURCE: () => PHONE_CALL_SOURCE,
|
|
63063
|
-
Paginate: () =>
|
|
63064
|
-
Paginated: () =>
|
|
63260
|
+
Paginate: () => import_common_pb19.Paginate,
|
|
63261
|
+
Paginated: () => import_common_pb19.Paginated,
|
|
63065
63262
|
ProbeRequest: () => import_invoker_api_pb.ProbeRequest,
|
|
63066
63263
|
ProbeResponse: () => import_invoker_api_pb.ProbeResponse,
|
|
63067
63264
|
Project: () => import_web_api_pb4.Project,
|
|
@@ -63069,8 +63266,8 @@ __export(index_exports, {
|
|
|
63069
63266
|
ProjectRole: () => import_web_api_pb4.ProjectRole,
|
|
63070
63267
|
ProjectService: () => import_web_api_pb_service4.ProjectService,
|
|
63071
63268
|
ProjectServiceClient: () => import_web_api_pb_service4.ProjectServiceClient,
|
|
63072
|
-
ProtoMessage: () =>
|
|
63073
|
-
Provider: () =>
|
|
63269
|
+
ProtoMessage: () => import_common_pb19.Message,
|
|
63270
|
+
Provider: () => import_common_pb19.Provider,
|
|
63074
63271
|
ProviderService: () => import_provider_api_pb_service2.ProviderService,
|
|
63075
63272
|
ProviderServiceClient: () => import_provider_api_pb_service2.ProviderServiceClient,
|
|
63076
63273
|
RegisterUser: () => RegisterUser,
|
|
@@ -63094,16 +63291,16 @@ __export(index_exports, {
|
|
|
63094
63291
|
StabilityAiServiceClient: () => import_integration_api_pb_service.StabilityAiServiceClient,
|
|
63095
63292
|
StringArrayToAny: () => StringArrayToAny,
|
|
63096
63293
|
StringToAny: () => StringToAny,
|
|
63097
|
-
Tag: () =>
|
|
63294
|
+
Tag: () => import_common_pb19.Tag,
|
|
63098
63295
|
TalkService: () => import_talk_api_pb_service2.TalkService,
|
|
63099
63296
|
TalkServiceClient: () => import_talk_api_pb_service2.TalkServiceClient,
|
|
63100
|
-
Telemetry: () =>
|
|
63101
|
-
TextChatCompletePrompt: () =>
|
|
63102
|
-
TextPrompt: () =>
|
|
63297
|
+
Telemetry: () => import_common_pb19.Telemetry,
|
|
63298
|
+
TextChatCompletePrompt: () => import_common_pb19.TextChatCompletePrompt,
|
|
63299
|
+
TextPrompt: () => import_common_pb19.TextPrompt,
|
|
63103
63300
|
TogetherAiService: () => import_integration_api_pb_service.TogetherAiService,
|
|
63104
63301
|
TogetherAiServiceClient: () => import_integration_api_pb_service.TogetherAiServiceClient,
|
|
63105
63302
|
Token: () => import_web_api_pb4.Token,
|
|
63106
|
-
ToolCall: () =>
|
|
63303
|
+
ToolCall: () => import_common_pb19.ToolCall,
|
|
63107
63304
|
ToolDefinition: () => import_integration_api_pb.ToolDefinition,
|
|
63108
63305
|
ToolProvider: () => import_provider_api_pb2.ToolProvider,
|
|
63109
63306
|
UpdateAnalysis: () => UpdateAnalysis,
|
|
@@ -63139,8 +63336,8 @@ __export(index_exports, {
|
|
|
63139
63336
|
UpdateUserRequest: () => import_web_api_pb4.UpdateUserRequest,
|
|
63140
63337
|
UpdateUserResponse: () => import_web_api_pb4.UpdateUserResponse,
|
|
63141
63338
|
UpdateWebhook: () => UpdateWebhook,
|
|
63142
|
-
User: () =>
|
|
63143
|
-
Variable: () =>
|
|
63339
|
+
User: () => import_common_pb19.User,
|
|
63340
|
+
Variable: () => import_common_pb19.Variable,
|
|
63144
63341
|
VaultCredential: () => import_vault_api_pb2.VaultCredential,
|
|
63145
63342
|
VaultService: () => import_vault_api_pb_service2.VaultService,
|
|
63146
63343
|
VaultServiceClient: () => import_vault_api_pb_service2.VaultServiceClient,
|
|
@@ -63483,7 +63680,7 @@ var DeviceManager = class _DeviceManager {
|
|
|
63483
63680
|
};
|
|
63484
63681
|
|
|
63485
63682
|
// src/agents/voice-agent.ts
|
|
63486
|
-
var
|
|
63683
|
+
var import_talk_api_pb2 = __toESM(require_talk_api_pb());
|
|
63487
63684
|
|
|
63488
63685
|
// src/types/agent-event.ts
|
|
63489
63686
|
var AgentEvent = /* @__PURE__ */ ((AgentEvent2) => {
|
|
@@ -63498,6 +63695,9 @@ var AgentEvent = /* @__PURE__ */ ((AgentEvent2) => {
|
|
|
63498
63695
|
return AgentEvent2;
|
|
63499
63696
|
})(AgentEvent || {});
|
|
63500
63697
|
|
|
63698
|
+
// src/agents/voice-agent.ts
|
|
63699
|
+
var import_common_pb9 = __toESM(require_common_pb());
|
|
63700
|
+
|
|
63501
63701
|
// src/types/message.ts
|
|
63502
63702
|
var MessageRole = /* @__PURE__ */ ((MessageRole2) => {
|
|
63503
63703
|
MessageRole2["System"] = "system";
|
|
@@ -64397,7 +64597,7 @@ function GetAllAssistantToolLog(clientCfg, request, auth) {
|
|
|
64397
64597
|
}
|
|
64398
64598
|
|
|
64399
64599
|
// src/agents/index.ts
|
|
64400
|
-
var
|
|
64600
|
+
var import_common_pb6 = __toESM(require_common_pb());
|
|
64401
64601
|
var Agent = class extends import_events.EventEmitter {
|
|
64402
64602
|
// Connection and State Management
|
|
64403
64603
|
connectionState = "disconnected" /* Disconnected */;
|
|
@@ -64628,8 +64828,8 @@ var Agent = class extends import_events.EventEmitter {
|
|
|
64628
64828
|
*/
|
|
64629
64829
|
createAssistantTextMessage(content) {
|
|
64630
64830
|
const request = new import_talk_api_pb.AssistantMessagingRequest();
|
|
64631
|
-
const userMessage = new
|
|
64632
|
-
const message = new
|
|
64831
|
+
const userMessage = new import_common_pb6.AssistantConversationUserMessage();
|
|
64832
|
+
const message = new import_common_pb6.AssistantConversationMessageTextContent();
|
|
64633
64833
|
message.setContent(content);
|
|
64634
64834
|
userMessage.setText(message);
|
|
64635
64835
|
request.setMessage(userMessage);
|
|
@@ -64642,8 +64842,8 @@ var Agent = class extends import_events.EventEmitter {
|
|
|
64642
64842
|
*/
|
|
64643
64843
|
createAssistantAudioMessage(content) {
|
|
64644
64844
|
const request = new import_talk_api_pb.AssistantMessagingRequest();
|
|
64645
|
-
const userMessage = new
|
|
64646
|
-
const message = new
|
|
64845
|
+
const userMessage = new import_common_pb6.AssistantConversationUserMessage();
|
|
64846
|
+
const message = new import_common_pb6.AssistantConversationMessageAudioContent();
|
|
64647
64847
|
message.setContent(content);
|
|
64648
64848
|
userMessage.setAudio(message);
|
|
64649
64849
|
request.setMessage(userMessage);
|
|
@@ -64680,7 +64880,7 @@ var Agent = class extends import_events.EventEmitter {
|
|
|
64680
64880
|
*/
|
|
64681
64881
|
_createAssistantConfigureRequest(definition, args, metadatas, options) {
|
|
64682
64882
|
const request = new import_talk_api_pb.AssistantMessagingRequest();
|
|
64683
|
-
const assistantConfiguration = new
|
|
64883
|
+
const assistantConfiguration = new import_common_pb6.AssistantConversationConfiguration();
|
|
64684
64884
|
if (this._conversationId) {
|
|
64685
64885
|
assistantConfiguration.setAssistantconversationid(this._conversationId);
|
|
64686
64886
|
}
|
|
@@ -65177,14 +65377,14 @@ function arrayBufferToUint8(arrayBuffer) {
|
|
|
65177
65377
|
}
|
|
65178
65378
|
|
|
65179
65379
|
// src/types/agent-callback.ts
|
|
65180
|
-
var
|
|
65380
|
+
var import_common_pb8 = __toESM(require_common_pb());
|
|
65181
65381
|
|
|
65182
65382
|
// src/utils/rapida_content.ts
|
|
65183
|
-
var
|
|
65383
|
+
var import_common_pb7 = __toESM(require_common_pb());
|
|
65184
65384
|
var TEXT_CONTENT_FORMAT_RAW = "raw";
|
|
65185
65385
|
var AUDIO_CONTENT_FORMAT_CHUNK = "chunk";
|
|
65186
65386
|
var toTextContent = (str, format) => {
|
|
65187
|
-
const cnt = new
|
|
65387
|
+
const cnt = new import_common_pb7.Content();
|
|
65188
65388
|
if (format) cnt.setContentformat(format);
|
|
65189
65389
|
else cnt.setContentformat(TEXT_CONTENT_FORMAT_RAW);
|
|
65190
65390
|
cnt.setContenttype("text" /* TEXT_CONTENT */);
|
|
@@ -65192,7 +65392,7 @@ var toTextContent = (str, format) => {
|
|
|
65192
65392
|
return cnt;
|
|
65193
65393
|
};
|
|
65194
65394
|
var toStreamAudioContent = (raw) => {
|
|
65195
|
-
const cnt = new
|
|
65395
|
+
const cnt = new import_common_pb7.Content();
|
|
65196
65396
|
cnt.setContentformat(AUDIO_CONTENT_FORMAT_CHUNK);
|
|
65197
65397
|
cnt.setContenttype("audio" /* AUDIO_CONTENT */);
|
|
65198
65398
|
cnt.setContent(raw);
|
|
@@ -65215,9 +65415,9 @@ var ConversationUserMessage = class {
|
|
|
65215
65415
|
if (config) {
|
|
65216
65416
|
Object.assign(this, config.toObject());
|
|
65217
65417
|
switch (config.getMessageCase()) {
|
|
65218
|
-
case
|
|
65219
|
-
case
|
|
65220
|
-
case
|
|
65418
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
|
|
65419
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
|
|
65420
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
|
|
65221
65421
|
this.messageText = config.getText()?.getContent();
|
|
65222
65422
|
}
|
|
65223
65423
|
}
|
|
@@ -65228,9 +65428,9 @@ var ConversationAssistantMessage = class {
|
|
|
65228
65428
|
if (config) {
|
|
65229
65429
|
Object.assign(this, config.toObject());
|
|
65230
65430
|
switch (config.getMessageCase()) {
|
|
65231
|
-
case
|
|
65232
|
-
case
|
|
65233
|
-
case
|
|
65431
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
|
|
65432
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
|
|
65433
|
+
case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
|
|
65234
65434
|
this.messageText = config.getText()?.getContent();
|
|
65235
65435
|
}
|
|
65236
65436
|
}
|
|
@@ -65497,13 +65697,13 @@ var VoiceAgent = class extends Agent {
|
|
|
65497
65697
|
onHandleInterruption = (interruptionData) => {
|
|
65498
65698
|
if (interruptionData) {
|
|
65499
65699
|
switch (interruptionData.getType()) {
|
|
65500
|
-
case
|
|
65700
|
+
case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_UNSPECIFIED:
|
|
65501
65701
|
console.log("Unspecified interruption type");
|
|
65502
65702
|
break;
|
|
65503
|
-
case
|
|
65703
|
+
case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_VAD:
|
|
65504
65704
|
this.fadeOutAudio();
|
|
65505
65705
|
break;
|
|
65506
|
-
case
|
|
65706
|
+
case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_WORD:
|
|
65507
65707
|
if (this.agentMessages.length > 0) {
|
|
65508
65708
|
const lastIndex = this.agentMessages.length - 1;
|
|
65509
65709
|
this.agentMessages[lastIndex] = {
|
|
@@ -65518,7 +65718,7 @@ var VoiceAgent = class extends Agent {
|
|
|
65518
65718
|
}
|
|
65519
65719
|
this.emit(
|
|
65520
65720
|
"onConversationEvent" /* ConversationEvent */,
|
|
65521
|
-
|
|
65721
|
+
import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION,
|
|
65522
65722
|
interruptionData
|
|
65523
65723
|
);
|
|
65524
65724
|
}
|
|
@@ -65526,9 +65726,9 @@ var VoiceAgent = class extends Agent {
|
|
|
65526
65726
|
onHandleUser = (userContent) => {
|
|
65527
65727
|
if (userContent) {
|
|
65528
65728
|
switch (userContent.getMessageCase()) {
|
|
65529
|
-
case
|
|
65530
|
-
case
|
|
65531
|
-
case
|
|
65729
|
+
case import_common_pb9.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
|
|
65730
|
+
case import_common_pb9.AssistantConversationUserMessage.MessageCase.AUDIO:
|
|
65731
|
+
case import_common_pb9.AssistantConversationUserMessage.MessageCase.TEXT:
|
|
65532
65732
|
const agentTranscript = userContent.getText()?.getContent();
|
|
65533
65733
|
if (agentTranscript) {
|
|
65534
65734
|
if (this.agentMessages.length > 0) {
|
|
@@ -65548,7 +65748,7 @@ var VoiceAgent = class extends Agent {
|
|
|
65548
65748
|
}
|
|
65549
65749
|
this.emit(
|
|
65550
65750
|
"onConversationEvent" /* ConversationEvent */,
|
|
65551
|
-
|
|
65751
|
+
import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER,
|
|
65552
65752
|
userContent
|
|
65553
65753
|
);
|
|
65554
65754
|
}
|
|
@@ -65556,14 +65756,14 @@ var VoiceAgent = class extends Agent {
|
|
|
65556
65756
|
onHandleAssistant = (systemContent) => {
|
|
65557
65757
|
if (systemContent) {
|
|
65558
65758
|
switch (systemContent.getMessageCase()) {
|
|
65559
|
-
case
|
|
65560
|
-
case
|
|
65759
|
+
case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.MESSAGE_NOT_SET:
|
|
65760
|
+
case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.AUDIO:
|
|
65561
65761
|
const content = systemContent.getAudio();
|
|
65562
65762
|
if (content) {
|
|
65563
65763
|
const audioData = content.getContent_asU8();
|
|
65564
65764
|
this.addAudioChunk(new Uint8Array(audioData).buffer);
|
|
65565
65765
|
}
|
|
65566
|
-
case
|
|
65766
|
+
case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.TEXT:
|
|
65567
65767
|
const systemTranscript = systemContent.getText()?.getContent();
|
|
65568
65768
|
if (systemTranscript) {
|
|
65569
65769
|
if (systemContent.getCompleted()) {
|
|
@@ -65620,7 +65820,7 @@ var VoiceAgent = class extends Agent {
|
|
|
65620
65820
|
}
|
|
65621
65821
|
this.emit(
|
|
65622
65822
|
"onConversationEvent" /* ConversationEvent */,
|
|
65623
|
-
|
|
65823
|
+
import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT,
|
|
65624
65824
|
systemContent
|
|
65625
65825
|
);
|
|
65626
65826
|
}
|
|
@@ -65632,22 +65832,22 @@ var VoiceAgent = class extends Agent {
|
|
|
65632
65832
|
*/
|
|
65633
65833
|
onRecieve = async (response) => {
|
|
65634
65834
|
switch (response.getDataCase()) {
|
|
65635
|
-
case
|
|
65835
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
|
|
65636
65836
|
break;
|
|
65637
|
-
case
|
|
65837
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
|
|
65638
65838
|
this.onHandleInterruption(response.getInterruption());
|
|
65639
65839
|
break;
|
|
65640
|
-
case
|
|
65840
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
|
|
65641
65841
|
this.onHandleUser(response.getUser());
|
|
65642
65842
|
break;
|
|
65643
|
-
case
|
|
65843
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
|
|
65644
65844
|
this.onHandleAssistant(response.getAssistant());
|
|
65645
65845
|
break;
|
|
65646
|
-
case
|
|
65846
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
|
|
65647
65847
|
const conversation = response.getConfiguration();
|
|
65648
65848
|
if (!conversation?.getAssistantconversationid()) return;
|
|
65649
65849
|
break;
|
|
65650
|
-
case
|
|
65850
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
|
|
65651
65851
|
break;
|
|
65652
65852
|
default:
|
|
65653
65853
|
break;
|
|
@@ -65660,39 +65860,39 @@ var VoiceAgent = class extends Agent {
|
|
|
65660
65860
|
onCallback = async (response) => {
|
|
65661
65861
|
for (const agentCallback of this.agentCallbacks) {
|
|
65662
65862
|
switch (response.getDataCase()) {
|
|
65663
|
-
case
|
|
65863
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
|
|
65664
65864
|
break;
|
|
65665
|
-
case
|
|
65865
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.APIREQUESTACTION:
|
|
65666
65866
|
if (agentCallback && agentCallback?.onAction) {
|
|
65667
65867
|
agentCallback.onAction(response.getApirequestaction()?.toObject());
|
|
65668
65868
|
}
|
|
65669
65869
|
break;
|
|
65670
|
-
case
|
|
65870
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DISCONNECTACTION:
|
|
65671
65871
|
if (agentCallback && agentCallback?.onAction) {
|
|
65672
65872
|
agentCallback.onAction(response.getDisconnectaction()?.toObject());
|
|
65673
65873
|
}
|
|
65674
65874
|
await this.disconnect();
|
|
65675
65875
|
break;
|
|
65676
|
-
case
|
|
65876
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
|
|
65677
65877
|
if (agentCallback && agentCallback?.onInterrupt) {
|
|
65678
65878
|
agentCallback.onInterrupt(response.getInterruption()?.toObject());
|
|
65679
65879
|
}
|
|
65680
65880
|
break;
|
|
65681
|
-
case
|
|
65881
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
|
|
65682
65882
|
if (agentCallback && agentCallback?.onUserMessage) {
|
|
65683
65883
|
agentCallback.onUserMessage(
|
|
65684
65884
|
new ConversationUserMessage(response.getUser())
|
|
65685
65885
|
);
|
|
65686
65886
|
}
|
|
65687
65887
|
break;
|
|
65688
|
-
case
|
|
65888
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
|
|
65689
65889
|
if (agentCallback && agentCallback?.onAssistantMessage) {
|
|
65690
65890
|
agentCallback.onAssistantMessage(
|
|
65691
65891
|
new ConversationAssistantMessage(response.getAssistant())
|
|
65692
65892
|
);
|
|
65693
65893
|
}
|
|
65694
65894
|
break;
|
|
65695
|
-
case
|
|
65895
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
|
|
65696
65896
|
if (agentCallback && agentCallback?.onConfiguration) {
|
|
65697
65897
|
agentCallback.onConfiguration(
|
|
65698
65898
|
response.getConfiguration()?.toObject()
|
|
@@ -65701,7 +65901,7 @@ var VoiceAgent = class extends Agent {
|
|
|
65701
65901
|
const cnvId = response.getConfiguration()?.getAssistantconversationid();
|
|
65702
65902
|
if (cnvId) this.changeConversation(cnvId);
|
|
65703
65903
|
break;
|
|
65704
|
-
case
|
|
65904
|
+
case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
|
|
65705
65905
|
if (agentCallback && agentCallback?.onMessage) {
|
|
65706
65906
|
agentCallback.onMessage(
|
|
65707
65907
|
new ConversationMessage(response.getMessage())
|
|
@@ -65743,6 +65943,23 @@ var VoiceAgent = class extends Agent {
|
|
|
65743
65943
|
};
|
|
65744
65944
|
};
|
|
65745
65945
|
|
|
65946
|
+
// src/index.ts
|
|
65947
|
+
var import_lead_api_pb = __toESM(require_lead_api_pb());
|
|
65948
|
+
|
|
65949
|
+
// src/clients/lead.ts
|
|
65950
|
+
function CreateLead(clientCfg, request, auth) {
|
|
65951
|
+
return new Promise((resolve, reject) => {
|
|
65952
|
+
clientCfg.leadGeneratorClient.createLead(
|
|
65953
|
+
request,
|
|
65954
|
+
WithAuthContext(clientCfg.auth || auth),
|
|
65955
|
+
(err, response) => {
|
|
65956
|
+
if (err) reject(err);
|
|
65957
|
+
else resolve(response);
|
|
65958
|
+
}
|
|
65959
|
+
);
|
|
65960
|
+
});
|
|
65961
|
+
}
|
|
65962
|
+
|
|
65746
65963
|
// src/hooks/use-message-feedback.ts
|
|
65747
65964
|
var React = __toESM(require("react"));
|
|
65748
65965
|
function useMessageFeedback(agent) {
|
|
@@ -66063,7 +66280,7 @@ var MediaDeviceFailure = /* @__PURE__ */ ((MediaDeviceFailure2) => {
|
|
|
66063
66280
|
})(MediaDeviceFailure || {});
|
|
66064
66281
|
|
|
66065
66282
|
// src/types/agent-config.ts
|
|
66066
|
-
var
|
|
66283
|
+
var import_common_pb10 = __toESM(require_common_pb());
|
|
66067
66284
|
|
|
66068
66285
|
// src/utils/rapida_value.ts
|
|
66069
66286
|
var import_any_pb = require("google-protobuf/google/protobuf/any_pb");
|
|
@@ -66297,7 +66514,7 @@ var AgentConfig = class {
|
|
|
66297
66514
|
* @returns {AssistantDefinition} A configured `AssistantDefinition` instance with the agent's details.
|
|
66298
66515
|
*/
|
|
66299
66516
|
get definition() {
|
|
66300
|
-
const def = new
|
|
66517
|
+
const def = new import_common_pb10.AssistantDefinition();
|
|
66301
66518
|
def.setAssistantid(this.id);
|
|
66302
66519
|
if (this.version) {
|
|
66303
66520
|
def.setVersion(this.version);
|
|
@@ -66523,6 +66740,7 @@ function fromStr(label) {
|
|
|
66523
66740
|
}
|
|
66524
66741
|
|
|
66525
66742
|
// src/types/connection-config.ts
|
|
66743
|
+
var import_lead_api_pb_service = __toESM(require_lead_api_pb_service());
|
|
66526
66744
|
var ConnectionConfig = class _ConnectionConfig {
|
|
66527
66745
|
/**
|
|
66528
66746
|
* an utils for debugger credentials
|
|
@@ -66630,6 +66848,12 @@ var ConnectionConfig = class _ConnectionConfig {
|
|
|
66630
66848
|
this.getClientOptions()
|
|
66631
66849
|
);
|
|
66632
66850
|
}
|
|
66851
|
+
get leadGeneratorClient() {
|
|
66852
|
+
return new import_lead_api_pb_service.LeadGeneratorServiceClient(
|
|
66853
|
+
this.endpoint.web,
|
|
66854
|
+
this.getClientOptions()
|
|
66855
|
+
);
|
|
66856
|
+
}
|
|
66633
66857
|
get projectClient() {
|
|
66634
66858
|
return new import_web_api_pb_service.ProjectServiceClient(this.endpoint.web, this.getClientOptions());
|
|
66635
66859
|
}
|
|
@@ -66849,13 +67073,13 @@ function IndexKnowledgeDocument(client, knowledgeId, knowledgeDocumentIds, index
|
|
|
66849
67073
|
}
|
|
66850
67074
|
|
|
66851
67075
|
// src/clients/marketplace.ts
|
|
66852
|
-
var
|
|
67076
|
+
var import_common_pb11 = __toESM(require_common_pb());
|
|
66853
67077
|
var import_marketplace_api_pb = __toESM(require_marketplace_api_pb());
|
|
66854
67078
|
function GetAllDeployment(client, page, pageSize, criteria, cb, authHeader) {
|
|
66855
67079
|
const req = new import_marketplace_api_pb.GetAllDeploymentRequest();
|
|
66856
|
-
const paginate = new
|
|
67080
|
+
const paginate = new import_common_pb11.Paginate();
|
|
66857
67081
|
criteria.forEach(({ key, value, logic }) => {
|
|
66858
|
-
const ctr = new
|
|
67082
|
+
const ctr = new import_common_pb11.Criteria();
|
|
66859
67083
|
ctr.setKey(key);
|
|
66860
67084
|
ctr.setValue(value);
|
|
66861
67085
|
ctr.setLogic(logic);
|
|
@@ -66887,7 +67111,7 @@ function Invoke(clientCfg, request, authHeader) {
|
|
|
66887
67111
|
|
|
66888
67112
|
// src/clients/auth.ts
|
|
66889
67113
|
var import_web_api_pb = __toESM(require_web_api_pb());
|
|
66890
|
-
var
|
|
67114
|
+
var import_common_pb12 = __toESM(require_common_pb());
|
|
66891
67115
|
function AuthenticateUser(config, email, password, cb) {
|
|
66892
67116
|
const requestObject = new import_web_api_pb.AuthenticateRequest();
|
|
66893
67117
|
requestObject.setEmail(email);
|
|
@@ -66943,9 +67167,9 @@ function UpdateUser(config, cb, authHeader, name) {
|
|
|
66943
67167
|
}
|
|
66944
67168
|
function GetAllUser(config, page, pageSize, criteria, cb, authHeader) {
|
|
66945
67169
|
const req = new import_web_api_pb.GetAllUserRequest();
|
|
66946
|
-
const paginate = new
|
|
67170
|
+
const paginate = new import_common_pb12.Paginate();
|
|
66947
67171
|
criteria.forEach(({ key, value }) => {
|
|
66948
|
-
const ctr = new
|
|
67172
|
+
const ctr = new import_common_pb12.Criteria();
|
|
66949
67173
|
ctr.setKey(key);
|
|
66950
67174
|
ctr.setValue(value);
|
|
66951
67175
|
req.addCriterias(ctr);
|
|
@@ -66980,7 +67204,7 @@ function Github(config, cb, state, code) {
|
|
|
66980
67204
|
|
|
66981
67205
|
// src/clients/provider.ts
|
|
66982
67206
|
var import_provider_api_pb = __toESM(require_provider_api_pb());
|
|
66983
|
-
var
|
|
67207
|
+
var import_common_pb13 = __toESM(require_common_pb());
|
|
66984
67208
|
function GetAllProvider(connectionConfig, cb, authHeader) {
|
|
66985
67209
|
const request = new import_provider_api_pb.GetAllModelProviderRequest();
|
|
66986
67210
|
connectionConfig.providerClient.getAllModelProvider(
|
|
@@ -66991,9 +67215,9 @@ function GetAllProvider(connectionConfig, cb, authHeader) {
|
|
|
66991
67215
|
}
|
|
66992
67216
|
function GetAllToolProvider(connectionConfig, page, pageSize, criteria, cb, authHeader) {
|
|
66993
67217
|
const req = new import_provider_api_pb.GetAllToolProviderRequest();
|
|
66994
|
-
const paginate = new
|
|
67218
|
+
const paginate = new import_common_pb13.Paginate();
|
|
66995
67219
|
criteria.forEach((x) => {
|
|
66996
|
-
let ctr = new
|
|
67220
|
+
let ctr = new import_common_pb13.Criteria();
|
|
66997
67221
|
ctr.setKey(x.key);
|
|
66998
67222
|
ctr.setValue(x.value);
|
|
66999
67223
|
req.addCriterias(ctr);
|
|
@@ -67098,14 +67322,14 @@ function GetOrganization(connectionConfig, authHeader, cb) {
|
|
|
67098
67322
|
}
|
|
67099
67323
|
|
|
67100
67324
|
// src/clients/activity.ts
|
|
67101
|
-
var
|
|
67325
|
+
var import_common_pb14 = __toESM(require_common_pb());
|
|
67102
67326
|
var import_audit_logging_api_pb = __toESM(require_audit_logging_api_pb());
|
|
67103
67327
|
function GetActivities(connectionConfig, projectId, page, pageSize, criteria, cb, authHeader) {
|
|
67104
67328
|
const req = new import_audit_logging_api_pb.GetAllAuditLogRequest();
|
|
67105
67329
|
req.setProjectid(projectId);
|
|
67106
|
-
const paginate = new
|
|
67330
|
+
const paginate = new import_common_pb14.Paginate();
|
|
67107
67331
|
criteria.forEach(({ key, value, logic }) => {
|
|
67108
|
-
const ctr = new
|
|
67332
|
+
const ctr = new import_common_pb14.Criteria();
|
|
67109
67333
|
ctr.setKey(key);
|
|
67110
67334
|
ctr.setValue(value);
|
|
67111
67335
|
ctr.setLogic(logic);
|
|
@@ -67132,13 +67356,13 @@ function GetActivity(connectionConfig, projectId, auditId, cb, authHeader) {
|
|
|
67132
67356
|
}
|
|
67133
67357
|
|
|
67134
67358
|
// src/clients/endpoint.ts
|
|
67135
|
-
var
|
|
67359
|
+
var import_common_pb15 = __toESM(require_common_pb());
|
|
67136
67360
|
var import_endpoint_api_pb = __toESM(require_endpoint_api_pb());
|
|
67137
67361
|
function GetAllEndpoint(config, page, pageSize, criteria, cb, authHeader) {
|
|
67138
67362
|
const req = new import_endpoint_api_pb.GetAllEndpointRequest();
|
|
67139
|
-
const paginate = new
|
|
67363
|
+
const paginate = new import_common_pb15.Paginate();
|
|
67140
67364
|
criteria.forEach(({ key, value, logic }) => {
|
|
67141
|
-
const ctr = new
|
|
67365
|
+
const ctr = new import_common_pb15.Criteria();
|
|
67142
67366
|
ctr.setKey(key);
|
|
67143
67367
|
ctr.setValue(value);
|
|
67144
67368
|
ctr.setLogic(logic);
|
|
@@ -67166,9 +67390,9 @@ function UpdateEndpointVersion(config, endpointId, endpointProviderModelId, auth
|
|
|
67166
67390
|
function GetAllEndpointProviderModel(config, endpointId, page, pageSize, criteria, cb, authHeader) {
|
|
67167
67391
|
const req = new import_endpoint_api_pb.GetAllEndpointProviderModelRequest();
|
|
67168
67392
|
req.setEndpointid(endpointId);
|
|
67169
|
-
const paginate = new
|
|
67393
|
+
const paginate = new import_common_pb15.Paginate();
|
|
67170
67394
|
criteria.forEach(({ key, value }) => {
|
|
67171
|
-
const ctr = new
|
|
67395
|
+
const ctr = new import_common_pb15.Criteria();
|
|
67172
67396
|
ctr.setKey(key);
|
|
67173
67397
|
ctr.setValue(value);
|
|
67174
67398
|
req.addCriterias(ctr);
|
|
@@ -67271,9 +67495,9 @@ function CreateEndpointCacheConfiguration(config, endpointId, cacheType, expiryI
|
|
|
67271
67495
|
function GetAllEndpointLog(config, endpointId, page, pageSize, criteria, cb, authHeader) {
|
|
67272
67496
|
const req = new import_endpoint_api_pb.GetAllEndpointLogRequest();
|
|
67273
67497
|
req.setEndpointid(endpointId);
|
|
67274
|
-
const paginate = new
|
|
67498
|
+
const paginate = new import_common_pb15.Paginate();
|
|
67275
67499
|
criteria.forEach(({ key, value, logic }) => {
|
|
67276
|
-
const ctr = new
|
|
67500
|
+
const ctr = new import_common_pb15.Criteria();
|
|
67277
67501
|
ctr.setKey(key);
|
|
67278
67502
|
ctr.setValue(value);
|
|
67279
67503
|
ctr.setLogic(logic);
|
|
@@ -67301,19 +67525,19 @@ function GetEndpointLog(config, endpointId, logId, cb, authHeader) {
|
|
|
67301
67525
|
|
|
67302
67526
|
// src/clients/vault.ts
|
|
67303
67527
|
var import_vault_api_pb = __toESM(require_vault_api_pb());
|
|
67304
|
-
var
|
|
67528
|
+
var import_common_pb16 = __toESM(require_common_pb());
|
|
67305
67529
|
var import_struct_pb2 = require("google-protobuf/google/protobuf/struct_pb");
|
|
67306
|
-
function CreateProviderKey(connectionConfig,
|
|
67307
|
-
|
|
67308
|
-
|
|
67309
|
-
|
|
67310
|
-
|
|
67311
|
-
|
|
67312
|
-
|
|
67313
|
-
|
|
67314
|
-
|
|
67315
|
-
|
|
67316
|
-
);
|
|
67530
|
+
function CreateProviderKey(connectionConfig, req, authHeader) {
|
|
67531
|
+
return new Promise((resolve, reject) => {
|
|
67532
|
+
connectionConfig.vaultClient.createProviderCredential(
|
|
67533
|
+
req,
|
|
67534
|
+
WithAuthContext(connectionConfig.auth || authHeader),
|
|
67535
|
+
(err, response) => {
|
|
67536
|
+
if (err) reject(err);
|
|
67537
|
+
else resolve(response);
|
|
67538
|
+
}
|
|
67539
|
+
);
|
|
67540
|
+
});
|
|
67317
67541
|
}
|
|
67318
67542
|
function DeleteProviderKey(connectionConfig, providerKeyId, cb, authHeader) {
|
|
67319
67543
|
const requestObject = new import_vault_api_pb.DeleteCredentialRequest();
|
|
@@ -67326,9 +67550,9 @@ function DeleteProviderKey(connectionConfig, providerKeyId, cb, authHeader) {
|
|
|
67326
67550
|
}
|
|
67327
67551
|
function GetAllOrganizationCredential(connectionConfig, page, pageSize, criteria, cb, authHeader) {
|
|
67328
67552
|
const req = new import_vault_api_pb.GetAllOrganizationCredentialRequest();
|
|
67329
|
-
const paginate = new
|
|
67553
|
+
const paginate = new import_common_pb16.Paginate();
|
|
67330
67554
|
criteria.forEach((x) => {
|
|
67331
|
-
let ctr = new
|
|
67555
|
+
let ctr = new import_common_pb16.Criteria();
|
|
67332
67556
|
ctr.setKey(x.key);
|
|
67333
67557
|
ctr.setValue(x.value);
|
|
67334
67558
|
ctr.setLogic(x.logic);
|
|
@@ -67357,7 +67581,7 @@ function CreateToolCredential(connectionConfig, toolId, toolName, credential, na
|
|
|
67357
67581
|
}
|
|
67358
67582
|
|
|
67359
67583
|
// src/clients/knowledge.ts
|
|
67360
|
-
var
|
|
67584
|
+
var import_common_pb17 = __toESM(require_common_pb());
|
|
67361
67585
|
var import_knowledge_api_pb = __toESM(require_knowledge_api_pb());
|
|
67362
67586
|
var import_knowledge_api_pb2 = __toESM(require_knowledge_api_pb());
|
|
67363
67587
|
function CreateKnowledge(config, provider, name, description, tags, authHeader, cb) {
|
|
@@ -67385,9 +67609,9 @@ function GetKnowledgeBase(config, knowledgeBaseId, cb, authHeader) {
|
|
|
67385
67609
|
}
|
|
67386
67610
|
function GetAllKnowledgeBases(config, page, pageSize, criteria, cb, authHeader) {
|
|
67387
67611
|
const req = new import_knowledge_api_pb.GetAllKnowledgeRequest();
|
|
67388
|
-
const paginate = new
|
|
67612
|
+
const paginate = new import_common_pb17.Paginate();
|
|
67389
67613
|
criteria.forEach(({ key, value, logic }) => {
|
|
67390
|
-
const ctr = new
|
|
67614
|
+
const ctr = new import_common_pb17.Criteria();
|
|
67391
67615
|
ctr.setKey(key);
|
|
67392
67616
|
ctr.setValue(value);
|
|
67393
67617
|
ctr.setLogic(logic);
|
|
@@ -67429,9 +67653,9 @@ function CreateKnowledgeDocument(config, knowledgeId, documentSource, datasource
|
|
|
67429
67653
|
function GetAllKnowledgeDocument(config, knowledgeId, page, pageSize, criteria, cb, authHeader) {
|
|
67430
67654
|
const req = new import_knowledge_api_pb.GetAllKnowledgeDocumentRequest();
|
|
67431
67655
|
req.setKnowledgeid(knowledgeId);
|
|
67432
|
-
const paginate = new
|
|
67656
|
+
const paginate = new import_common_pb17.Paginate();
|
|
67433
67657
|
criteria.forEach(({ key, value }) => {
|
|
67434
|
-
const ctr = new
|
|
67658
|
+
const ctr = new import_common_pb17.Criteria();
|
|
67435
67659
|
ctr.setKey(key);
|
|
67436
67660
|
ctr.setValue(value);
|
|
67437
67661
|
req.addCriterias(ctr);
|
|
@@ -67448,9 +67672,9 @@ function GetAllKnowledgeDocument(config, knowledgeId, page, pageSize, criteria,
|
|
|
67448
67672
|
function GetAllKnowledgeDocumentSegment(config, knowledgeId, page, pageSize, criteria, cb, authHeader) {
|
|
67449
67673
|
const req = new import_knowledge_api_pb.GetAllKnowledgeDocumentSegmentRequest();
|
|
67450
67674
|
req.setKnowledgeid(knowledgeId);
|
|
67451
|
-
const paginate = new
|
|
67675
|
+
const paginate = new import_common_pb17.Paginate();
|
|
67452
67676
|
criteria.forEach(({ key, value }) => {
|
|
67453
|
-
const ctr = new
|
|
67677
|
+
const ctr = new import_common_pb17.Criteria();
|
|
67454
67678
|
ctr.setKey(key);
|
|
67455
67679
|
ctr.setValue(value);
|
|
67456
67680
|
req.addCriterias(ctr);
|
|
@@ -67543,7 +67767,7 @@ function GetAllKnowledgeLog(clientCfg, request, auth) {
|
|
|
67543
67767
|
|
|
67544
67768
|
// src/clients/project.ts
|
|
67545
67769
|
var import_web_api_pb3 = __toESM(require_web_api_pb());
|
|
67546
|
-
var
|
|
67770
|
+
var import_common_pb18 = __toESM(require_common_pb());
|
|
67547
67771
|
function AddUsersToProject(connectionConfig, email, role, projectIds, cb, authHeader) {
|
|
67548
67772
|
const requestObject = new import_web_api_pb3.AddUsersToProjectRequest();
|
|
67549
67773
|
requestObject.setEmail(email);
|
|
@@ -67579,9 +67803,9 @@ function UpdateProject(connectionConfig, projectId, cb, authHeader, projectName,
|
|
|
67579
67803
|
}
|
|
67580
67804
|
function GetAllProject(connectionConfig, page, pageSize, criteria, cb, authHeader) {
|
|
67581
67805
|
const req = new import_web_api_pb3.GetAllProjectRequest();
|
|
67582
|
-
const paginate = new
|
|
67806
|
+
const paginate = new import_common_pb18.Paginate();
|
|
67583
67807
|
criteria.forEach(({ key, value }) => {
|
|
67584
|
-
const ctr = new
|
|
67808
|
+
const ctr = new import_common_pb18.Criteria();
|
|
67585
67809
|
ctr.setKey(key);
|
|
67586
67810
|
ctr.setValue(value);
|
|
67587
67811
|
req.addCriterias(ctr);
|
|
@@ -67648,12 +67872,12 @@ var import_knowledge_api_pb_service2 = __toESM(require_knowledge_api_pb_service(
|
|
|
67648
67872
|
var import_provider_api_pb2 = __toESM(require_provider_api_pb());
|
|
67649
67873
|
var import_vault_api_pb2 = __toESM(require_vault_api_pb());
|
|
67650
67874
|
var import_provider_api_pb_service2 = __toESM(require_provider_api_pb_service());
|
|
67651
|
-
var
|
|
67875
|
+
var import_talk_api_pb3 = __toESM(require_talk_api_pb());
|
|
67652
67876
|
var import_assistant_analysis_pb2 = __toESM(require_assistant_analysis_pb());
|
|
67653
67877
|
var import_sendgrid_api_pb = __toESM(require_sendgrid_api_pb());
|
|
67654
67878
|
var import_invoker_api_pb = __toESM(require_invoker_api_pb());
|
|
67655
67879
|
var import_web_api_pb4 = __toESM(require_web_api_pb());
|
|
67656
|
-
var
|
|
67880
|
+
var import_common_pb19 = __toESM(require_common_pb());
|
|
67657
67881
|
var import_assistant_api_pb_service2 = __toESM(require_assistant_api_pb_service());
|
|
67658
67882
|
var import_talk_api_pb_service2 = __toESM(require_talk_api_pb_service());
|
|
67659
67883
|
var import_assistant_webhook_pb2 = __toESM(require_assistant_webhook_pb());
|
|
@@ -67697,7 +67921,7 @@ function CreateBulkPhoneCall(clientCfg, request, authHeader) {
|
|
|
67697
67921
|
}
|
|
67698
67922
|
|
|
67699
67923
|
// src/index.ts
|
|
67700
|
-
var
|
|
67924
|
+
var import_talk_api_pb4 = __toESM(require_talk_api_pb());
|
|
67701
67925
|
|
|
67702
67926
|
// src/styles/index.ts
|
|
67703
67927
|
var import_clsx = require("clsx");
|
|
@@ -68028,6 +68252,8 @@ var import_assistant_provider_pb2 = __toESM(require_assistant_provider_pb());
|
|
|
68028
68252
|
CreateKnowledgeResponse,
|
|
68029
68253
|
CreateKnowledgeTag,
|
|
68030
68254
|
CreateKnowledgeTagRequest,
|
|
68255
|
+
CreateLead,
|
|
68256
|
+
CreateLeadRequest,
|
|
68031
68257
|
CreateMessageMetric,
|
|
68032
68258
|
CreateMessageMetricRequest,
|
|
68033
68259
|
CreateMessageMetricResponse,
|