@rapidaai/react 1.1.41 → 1.1.43

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.
@@ -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);
@@ -67,7 +86,6 @@ var require_common_pb = __commonJS({
67
86
  goog.exportSymbol("proto.Organization", null, global);
68
87
  goog.exportSymbol("proto.Paginate", null, global);
69
88
  goog.exportSymbol("proto.Paginated", null, global);
70
- goog.exportSymbol("proto.Provider", null, global);
71
89
  goog.exportSymbol("proto.Source", null, global);
72
90
  goog.exportSymbol("proto.Tag", null, global);
73
91
  goog.exportSymbol("proto.Telemetry", null, global);
@@ -160,13 +178,6 @@ var require_common_pb = __commonJS({
160
178
  if (goog.DEBUG && !COMPILED) {
161
179
  proto.Variable.displayName = "proto.Variable";
162
180
  }
163
- proto.Provider = function(opt_data) {
164
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Provider.repeatedFields_, null);
165
- };
166
- goog.inherits(proto.Provider, jspb.Message);
167
- if (goog.DEBUG && !COMPILED) {
168
- proto.Provider.displayName = "proto.Provider";
169
- }
170
181
  proto.Tag = function(opt_data) {
171
182
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Tag.repeatedFields_, null);
172
183
  };
@@ -300,6 +311,104 @@ var require_common_pb = __commonJS({
300
311
  if (goog.DEBUG && !COMPILED) {
301
312
  proto.GetAllConversationMessageResponse.displayName = "proto.GetAllConversationMessageResponse";
302
313
  }
314
+ proto.AssistantConversationConfiguration = function(opt_data) {
315
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
316
+ };
317
+ goog.inherits(proto.AssistantConversationConfiguration, jspb.Message);
318
+ if (goog.DEBUG && !COMPILED) {
319
+ proto.AssistantConversationConfiguration.displayName = "proto.AssistantConversationConfiguration";
320
+ }
321
+ proto.AssistantConversationDisconnectAction = function(opt_data) {
322
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
323
+ };
324
+ goog.inherits(proto.AssistantConversationDisconnectAction, jspb.Message);
325
+ if (goog.DEBUG && !COMPILED) {
326
+ proto.AssistantConversationDisconnectAction.displayName = "proto.AssistantConversationDisconnectAction";
327
+ }
328
+ proto.AssistantConverstationHoldAction = function(opt_data) {
329
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
330
+ };
331
+ goog.inherits(proto.AssistantConverstationHoldAction, jspb.Message);
332
+ if (goog.DEBUG && !COMPILED) {
333
+ proto.AssistantConverstationHoldAction.displayName = "proto.AssistantConverstationHoldAction";
334
+ }
335
+ proto.AssistantConverstationKnowledgeRetrievalAction = function(opt_data) {
336
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
337
+ };
338
+ goog.inherits(proto.AssistantConverstationKnowledgeRetrievalAction, jspb.Message);
339
+ if (goog.DEBUG && !COMPILED) {
340
+ proto.AssistantConverstationKnowledgeRetrievalAction.displayName = "proto.AssistantConverstationKnowledgeRetrievalAction";
341
+ }
342
+ proto.AssistantConverstationApiRequestAction = function(opt_data) {
343
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
344
+ };
345
+ goog.inherits(proto.AssistantConverstationApiRequestAction, jspb.Message);
346
+ if (goog.DEBUG && !COMPILED) {
347
+ proto.AssistantConverstationApiRequestAction.displayName = "proto.AssistantConverstationApiRequestAction";
348
+ }
349
+ proto.AssistantConverstationEndpointAction = function(opt_data) {
350
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
351
+ };
352
+ goog.inherits(proto.AssistantConverstationEndpointAction, jspb.Message);
353
+ if (goog.DEBUG && !COMPILED) {
354
+ proto.AssistantConverstationEndpointAction.displayName = "proto.AssistantConverstationEndpointAction";
355
+ }
356
+ proto.AssistantConversationDeviationAction = function(opt_data) {
357
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
358
+ };
359
+ goog.inherits(proto.AssistantConversationDeviationAction, jspb.Message);
360
+ if (goog.DEBUG && !COMPILED) {
361
+ proto.AssistantConversationDeviationAction.displayName = "proto.AssistantConversationDeviationAction";
362
+ }
363
+ proto.AssistantConversationAssistantTransferAction = function(opt_data) {
364
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
365
+ };
366
+ goog.inherits(proto.AssistantConversationAssistantTransferAction, jspb.Message);
367
+ if (goog.DEBUG && !COMPILED) {
368
+ proto.AssistantConversationAssistantTransferAction.displayName = "proto.AssistantConversationAssistantTransferAction";
369
+ }
370
+ proto.AssistantConversationPhoneCallTransferAction = function(opt_data) {
371
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
372
+ };
373
+ goog.inherits(proto.AssistantConversationPhoneCallTransferAction, jspb.Message);
374
+ if (goog.DEBUG && !COMPILED) {
375
+ proto.AssistantConversationPhoneCallTransferAction.displayName = "proto.AssistantConversationPhoneCallTransferAction";
376
+ }
377
+ proto.AssistantConversationInterruption = function(opt_data) {
378
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
379
+ };
380
+ goog.inherits(proto.AssistantConversationInterruption, jspb.Message);
381
+ if (goog.DEBUG && !COMPILED) {
382
+ proto.AssistantConversationInterruption.displayName = "proto.AssistantConversationInterruption";
383
+ }
384
+ proto.AssistantConversationMessageTextContent = function(opt_data) {
385
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
386
+ };
387
+ goog.inherits(proto.AssistantConversationMessageTextContent, jspb.Message);
388
+ if (goog.DEBUG && !COMPILED) {
389
+ proto.AssistantConversationMessageTextContent.displayName = "proto.AssistantConversationMessageTextContent";
390
+ }
391
+ proto.AssistantConversationMessageAudioContent = function(opt_data) {
392
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
393
+ };
394
+ goog.inherits(proto.AssistantConversationMessageAudioContent, jspb.Message);
395
+ if (goog.DEBUG && !COMPILED) {
396
+ proto.AssistantConversationMessageAudioContent.displayName = "proto.AssistantConversationMessageAudioContent";
397
+ }
398
+ proto.AssistantConversationUserMessage = function(opt_data) {
399
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.AssistantConversationUserMessage.oneofGroups_);
400
+ };
401
+ goog.inherits(proto.AssistantConversationUserMessage, jspb.Message);
402
+ if (goog.DEBUG && !COMPILED) {
403
+ proto.AssistantConversationUserMessage.displayName = "proto.AssistantConversationUserMessage";
404
+ }
405
+ proto.AssistantConversationAssistantMessage = function(opt_data) {
406
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.AssistantConversationAssistantMessage.oneofGroups_);
407
+ };
408
+ goog.inherits(proto.AssistantConversationAssistantMessage, jspb.Message);
409
+ if (goog.DEBUG && !COMPILED) {
410
+ proto.AssistantConversationAssistantMessage.displayName = "proto.AssistantConversationAssistantMessage";
411
+ }
303
412
  if (jspb.Message.GENERATE_TO_OBJECT) {
304
413
  proto.FieldSelector.prototype.toObject = function(opt_includeInstance) {
305
414
  return proto.FieldSelector.toObject(opt_includeInstance, this);
@@ -1639,248 +1748,6 @@ var require_common_pb = __commonJS({
1639
1748
  proto.Variable.prototype.hasDefaultvalue = function() {
1640
1749
  return jspb.Message.getField(this, 4) != null;
1641
1750
  };
1642
- proto.Provider.repeatedFields_ = [9];
1643
- if (jspb.Message.GENERATE_TO_OBJECT) {
1644
- proto.Provider.prototype.toObject = function(opt_includeInstance) {
1645
- return proto.Provider.toObject(opt_includeInstance, this);
1646
- };
1647
- proto.Provider.toObject = function(includeInstance, msg) {
1648
- var f, obj = {
1649
- id: jspb.Message.getFieldWithDefault(msg, 1, "0"),
1650
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
1651
- description: jspb.Message.getFieldWithDefault(msg, 3, ""),
1652
- humanname: jspb.Message.getFieldWithDefault(msg, 4, ""),
1653
- image: jspb.Message.getFieldWithDefault(msg, 5, ""),
1654
- website: jspb.Message.getFieldWithDefault(msg, 6, ""),
1655
- status: jspb.Message.getFieldWithDefault(msg, 7, ""),
1656
- connectconfigurationList: jspb.Message.toObjectList(
1657
- msg.getConnectconfigurationList(),
1658
- proto.Variable.toObject,
1659
- includeInstance
1660
- )
1661
- };
1662
- if (includeInstance) {
1663
- obj.$jspbMessageInstance = msg;
1664
- }
1665
- return obj;
1666
- };
1667
- }
1668
- proto.Provider.deserializeBinary = function(bytes) {
1669
- var reader = new jspb.BinaryReader(bytes);
1670
- var msg = new proto.Provider();
1671
- return proto.Provider.deserializeBinaryFromReader(msg, reader);
1672
- };
1673
- proto.Provider.deserializeBinaryFromReader = function(msg, reader) {
1674
- while (reader.nextField()) {
1675
- if (reader.isEndGroup()) {
1676
- break;
1677
- }
1678
- var field = reader.getFieldNumber();
1679
- switch (field) {
1680
- case 1:
1681
- var value = (
1682
- /** @type {string} */
1683
- reader.readUint64String()
1684
- );
1685
- msg.setId(value);
1686
- break;
1687
- case 2:
1688
- var value = (
1689
- /** @type {string} */
1690
- reader.readString()
1691
- );
1692
- msg.setName(value);
1693
- break;
1694
- case 3:
1695
- var value = (
1696
- /** @type {string} */
1697
- reader.readString()
1698
- );
1699
- msg.setDescription(value);
1700
- break;
1701
- case 4:
1702
- var value = (
1703
- /** @type {string} */
1704
- reader.readString()
1705
- );
1706
- msg.setHumanname(value);
1707
- break;
1708
- case 5:
1709
- var value = (
1710
- /** @type {string} */
1711
- reader.readString()
1712
- );
1713
- msg.setImage(value);
1714
- break;
1715
- case 6:
1716
- var value = (
1717
- /** @type {string} */
1718
- reader.readString()
1719
- );
1720
- msg.setWebsite(value);
1721
- break;
1722
- case 7:
1723
- var value = (
1724
- /** @type {string} */
1725
- reader.readString()
1726
- );
1727
- msg.setStatus(value);
1728
- break;
1729
- case 9:
1730
- var value = new proto.Variable();
1731
- reader.readMessage(value, proto.Variable.deserializeBinaryFromReader);
1732
- msg.addConnectconfiguration(value);
1733
- break;
1734
- default:
1735
- reader.skipField();
1736
- break;
1737
- }
1738
- }
1739
- return msg;
1740
- };
1741
- proto.Provider.prototype.serializeBinary = function() {
1742
- var writer = new jspb.BinaryWriter();
1743
- proto.Provider.serializeBinaryToWriter(this, writer);
1744
- return writer.getResultBuffer();
1745
- };
1746
- proto.Provider.serializeBinaryToWriter = function(message, writer) {
1747
- var f = void 0;
1748
- f = message.getId();
1749
- if (parseInt(f, 10) !== 0) {
1750
- writer.writeUint64String(
1751
- 1,
1752
- f
1753
- );
1754
- }
1755
- f = message.getName();
1756
- if (f.length > 0) {
1757
- writer.writeString(
1758
- 2,
1759
- f
1760
- );
1761
- }
1762
- f = message.getDescription();
1763
- if (f.length > 0) {
1764
- writer.writeString(
1765
- 3,
1766
- f
1767
- );
1768
- }
1769
- f = message.getHumanname();
1770
- if (f.length > 0) {
1771
- writer.writeString(
1772
- 4,
1773
- f
1774
- );
1775
- }
1776
- f = message.getImage();
1777
- if (f.length > 0) {
1778
- writer.writeString(
1779
- 5,
1780
- f
1781
- );
1782
- }
1783
- f = message.getWebsite();
1784
- if (f.length > 0) {
1785
- writer.writeString(
1786
- 6,
1787
- f
1788
- );
1789
- }
1790
- f = message.getStatus();
1791
- if (f.length > 0) {
1792
- writer.writeString(
1793
- 7,
1794
- f
1795
- );
1796
- }
1797
- f = message.getConnectconfigurationList();
1798
- if (f.length > 0) {
1799
- writer.writeRepeatedMessage(
1800
- 9,
1801
- f,
1802
- proto.Variable.serializeBinaryToWriter
1803
- );
1804
- }
1805
- };
1806
- proto.Provider.prototype.getId = function() {
1807
- return (
1808
- /** @type {string} */
1809
- jspb.Message.getFieldWithDefault(this, 1, "0")
1810
- );
1811
- };
1812
- proto.Provider.prototype.setId = function(value) {
1813
- return jspb.Message.setProto3StringIntField(this, 1, value);
1814
- };
1815
- proto.Provider.prototype.getName = function() {
1816
- return (
1817
- /** @type {string} */
1818
- jspb.Message.getFieldWithDefault(this, 2, "")
1819
- );
1820
- };
1821
- proto.Provider.prototype.setName = function(value) {
1822
- return jspb.Message.setProto3StringField(this, 2, value);
1823
- };
1824
- proto.Provider.prototype.getDescription = function() {
1825
- return (
1826
- /** @type {string} */
1827
- jspb.Message.getFieldWithDefault(this, 3, "")
1828
- );
1829
- };
1830
- proto.Provider.prototype.setDescription = function(value) {
1831
- return jspb.Message.setProto3StringField(this, 3, value);
1832
- };
1833
- proto.Provider.prototype.getHumanname = function() {
1834
- return (
1835
- /** @type {string} */
1836
- jspb.Message.getFieldWithDefault(this, 4, "")
1837
- );
1838
- };
1839
- proto.Provider.prototype.setHumanname = function(value) {
1840
- return jspb.Message.setProto3StringField(this, 4, value);
1841
- };
1842
- proto.Provider.prototype.getImage = function() {
1843
- return (
1844
- /** @type {string} */
1845
- jspb.Message.getFieldWithDefault(this, 5, "")
1846
- );
1847
- };
1848
- proto.Provider.prototype.setImage = function(value) {
1849
- return jspb.Message.setProto3StringField(this, 5, value);
1850
- };
1851
- proto.Provider.prototype.getWebsite = function() {
1852
- return (
1853
- /** @type {string} */
1854
- jspb.Message.getFieldWithDefault(this, 6, "")
1855
- );
1856
- };
1857
- proto.Provider.prototype.setWebsite = function(value) {
1858
- return jspb.Message.setProto3StringField(this, 6, value);
1859
- };
1860
- proto.Provider.prototype.getStatus = function() {
1861
- return (
1862
- /** @type {string} */
1863
- jspb.Message.getFieldWithDefault(this, 7, "")
1864
- );
1865
- };
1866
- proto.Provider.prototype.setStatus = function(value) {
1867
- return jspb.Message.setProto3StringField(this, 7, value);
1868
- };
1869
- proto.Provider.prototype.getConnectconfigurationList = function() {
1870
- return (
1871
- /** @type{!Array<!proto.Variable>} */
1872
- jspb.Message.getRepeatedWrapperField(this, proto.Variable, 9)
1873
- );
1874
- };
1875
- proto.Provider.prototype.setConnectconfigurationList = function(value) {
1876
- return jspb.Message.setRepeatedWrapperField(this, 9, value);
1877
- };
1878
- proto.Provider.prototype.addConnectconfiguration = function(opt_value, opt_index) {
1879
- return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.Variable, opt_index);
1880
- };
1881
- proto.Provider.prototype.clearConnectconfigurationList = function() {
1882
- return this.setConnectconfigurationList([]);
1883
- };
1884
1751
  proto.Tag.repeatedFields_ = [2];
1885
1752
  if (jspb.Message.GENERATE_TO_OBJECT) {
1886
1753
  proto.Tag.prototype.toObject = function(opt_includeInstance) {
@@ -5771,318 +5638,95 @@ var require_common_pb = __commonJS({
5771
5638
  f,
5772
5639
  proto.AssistantConversationMessage.serializeBinaryToWriter
5773
5640
  );
5774
- }
5775
- f = message.getError();
5776
- if (f != null) {
5777
- writer.writeMessage(
5778
- 4,
5779
- f,
5780
- proto.Error.serializeBinaryToWriter
5781
- );
5782
- }
5783
- f = message.getPaginated();
5784
- if (f != null) {
5785
- writer.writeMessage(
5786
- 5,
5787
- f,
5788
- proto.Paginated.serializeBinaryToWriter
5789
- );
5790
- }
5791
- };
5792
- proto.GetAllConversationMessageResponse.prototype.getCode = function() {
5793
- return (
5794
- /** @type {number} */
5795
- jspb.Message.getFieldWithDefault(this, 1, 0)
5796
- );
5797
- };
5798
- proto.GetAllConversationMessageResponse.prototype.setCode = function(value) {
5799
- return jspb.Message.setProto3IntField(this, 1, value);
5800
- };
5801
- proto.GetAllConversationMessageResponse.prototype.getSuccess = function() {
5802
- return (
5803
- /** @type {boolean} */
5804
- jspb.Message.getBooleanFieldWithDefault(this, 2, false)
5805
- );
5806
- };
5807
- proto.GetAllConversationMessageResponse.prototype.setSuccess = function(value) {
5808
- return jspb.Message.setProto3BooleanField(this, 2, value);
5809
- };
5810
- proto.GetAllConversationMessageResponse.prototype.getDataList = function() {
5811
- return (
5812
- /** @type{!Array<!proto.AssistantConversationMessage>} */
5813
- jspb.Message.getRepeatedWrapperField(this, proto.AssistantConversationMessage, 3)
5814
- );
5815
- };
5816
- proto.GetAllConversationMessageResponse.prototype.setDataList = function(value) {
5817
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
5818
- };
5819
- proto.GetAllConversationMessageResponse.prototype.addData = function(opt_value, opt_index) {
5820
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.AssistantConversationMessage, opt_index);
5821
- };
5822
- proto.GetAllConversationMessageResponse.prototype.clearDataList = function() {
5823
- return this.setDataList([]);
5824
- };
5825
- proto.GetAllConversationMessageResponse.prototype.getError = function() {
5826
- return (
5827
- /** @type{?proto.Error} */
5828
- jspb.Message.getWrapperField(this, proto.Error, 4)
5829
- );
5830
- };
5831
- proto.GetAllConversationMessageResponse.prototype.setError = function(value) {
5832
- return jspb.Message.setWrapperField(this, 4, value);
5833
- };
5834
- proto.GetAllConversationMessageResponse.prototype.clearError = function() {
5835
- return this.setError(void 0);
5836
- };
5837
- proto.GetAllConversationMessageResponse.prototype.hasError = function() {
5838
- return jspb.Message.getField(this, 4) != null;
5839
- };
5840
- proto.GetAllConversationMessageResponse.prototype.getPaginated = function() {
5841
- return (
5842
- /** @type{?proto.Paginated} */
5843
- jspb.Message.getWrapperField(this, proto.Paginated, 5)
5844
- );
5845
- };
5846
- proto.GetAllConversationMessageResponse.prototype.setPaginated = function(value) {
5847
- return jspb.Message.setWrapperField(this, 5, value);
5848
- };
5849
- proto.GetAllConversationMessageResponse.prototype.clearPaginated = function() {
5850
- return this.setPaginated(void 0);
5851
- };
5852
- proto.GetAllConversationMessageResponse.prototype.hasPaginated = function() {
5853
- return jspb.Message.getField(this, 5) != null;
5854
- };
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);
5641
+ }
5642
+ f = message.getError();
5643
+ if (f != null) {
5644
+ writer.writeMessage(
5645
+ 4,
5646
+ f,
5647
+ proto.Error.serializeBinaryToWriter
5648
+ );
5649
+ }
5650
+ f = message.getPaginated();
5651
+ if (f != null) {
5652
+ writer.writeMessage(
5653
+ 5,
5654
+ f,
5655
+ proto.Paginated.serializeBinaryToWriter
5656
+ );
5657
+ }
5961
5658
  };
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);
5659
+ proto.GetAllConversationMessageResponse.prototype.getCode = function() {
5660
+ return (
5661
+ /** @type {number} */
5662
+ jspb.Message.getFieldWithDefault(this, 1, 0)
5663
+ );
5968
5664
  };
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);
5665
+ proto.GetAllConversationMessageResponse.prototype.setCode = function(value) {
5666
+ return jspb.Message.setProto3IntField(this, 1, value);
5975
5667
  };
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);
5668
+ proto.GetAllConversationMessageResponse.prototype.getSuccess = function() {
5669
+ return (
5670
+ /** @type {boolean} */
5671
+ jspb.Message.getBooleanFieldWithDefault(this, 2, false)
5672
+ );
5982
5673
  };
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);
5674
+ proto.GetAllConversationMessageResponse.prototype.setSuccess = function(value) {
5675
+ return jspb.Message.setProto3BooleanField(this, 2, value);
5989
5676
  };
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_);
5677
+ proto.GetAllConversationMessageResponse.prototype.getDataList = function() {
5678
+ return (
5679
+ /** @type{!Array<!proto.AssistantConversationMessage>} */
5680
+ jspb.Message.getRepeatedWrapperField(this, proto.AssistantConversationMessage, 3)
5681
+ );
5996
5682
  };
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_);
5683
+ proto.GetAllConversationMessageResponse.prototype.setDataList = function(value) {
5684
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
6003
5685
  };
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_);
5686
+ proto.GetAllConversationMessageResponse.prototype.addData = function(opt_value, opt_index) {
5687
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.AssistantConversationMessage, opt_index);
6010
5688
  };
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_);
5689
+ proto.GetAllConversationMessageResponse.prototype.clearDataList = function() {
5690
+ return this.setDataList([]);
6017
5691
  };
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);
5692
+ proto.GetAllConversationMessageResponse.prototype.getError = function() {
5693
+ return (
5694
+ /** @type{?proto.Error} */
5695
+ jspb.Message.getWrapperField(this, proto.Error, 4)
5696
+ );
6024
5697
  };
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);
5698
+ proto.GetAllConversationMessageResponse.prototype.setError = function(value) {
5699
+ return jspb.Message.setWrapperField(this, 4, value);
6031
5700
  };
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);
5701
+ proto.GetAllConversationMessageResponse.prototype.clearError = function() {
5702
+ return this.setError(void 0);
6038
5703
  };
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);
5704
+ proto.GetAllConversationMessageResponse.prototype.hasError = function() {
5705
+ return jspb.Message.getField(this, 4) != null;
6045
5706
  };
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);
5707
+ proto.GetAllConversationMessageResponse.prototype.getPaginated = function() {
5708
+ return (
5709
+ /** @type{?proto.Paginated} */
5710
+ jspb.Message.getWrapperField(this, proto.Paginated, 5)
5711
+ );
6052
5712
  };
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);
5713
+ proto.GetAllConversationMessageResponse.prototype.setPaginated = function(value) {
5714
+ return jspb.Message.setWrapperField(this, 5, value);
6059
5715
  };
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);
5716
+ proto.GetAllConversationMessageResponse.prototype.clearPaginated = function() {
5717
+ return this.setPaginated(void 0);
6066
5718
  };
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);
5719
+ proto.GetAllConversationMessageResponse.prototype.hasPaginated = function() {
5720
+ return jspb.Message.getField(this, 5) != null;
6073
5721
  };
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
5722
  if (jspb.Message.GENERATE_TO_OBJECT) {
6079
- proto.talk_api.AssistantConversationConfiguration.prototype.toObject = function(opt_includeInstance) {
6080
- return proto.talk_api.AssistantConversationConfiguration.toObject(opt_includeInstance, this);
5723
+ proto.AssistantConversationConfiguration.prototype.toObject = function(opt_includeInstance) {
5724
+ return proto.AssistantConversationConfiguration.toObject(opt_includeInstance, this);
6081
5725
  };
6082
- proto.talk_api.AssistantConversationConfiguration.toObject = function(includeInstance, msg) {
5726
+ proto.AssistantConversationConfiguration.toObject = function(includeInstance, msg) {
6083
5727
  var f, obj = {
6084
5728
  assistantconversationid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
6085
- assistant: (f = msg.getAssistant()) && common_pb.AssistantDefinition.toObject(includeInstance, f),
5729
+ assistant: (f = msg.getAssistant()) && proto.AssistantDefinition.toObject(includeInstance, f),
6086
5730
  time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
6087
5731
  metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [],
6088
5732
  argsMap: (f = msg.getArgsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [],
@@ -6094,12 +5738,12 @@ var require_talk_api_pb = __commonJS({
6094
5738
  return obj;
6095
5739
  };
6096
5740
  }
6097
- proto.talk_api.AssistantConversationConfiguration.deserializeBinary = function(bytes) {
5741
+ proto.AssistantConversationConfiguration.deserializeBinary = function(bytes) {
6098
5742
  var reader = new jspb.BinaryReader(bytes);
6099
- var msg = new proto.talk_api.AssistantConversationConfiguration();
6100
- return proto.talk_api.AssistantConversationConfiguration.deserializeBinaryFromReader(msg, reader);
5743
+ var msg = new proto.AssistantConversationConfiguration();
5744
+ return proto.AssistantConversationConfiguration.deserializeBinaryFromReader(msg, reader);
6101
5745
  };
6102
- proto.talk_api.AssistantConversationConfiguration.deserializeBinaryFromReader = function(msg, reader) {
5746
+ proto.AssistantConversationConfiguration.deserializeBinaryFromReader = function(msg, reader) {
6103
5747
  while (reader.nextField()) {
6104
5748
  if (reader.isEndGroup()) {
6105
5749
  break;
@@ -6114,8 +5758,8 @@ var require_talk_api_pb = __commonJS({
6114
5758
  msg.setAssistantconversationid(value);
6115
5759
  break;
6116
5760
  case 2:
6117
- var value = new common_pb.AssistantDefinition();
6118
- reader.readMessage(value, common_pb.AssistantDefinition.deserializeBinaryFromReader);
5761
+ var value = new proto.AssistantDefinition();
5762
+ reader.readMessage(value, proto.AssistantDefinition.deserializeBinaryFromReader);
6119
5763
  msg.setAssistant(value);
6120
5764
  break;
6121
5765
  case 3:
@@ -6148,12 +5792,12 @@ var require_talk_api_pb = __commonJS({
6148
5792
  }
6149
5793
  return msg;
6150
5794
  };
6151
- proto.talk_api.AssistantConversationConfiguration.prototype.serializeBinary = function() {
5795
+ proto.AssistantConversationConfiguration.prototype.serializeBinary = function() {
6152
5796
  var writer = new jspb.BinaryWriter();
6153
- proto.talk_api.AssistantConversationConfiguration.serializeBinaryToWriter(this, writer);
5797
+ proto.AssistantConversationConfiguration.serializeBinaryToWriter(this, writer);
6154
5798
  return writer.getResultBuffer();
6155
5799
  };
6156
- proto.talk_api.AssistantConversationConfiguration.serializeBinaryToWriter = function(message, writer) {
5800
+ proto.AssistantConversationConfiguration.serializeBinaryToWriter = function(message, writer) {
6157
5801
  var f = void 0;
6158
5802
  f = message.getAssistantconversationid();
6159
5803
  if (parseInt(f, 10) !== 0) {
@@ -6167,7 +5811,7 @@ var require_talk_api_pb = __commonJS({
6167
5811
  writer.writeMessage(
6168
5812
  2,
6169
5813
  f,
6170
- common_pb.AssistantDefinition.serializeBinaryToWriter
5814
+ proto.AssistantDefinition.serializeBinaryToWriter
6171
5815
  );
6172
5816
  }
6173
5817
  f = message.getTime();
@@ -6191,46 +5835,46 @@ var require_talk_api_pb = __commonJS({
6191
5835
  f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Any.serializeBinaryToWriter);
6192
5836
  }
6193
5837
  };
6194
- proto.talk_api.AssistantConversationConfiguration.prototype.getAssistantconversationid = function() {
5838
+ proto.AssistantConversationConfiguration.prototype.getAssistantconversationid = function() {
6195
5839
  return (
6196
5840
  /** @type {string} */
6197
5841
  jspb.Message.getFieldWithDefault(this, 1, "0")
6198
5842
  );
6199
5843
  };
6200
- proto.talk_api.AssistantConversationConfiguration.prototype.setAssistantconversationid = function(value) {
5844
+ proto.AssistantConversationConfiguration.prototype.setAssistantconversationid = function(value) {
6201
5845
  return jspb.Message.setProto3StringIntField(this, 1, value);
6202
5846
  };
6203
- proto.talk_api.AssistantConversationConfiguration.prototype.getAssistant = function() {
5847
+ proto.AssistantConversationConfiguration.prototype.getAssistant = function() {
6204
5848
  return (
6205
5849
  /** @type{?proto.AssistantDefinition} */
6206
- jspb.Message.getWrapperField(this, common_pb.AssistantDefinition, 2)
5850
+ jspb.Message.getWrapperField(this, proto.AssistantDefinition, 2)
6207
5851
  );
6208
5852
  };
6209
- proto.talk_api.AssistantConversationConfiguration.prototype.setAssistant = function(value) {
5853
+ proto.AssistantConversationConfiguration.prototype.setAssistant = function(value) {
6210
5854
  return jspb.Message.setWrapperField(this, 2, value);
6211
5855
  };
6212
- proto.talk_api.AssistantConversationConfiguration.prototype.clearAssistant = function() {
5856
+ proto.AssistantConversationConfiguration.prototype.clearAssistant = function() {
6213
5857
  return this.setAssistant(void 0);
6214
5858
  };
6215
- proto.talk_api.AssistantConversationConfiguration.prototype.hasAssistant = function() {
5859
+ proto.AssistantConversationConfiguration.prototype.hasAssistant = function() {
6216
5860
  return jspb.Message.getField(this, 2) != null;
6217
5861
  };
6218
- proto.talk_api.AssistantConversationConfiguration.prototype.getTime = function() {
5862
+ proto.AssistantConversationConfiguration.prototype.getTime = function() {
6219
5863
  return (
6220
5864
  /** @type{?proto.google.protobuf.Timestamp} */
6221
5865
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)
6222
5866
  );
6223
5867
  };
6224
- proto.talk_api.AssistantConversationConfiguration.prototype.setTime = function(value) {
5868
+ proto.AssistantConversationConfiguration.prototype.setTime = function(value) {
6225
5869
  return jspb.Message.setWrapperField(this, 3, value);
6226
5870
  };
6227
- proto.talk_api.AssistantConversationConfiguration.prototype.clearTime = function() {
5871
+ proto.AssistantConversationConfiguration.prototype.clearTime = function() {
6228
5872
  return this.setTime(void 0);
6229
5873
  };
6230
- proto.talk_api.AssistantConversationConfiguration.prototype.hasTime = function() {
5874
+ proto.AssistantConversationConfiguration.prototype.hasTime = function() {
6231
5875
  return jspb.Message.getField(this, 3) != null;
6232
5876
  };
6233
- proto.talk_api.AssistantConversationConfiguration.prototype.getMetadataMap = function(opt_noLazyCreate) {
5877
+ proto.AssistantConversationConfiguration.prototype.getMetadataMap = function(opt_noLazyCreate) {
6234
5878
  return (
6235
5879
  /** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
6236
5880
  jspb.Message.getMapField(
@@ -6241,11 +5885,11 @@ var require_talk_api_pb = __commonJS({
6241
5885
  )
6242
5886
  );
6243
5887
  };
6244
- proto.talk_api.AssistantConversationConfiguration.prototype.clearMetadataMap = function() {
5888
+ proto.AssistantConversationConfiguration.prototype.clearMetadataMap = function() {
6245
5889
  this.getMetadataMap().clear();
6246
5890
  return this;
6247
5891
  };
6248
- proto.talk_api.AssistantConversationConfiguration.prototype.getArgsMap = function(opt_noLazyCreate) {
5892
+ proto.AssistantConversationConfiguration.prototype.getArgsMap = function(opt_noLazyCreate) {
6249
5893
  return (
6250
5894
  /** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
6251
5895
  jspb.Message.getMapField(
@@ -6256,11 +5900,11 @@ var require_talk_api_pb = __commonJS({
6256
5900
  )
6257
5901
  );
6258
5902
  };
6259
- proto.talk_api.AssistantConversationConfiguration.prototype.clearArgsMap = function() {
5903
+ proto.AssistantConversationConfiguration.prototype.clearArgsMap = function() {
6260
5904
  this.getArgsMap().clear();
6261
5905
  return this;
6262
5906
  };
6263
- proto.talk_api.AssistantConversationConfiguration.prototype.getOptionsMap = function(opt_noLazyCreate) {
5907
+ proto.AssistantConversationConfiguration.prototype.getOptionsMap = function(opt_noLazyCreate) {
6264
5908
  return (
6265
5909
  /** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
6266
5910
  jspb.Message.getMapField(
@@ -6271,15 +5915,15 @@ var require_talk_api_pb = __commonJS({
6271
5915
  )
6272
5916
  );
6273
5917
  };
6274
- proto.talk_api.AssistantConversationConfiguration.prototype.clearOptionsMap = function() {
5918
+ proto.AssistantConversationConfiguration.prototype.clearOptionsMap = function() {
6275
5919
  this.getOptionsMap().clear();
6276
5920
  return this;
6277
5921
  };
6278
5922
  if (jspb.Message.GENERATE_TO_OBJECT) {
6279
- proto.talk_api.AssistantConversationDisconnectAction.prototype.toObject = function(opt_includeInstance) {
6280
- return proto.talk_api.AssistantConversationDisconnectAction.toObject(opt_includeInstance, this);
5923
+ proto.AssistantConversationDisconnectAction.prototype.toObject = function(opt_includeInstance) {
5924
+ return proto.AssistantConversationDisconnectAction.toObject(opt_includeInstance, this);
6281
5925
  };
6282
- proto.talk_api.AssistantConversationDisconnectAction.toObject = function(includeInstance, msg) {
5926
+ proto.AssistantConversationDisconnectAction.toObject = function(includeInstance, msg) {
6283
5927
  var f, obj = {
6284
5928
  reason: jspb.Message.getFieldWithDefault(msg, 1, "")
6285
5929
  };
@@ -6289,12 +5933,12 @@ var require_talk_api_pb = __commonJS({
6289
5933
  return obj;
6290
5934
  };
6291
5935
  }
6292
- proto.talk_api.AssistantConversationDisconnectAction.deserializeBinary = function(bytes) {
5936
+ proto.AssistantConversationDisconnectAction.deserializeBinary = function(bytes) {
6293
5937
  var reader = new jspb.BinaryReader(bytes);
6294
- var msg = new proto.talk_api.AssistantConversationDisconnectAction();
6295
- return proto.talk_api.AssistantConversationDisconnectAction.deserializeBinaryFromReader(msg, reader);
5938
+ var msg = new proto.AssistantConversationDisconnectAction();
5939
+ return proto.AssistantConversationDisconnectAction.deserializeBinaryFromReader(msg, reader);
6296
5940
  };
6297
- proto.talk_api.AssistantConversationDisconnectAction.deserializeBinaryFromReader = function(msg, reader) {
5941
+ proto.AssistantConversationDisconnectAction.deserializeBinaryFromReader = function(msg, reader) {
6298
5942
  while (reader.nextField()) {
6299
5943
  if (reader.isEndGroup()) {
6300
5944
  break;
@@ -6315,12 +5959,12 @@ var require_talk_api_pb = __commonJS({
6315
5959
  }
6316
5960
  return msg;
6317
5961
  };
6318
- proto.talk_api.AssistantConversationDisconnectAction.prototype.serializeBinary = function() {
5962
+ proto.AssistantConversationDisconnectAction.prototype.serializeBinary = function() {
6319
5963
  var writer = new jspb.BinaryWriter();
6320
- proto.talk_api.AssistantConversationDisconnectAction.serializeBinaryToWriter(this, writer);
5964
+ proto.AssistantConversationDisconnectAction.serializeBinaryToWriter(this, writer);
6321
5965
  return writer.getResultBuffer();
6322
5966
  };
6323
- proto.talk_api.AssistantConversationDisconnectAction.serializeBinaryToWriter = function(message, writer) {
5967
+ proto.AssistantConversationDisconnectAction.serializeBinaryToWriter = function(message, writer) {
6324
5968
  var f = void 0;
6325
5969
  f = message.getReason();
6326
5970
  if (f.length > 0) {
@@ -6330,20 +5974,20 @@ var require_talk_api_pb = __commonJS({
6330
5974
  );
6331
5975
  }
6332
5976
  };
6333
- proto.talk_api.AssistantConversationDisconnectAction.prototype.getReason = function() {
5977
+ proto.AssistantConversationDisconnectAction.prototype.getReason = function() {
6334
5978
  return (
6335
5979
  /** @type {string} */
6336
5980
  jspb.Message.getFieldWithDefault(this, 1, "")
6337
5981
  );
6338
5982
  };
6339
- proto.talk_api.AssistantConversationDisconnectAction.prototype.setReason = function(value) {
5983
+ proto.AssistantConversationDisconnectAction.prototype.setReason = function(value) {
6340
5984
  return jspb.Message.setProto3StringField(this, 1, value);
6341
5985
  };
6342
5986
  if (jspb.Message.GENERATE_TO_OBJECT) {
6343
- proto.talk_api.AssistantConverstationHoldAction.prototype.toObject = function(opt_includeInstance) {
6344
- return proto.talk_api.AssistantConverstationHoldAction.toObject(opt_includeInstance, this);
5987
+ proto.AssistantConverstationHoldAction.prototype.toObject = function(opt_includeInstance) {
5988
+ return proto.AssistantConverstationHoldAction.toObject(opt_includeInstance, this);
6345
5989
  };
6346
- proto.talk_api.AssistantConverstationHoldAction.toObject = function(includeInstance, msg) {
5990
+ proto.AssistantConverstationHoldAction.toObject = function(includeInstance, msg) {
6347
5991
  var f, obj = {
6348
5992
  holdtime: jspb.Message.getFieldWithDefault(msg, 1, 0)
6349
5993
  };
@@ -6353,12 +5997,12 @@ var require_talk_api_pb = __commonJS({
6353
5997
  return obj;
6354
5998
  };
6355
5999
  }
6356
- proto.talk_api.AssistantConverstationHoldAction.deserializeBinary = function(bytes) {
6000
+ proto.AssistantConverstationHoldAction.deserializeBinary = function(bytes) {
6357
6001
  var reader = new jspb.BinaryReader(bytes);
6358
- var msg = new proto.talk_api.AssistantConverstationHoldAction();
6359
- return proto.talk_api.AssistantConverstationHoldAction.deserializeBinaryFromReader(msg, reader);
6002
+ var msg = new proto.AssistantConverstationHoldAction();
6003
+ return proto.AssistantConverstationHoldAction.deserializeBinaryFromReader(msg, reader);
6360
6004
  };
6361
- proto.talk_api.AssistantConverstationHoldAction.deserializeBinaryFromReader = function(msg, reader) {
6005
+ proto.AssistantConverstationHoldAction.deserializeBinaryFromReader = function(msg, reader) {
6362
6006
  while (reader.nextField()) {
6363
6007
  if (reader.isEndGroup()) {
6364
6008
  break;
@@ -6379,12 +6023,12 @@ var require_talk_api_pb = __commonJS({
6379
6023
  }
6380
6024
  return msg;
6381
6025
  };
6382
- proto.talk_api.AssistantConverstationHoldAction.prototype.serializeBinary = function() {
6026
+ proto.AssistantConverstationHoldAction.prototype.serializeBinary = function() {
6383
6027
  var writer = new jspb.BinaryWriter();
6384
- proto.talk_api.AssistantConverstationHoldAction.serializeBinaryToWriter(this, writer);
6028
+ proto.AssistantConverstationHoldAction.serializeBinaryToWriter(this, writer);
6385
6029
  return writer.getResultBuffer();
6386
6030
  };
6387
- proto.talk_api.AssistantConverstationHoldAction.serializeBinaryToWriter = function(message, writer) {
6031
+ proto.AssistantConverstationHoldAction.serializeBinaryToWriter = function(message, writer) {
6388
6032
  var f = void 0;
6389
6033
  f = message.getHoldtime();
6390
6034
  if (f !== 0) {
@@ -6394,20 +6038,20 @@ var require_talk_api_pb = __commonJS({
6394
6038
  );
6395
6039
  }
6396
6040
  };
6397
- proto.talk_api.AssistantConverstationHoldAction.prototype.getHoldtime = function() {
6041
+ proto.AssistantConverstationHoldAction.prototype.getHoldtime = function() {
6398
6042
  return (
6399
6043
  /** @type {number} */
6400
6044
  jspb.Message.getFieldWithDefault(this, 1, 0)
6401
6045
  );
6402
6046
  };
6403
- proto.talk_api.AssistantConverstationHoldAction.prototype.setHoldtime = function(value) {
6047
+ proto.AssistantConverstationHoldAction.prototype.setHoldtime = function(value) {
6404
6048
  return jspb.Message.setProto3IntField(this, 1, value);
6405
6049
  };
6406
6050
  if (jspb.Message.GENERATE_TO_OBJECT) {
6407
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.prototype.toObject = function(opt_includeInstance) {
6408
- return proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.toObject(opt_includeInstance, this);
6051
+ proto.AssistantConverstationKnowledgeRetrievalAction.prototype.toObject = function(opt_includeInstance) {
6052
+ return proto.AssistantConverstationKnowledgeRetrievalAction.toObject(opt_includeInstance, this);
6409
6053
  };
6410
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.toObject = function(includeInstance, msg) {
6054
+ proto.AssistantConverstationKnowledgeRetrievalAction.toObject = function(includeInstance, msg) {
6411
6055
  var f, obj = {
6412
6056
  query: jspb.Message.getFieldWithDefault(msg, 1, "")
6413
6057
  };
@@ -6417,12 +6061,12 @@ var require_talk_api_pb = __commonJS({
6417
6061
  return obj;
6418
6062
  };
6419
6063
  }
6420
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.deserializeBinary = function(bytes) {
6064
+ proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinary = function(bytes) {
6421
6065
  var reader = new jspb.BinaryReader(bytes);
6422
- var msg = new proto.talk_api.AssistantConverstationKnowledgeRetrievalAction();
6423
- return proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader(msg, reader);
6066
+ var msg = new proto.AssistantConverstationKnowledgeRetrievalAction();
6067
+ return proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader(msg, reader);
6424
6068
  };
6425
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader = function(msg, reader) {
6069
+ proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader = function(msg, reader) {
6426
6070
  while (reader.nextField()) {
6427
6071
  if (reader.isEndGroup()) {
6428
6072
  break;
@@ -6443,12 +6087,12 @@ var require_talk_api_pb = __commonJS({
6443
6087
  }
6444
6088
  return msg;
6445
6089
  };
6446
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.prototype.serializeBinary = function() {
6090
+ proto.AssistantConverstationKnowledgeRetrievalAction.prototype.serializeBinary = function() {
6447
6091
  var writer = new jspb.BinaryWriter();
6448
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter(this, writer);
6092
+ proto.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter(this, writer);
6449
6093
  return writer.getResultBuffer();
6450
6094
  };
6451
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter = function(message, writer) {
6095
+ proto.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter = function(message, writer) {
6452
6096
  var f = void 0;
6453
6097
  f = message.getQuery();
6454
6098
  if (f.length > 0) {
@@ -6458,20 +6102,20 @@ var require_talk_api_pb = __commonJS({
6458
6102
  );
6459
6103
  }
6460
6104
  };
6461
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.prototype.getQuery = function() {
6105
+ proto.AssistantConverstationKnowledgeRetrievalAction.prototype.getQuery = function() {
6462
6106
  return (
6463
6107
  /** @type {string} */
6464
6108
  jspb.Message.getFieldWithDefault(this, 1, "")
6465
6109
  );
6466
6110
  };
6467
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.prototype.setQuery = function(value) {
6111
+ proto.AssistantConverstationKnowledgeRetrievalAction.prototype.setQuery = function(value) {
6468
6112
  return jspb.Message.setProto3StringField(this, 1, value);
6469
6113
  };
6470
6114
  if (jspb.Message.GENERATE_TO_OBJECT) {
6471
- proto.talk_api.AssistantConverstationApiRequestAction.prototype.toObject = function(opt_includeInstance) {
6472
- return proto.talk_api.AssistantConverstationApiRequestAction.toObject(opt_includeInstance, this);
6115
+ proto.AssistantConverstationApiRequestAction.prototype.toObject = function(opt_includeInstance) {
6116
+ return proto.AssistantConverstationApiRequestAction.toObject(opt_includeInstance, this);
6473
6117
  };
6474
- proto.talk_api.AssistantConverstationApiRequestAction.toObject = function(includeInstance, msg) {
6118
+ proto.AssistantConverstationApiRequestAction.toObject = function(includeInstance, msg) {
6475
6119
  var f, obj = {};
6476
6120
  if (includeInstance) {
6477
6121
  obj.$jspbMessageInstance = msg;
@@ -6479,12 +6123,12 @@ var require_talk_api_pb = __commonJS({
6479
6123
  return obj;
6480
6124
  };
6481
6125
  }
6482
- proto.talk_api.AssistantConverstationApiRequestAction.deserializeBinary = function(bytes) {
6126
+ proto.AssistantConverstationApiRequestAction.deserializeBinary = function(bytes) {
6483
6127
  var reader = new jspb.BinaryReader(bytes);
6484
- var msg = new proto.talk_api.AssistantConverstationApiRequestAction();
6485
- return proto.talk_api.AssistantConverstationApiRequestAction.deserializeBinaryFromReader(msg, reader);
6128
+ var msg = new proto.AssistantConverstationApiRequestAction();
6129
+ return proto.AssistantConverstationApiRequestAction.deserializeBinaryFromReader(msg, reader);
6486
6130
  };
6487
- proto.talk_api.AssistantConverstationApiRequestAction.deserializeBinaryFromReader = function(msg, reader) {
6131
+ proto.AssistantConverstationApiRequestAction.deserializeBinaryFromReader = function(msg, reader) {
6488
6132
  while (reader.nextField()) {
6489
6133
  if (reader.isEndGroup()) {
6490
6134
  break;
@@ -6498,19 +6142,19 @@ var require_talk_api_pb = __commonJS({
6498
6142
  }
6499
6143
  return msg;
6500
6144
  };
6501
- proto.talk_api.AssistantConverstationApiRequestAction.prototype.serializeBinary = function() {
6145
+ proto.AssistantConverstationApiRequestAction.prototype.serializeBinary = function() {
6502
6146
  var writer = new jspb.BinaryWriter();
6503
- proto.talk_api.AssistantConverstationApiRequestAction.serializeBinaryToWriter(this, writer);
6147
+ proto.AssistantConverstationApiRequestAction.serializeBinaryToWriter(this, writer);
6504
6148
  return writer.getResultBuffer();
6505
6149
  };
6506
- proto.talk_api.AssistantConverstationApiRequestAction.serializeBinaryToWriter = function(message, writer) {
6150
+ proto.AssistantConverstationApiRequestAction.serializeBinaryToWriter = function(message, writer) {
6507
6151
  var f = void 0;
6508
6152
  };
6509
6153
  if (jspb.Message.GENERATE_TO_OBJECT) {
6510
- proto.talk_api.AssistantConverstationEndpointAction.prototype.toObject = function(opt_includeInstance) {
6511
- return proto.talk_api.AssistantConverstationEndpointAction.toObject(opt_includeInstance, this);
6154
+ proto.AssistantConverstationEndpointAction.prototype.toObject = function(opt_includeInstance) {
6155
+ return proto.AssistantConverstationEndpointAction.toObject(opt_includeInstance, this);
6512
6156
  };
6513
- proto.talk_api.AssistantConverstationEndpointAction.toObject = function(includeInstance, msg) {
6157
+ proto.AssistantConverstationEndpointAction.toObject = function(includeInstance, msg) {
6514
6158
  var f, obj = {};
6515
6159
  if (includeInstance) {
6516
6160
  obj.$jspbMessageInstance = msg;
@@ -6518,12 +6162,12 @@ var require_talk_api_pb = __commonJS({
6518
6162
  return obj;
6519
6163
  };
6520
6164
  }
6521
- proto.talk_api.AssistantConverstationEndpointAction.deserializeBinary = function(bytes) {
6165
+ proto.AssistantConverstationEndpointAction.deserializeBinary = function(bytes) {
6522
6166
  var reader = new jspb.BinaryReader(bytes);
6523
- var msg = new proto.talk_api.AssistantConverstationEndpointAction();
6524
- return proto.talk_api.AssistantConverstationEndpointAction.deserializeBinaryFromReader(msg, reader);
6167
+ var msg = new proto.AssistantConverstationEndpointAction();
6168
+ return proto.AssistantConverstationEndpointAction.deserializeBinaryFromReader(msg, reader);
6525
6169
  };
6526
- proto.talk_api.AssistantConverstationEndpointAction.deserializeBinaryFromReader = function(msg, reader) {
6170
+ proto.AssistantConverstationEndpointAction.deserializeBinaryFromReader = function(msg, reader) {
6527
6171
  while (reader.nextField()) {
6528
6172
  if (reader.isEndGroup()) {
6529
6173
  break;
@@ -6537,19 +6181,19 @@ var require_talk_api_pb = __commonJS({
6537
6181
  }
6538
6182
  return msg;
6539
6183
  };
6540
- proto.talk_api.AssistantConverstationEndpointAction.prototype.serializeBinary = function() {
6184
+ proto.AssistantConverstationEndpointAction.prototype.serializeBinary = function() {
6541
6185
  var writer = new jspb.BinaryWriter();
6542
- proto.talk_api.AssistantConverstationEndpointAction.serializeBinaryToWriter(this, writer);
6186
+ proto.AssistantConverstationEndpointAction.serializeBinaryToWriter(this, writer);
6543
6187
  return writer.getResultBuffer();
6544
6188
  };
6545
- proto.talk_api.AssistantConverstationEndpointAction.serializeBinaryToWriter = function(message, writer) {
6189
+ proto.AssistantConverstationEndpointAction.serializeBinaryToWriter = function(message, writer) {
6546
6190
  var f = void 0;
6547
6191
  };
6548
6192
  if (jspb.Message.GENERATE_TO_OBJECT) {
6549
- proto.talk_api.AssistantConversationDeviationAction.prototype.toObject = function(opt_includeInstance) {
6550
- return proto.talk_api.AssistantConversationDeviationAction.toObject(opt_includeInstance, this);
6193
+ proto.AssistantConversationDeviationAction.prototype.toObject = function(opt_includeInstance) {
6194
+ return proto.AssistantConversationDeviationAction.toObject(opt_includeInstance, this);
6551
6195
  };
6552
- proto.talk_api.AssistantConversationDeviationAction.toObject = function(includeInstance, msg) {
6196
+ proto.AssistantConversationDeviationAction.toObject = function(includeInstance, msg) {
6553
6197
  var f, obj = {};
6554
6198
  if (includeInstance) {
6555
6199
  obj.$jspbMessageInstance = msg;
@@ -6557,12 +6201,12 @@ var require_talk_api_pb = __commonJS({
6557
6201
  return obj;
6558
6202
  };
6559
6203
  }
6560
- proto.talk_api.AssistantConversationDeviationAction.deserializeBinary = function(bytes) {
6204
+ proto.AssistantConversationDeviationAction.deserializeBinary = function(bytes) {
6561
6205
  var reader = new jspb.BinaryReader(bytes);
6562
- var msg = new proto.talk_api.AssistantConversationDeviationAction();
6563
- return proto.talk_api.AssistantConversationDeviationAction.deserializeBinaryFromReader(msg, reader);
6206
+ var msg = new proto.AssistantConversationDeviationAction();
6207
+ return proto.AssistantConversationDeviationAction.deserializeBinaryFromReader(msg, reader);
6564
6208
  };
6565
- proto.talk_api.AssistantConversationDeviationAction.deserializeBinaryFromReader = function(msg, reader) {
6209
+ proto.AssistantConversationDeviationAction.deserializeBinaryFromReader = function(msg, reader) {
6566
6210
  while (reader.nextField()) {
6567
6211
  if (reader.isEndGroup()) {
6568
6212
  break;
@@ -6576,19 +6220,19 @@ var require_talk_api_pb = __commonJS({
6576
6220
  }
6577
6221
  return msg;
6578
6222
  };
6579
- proto.talk_api.AssistantConversationDeviationAction.prototype.serializeBinary = function() {
6223
+ proto.AssistantConversationDeviationAction.prototype.serializeBinary = function() {
6580
6224
  var writer = new jspb.BinaryWriter();
6581
- proto.talk_api.AssistantConversationDeviationAction.serializeBinaryToWriter(this, writer);
6225
+ proto.AssistantConversationDeviationAction.serializeBinaryToWriter(this, writer);
6582
6226
  return writer.getResultBuffer();
6583
6227
  };
6584
- proto.talk_api.AssistantConversationDeviationAction.serializeBinaryToWriter = function(message, writer) {
6228
+ proto.AssistantConversationDeviationAction.serializeBinaryToWriter = function(message, writer) {
6585
6229
  var f = void 0;
6586
6230
  };
6587
6231
  if (jspb.Message.GENERATE_TO_OBJECT) {
6588
- proto.talk_api.AssistantConversationAssistantTransferAction.prototype.toObject = function(opt_includeInstance) {
6589
- return proto.talk_api.AssistantConversationAssistantTransferAction.toObject(opt_includeInstance, this);
6232
+ proto.AssistantConversationAssistantTransferAction.prototype.toObject = function(opt_includeInstance) {
6233
+ return proto.AssistantConversationAssistantTransferAction.toObject(opt_includeInstance, this);
6590
6234
  };
6591
- proto.talk_api.AssistantConversationAssistantTransferAction.toObject = function(includeInstance, msg) {
6235
+ proto.AssistantConversationAssistantTransferAction.toObject = function(includeInstance, msg) {
6592
6236
  var f, obj = {};
6593
6237
  if (includeInstance) {
6594
6238
  obj.$jspbMessageInstance = msg;
@@ -6596,12 +6240,12 @@ var require_talk_api_pb = __commonJS({
6596
6240
  return obj;
6597
6241
  };
6598
6242
  }
6599
- proto.talk_api.AssistantConversationAssistantTransferAction.deserializeBinary = function(bytes) {
6243
+ proto.AssistantConversationAssistantTransferAction.deserializeBinary = function(bytes) {
6600
6244
  var reader = new jspb.BinaryReader(bytes);
6601
- var msg = new proto.talk_api.AssistantConversationAssistantTransferAction();
6602
- return proto.talk_api.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader(msg, reader);
6245
+ var msg = new proto.AssistantConversationAssistantTransferAction();
6246
+ return proto.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader(msg, reader);
6603
6247
  };
6604
- proto.talk_api.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader = function(msg, reader) {
6248
+ proto.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader = function(msg, reader) {
6605
6249
  while (reader.nextField()) {
6606
6250
  if (reader.isEndGroup()) {
6607
6251
  break;
@@ -6615,19 +6259,19 @@ var require_talk_api_pb = __commonJS({
6615
6259
  }
6616
6260
  return msg;
6617
6261
  };
6618
- proto.talk_api.AssistantConversationAssistantTransferAction.prototype.serializeBinary = function() {
6262
+ proto.AssistantConversationAssistantTransferAction.prototype.serializeBinary = function() {
6619
6263
  var writer = new jspb.BinaryWriter();
6620
- proto.talk_api.AssistantConversationAssistantTransferAction.serializeBinaryToWriter(this, writer);
6264
+ proto.AssistantConversationAssistantTransferAction.serializeBinaryToWriter(this, writer);
6621
6265
  return writer.getResultBuffer();
6622
6266
  };
6623
- proto.talk_api.AssistantConversationAssistantTransferAction.serializeBinaryToWriter = function(message, writer) {
6267
+ proto.AssistantConversationAssistantTransferAction.serializeBinaryToWriter = function(message, writer) {
6624
6268
  var f = void 0;
6625
6269
  };
6626
6270
  if (jspb.Message.GENERATE_TO_OBJECT) {
6627
- proto.talk_api.AssistantConversationPhoneCallTransferAction.prototype.toObject = function(opt_includeInstance) {
6628
- return proto.talk_api.AssistantConversationPhoneCallTransferAction.toObject(opt_includeInstance, this);
6271
+ proto.AssistantConversationPhoneCallTransferAction.prototype.toObject = function(opt_includeInstance) {
6272
+ return proto.AssistantConversationPhoneCallTransferAction.toObject(opt_includeInstance, this);
6629
6273
  };
6630
- proto.talk_api.AssistantConversationPhoneCallTransferAction.toObject = function(includeInstance, msg) {
6274
+ proto.AssistantConversationPhoneCallTransferAction.toObject = function(includeInstance, msg) {
6631
6275
  var f, obj = {};
6632
6276
  if (includeInstance) {
6633
6277
  obj.$jspbMessageInstance = msg;
@@ -6635,12 +6279,12 @@ var require_talk_api_pb = __commonJS({
6635
6279
  return obj;
6636
6280
  };
6637
6281
  }
6638
- proto.talk_api.AssistantConversationPhoneCallTransferAction.deserializeBinary = function(bytes) {
6282
+ proto.AssistantConversationPhoneCallTransferAction.deserializeBinary = function(bytes) {
6639
6283
  var reader = new jspb.BinaryReader(bytes);
6640
- var msg = new proto.talk_api.AssistantConversationPhoneCallTransferAction();
6641
- return proto.talk_api.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader(msg, reader);
6284
+ var msg = new proto.AssistantConversationPhoneCallTransferAction();
6285
+ return proto.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader(msg, reader);
6642
6286
  };
6643
- proto.talk_api.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader = function(msg, reader) {
6287
+ proto.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader = function(msg, reader) {
6644
6288
  while (reader.nextField()) {
6645
6289
  if (reader.isEndGroup()) {
6646
6290
  break;
@@ -6654,19 +6298,19 @@ var require_talk_api_pb = __commonJS({
6654
6298
  }
6655
6299
  return msg;
6656
6300
  };
6657
- proto.talk_api.AssistantConversationPhoneCallTransferAction.prototype.serializeBinary = function() {
6301
+ proto.AssistantConversationPhoneCallTransferAction.prototype.serializeBinary = function() {
6658
6302
  var writer = new jspb.BinaryWriter();
6659
- proto.talk_api.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter(this, writer);
6303
+ proto.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter(this, writer);
6660
6304
  return writer.getResultBuffer();
6661
6305
  };
6662
- proto.talk_api.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter = function(message, writer) {
6306
+ proto.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter = function(message, writer) {
6663
6307
  var f = void 0;
6664
6308
  };
6665
6309
  if (jspb.Message.GENERATE_TO_OBJECT) {
6666
- proto.talk_api.AssistantConversationInterruption.prototype.toObject = function(opt_includeInstance) {
6667
- return proto.talk_api.AssistantConversationInterruption.toObject(opt_includeInstance, this);
6310
+ proto.AssistantConversationInterruption.prototype.toObject = function(opt_includeInstance) {
6311
+ return proto.AssistantConversationInterruption.toObject(opt_includeInstance, this);
6668
6312
  };
6669
- proto.talk_api.AssistantConversationInterruption.toObject = function(includeInstance, msg) {
6313
+ proto.AssistantConversationInterruption.toObject = function(includeInstance, msg) {
6670
6314
  var f, obj = {
6671
6315
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
6672
6316
  type: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -6678,12 +6322,12 @@ var require_talk_api_pb = __commonJS({
6678
6322
  return obj;
6679
6323
  };
6680
6324
  }
6681
- proto.talk_api.AssistantConversationInterruption.deserializeBinary = function(bytes) {
6325
+ proto.AssistantConversationInterruption.deserializeBinary = function(bytes) {
6682
6326
  var reader = new jspb.BinaryReader(bytes);
6683
- var msg = new proto.talk_api.AssistantConversationInterruption();
6684
- return proto.talk_api.AssistantConversationInterruption.deserializeBinaryFromReader(msg, reader);
6327
+ var msg = new proto.AssistantConversationInterruption();
6328
+ return proto.AssistantConversationInterruption.deserializeBinaryFromReader(msg, reader);
6685
6329
  };
6686
- proto.talk_api.AssistantConversationInterruption.deserializeBinaryFromReader = function(msg, reader) {
6330
+ proto.AssistantConversationInterruption.deserializeBinaryFromReader = function(msg, reader) {
6687
6331
  while (reader.nextField()) {
6688
6332
  if (reader.isEndGroup()) {
6689
6333
  break;
@@ -6699,7 +6343,7 @@ var require_talk_api_pb = __commonJS({
6699
6343
  break;
6700
6344
  case 2:
6701
6345
  var value = (
6702
- /** @type {!proto.talk_api.AssistantConversationInterruption.InterruptionType} */
6346
+ /** @type {!proto.AssistantConversationInterruption.InterruptionType} */
6703
6347
  reader.readEnum()
6704
6348
  );
6705
6349
  msg.setType(value);
@@ -6716,12 +6360,12 @@ var require_talk_api_pb = __commonJS({
6716
6360
  }
6717
6361
  return msg;
6718
6362
  };
6719
- proto.talk_api.AssistantConversationInterruption.prototype.serializeBinary = function() {
6363
+ proto.AssistantConversationInterruption.prototype.serializeBinary = function() {
6720
6364
  var writer = new jspb.BinaryWriter();
6721
- proto.talk_api.AssistantConversationInterruption.serializeBinaryToWriter(this, writer);
6365
+ proto.AssistantConversationInterruption.serializeBinaryToWriter(this, writer);
6722
6366
  return writer.getResultBuffer();
6723
6367
  };
6724
- proto.talk_api.AssistantConversationInterruption.serializeBinaryToWriter = function(message, writer) {
6368
+ proto.AssistantConversationInterruption.serializeBinaryToWriter = function(message, writer) {
6725
6369
  var f = void 0;
6726
6370
  f = message.getId();
6727
6371
  if (f.length > 0) {
@@ -6746,49 +6390,49 @@ var require_talk_api_pb = __commonJS({
6746
6390
  );
6747
6391
  }
6748
6392
  };
6749
- proto.talk_api.AssistantConversationInterruption.InterruptionType = {
6393
+ proto.AssistantConversationInterruption.InterruptionType = {
6750
6394
  INTERRUPTION_TYPE_UNSPECIFIED: 0,
6751
6395
  INTERRUPTION_TYPE_VAD: 1,
6752
6396
  INTERRUPTION_TYPE_WORD: 2
6753
6397
  };
6754
- proto.talk_api.AssistantConversationInterruption.prototype.getId = function() {
6398
+ proto.AssistantConversationInterruption.prototype.getId = function() {
6755
6399
  return (
6756
6400
  /** @type {string} */
6757
6401
  jspb.Message.getFieldWithDefault(this, 1, "")
6758
6402
  );
6759
6403
  };
6760
- proto.talk_api.AssistantConversationInterruption.prototype.setId = function(value) {
6404
+ proto.AssistantConversationInterruption.prototype.setId = function(value) {
6761
6405
  return jspb.Message.setProto3StringField(this, 1, value);
6762
6406
  };
6763
- proto.talk_api.AssistantConversationInterruption.prototype.getType = function() {
6407
+ proto.AssistantConversationInterruption.prototype.getType = function() {
6764
6408
  return (
6765
- /** @type {!proto.talk_api.AssistantConversationInterruption.InterruptionType} */
6409
+ /** @type {!proto.AssistantConversationInterruption.InterruptionType} */
6766
6410
  jspb.Message.getFieldWithDefault(this, 2, 0)
6767
6411
  );
6768
6412
  };
6769
- proto.talk_api.AssistantConversationInterruption.prototype.setType = function(value) {
6413
+ proto.AssistantConversationInterruption.prototype.setType = function(value) {
6770
6414
  return jspb.Message.setProto3EnumField(this, 2, value);
6771
6415
  };
6772
- proto.talk_api.AssistantConversationInterruption.prototype.getTime = function() {
6416
+ proto.AssistantConversationInterruption.prototype.getTime = function() {
6773
6417
  return (
6774
6418
  /** @type{?proto.google.protobuf.Timestamp} */
6775
6419
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)
6776
6420
  );
6777
6421
  };
6778
- proto.talk_api.AssistantConversationInterruption.prototype.setTime = function(value) {
6422
+ proto.AssistantConversationInterruption.prototype.setTime = function(value) {
6779
6423
  return jspb.Message.setWrapperField(this, 3, value);
6780
6424
  };
6781
- proto.talk_api.AssistantConversationInterruption.prototype.clearTime = function() {
6425
+ proto.AssistantConversationInterruption.prototype.clearTime = function() {
6782
6426
  return this.setTime(void 0);
6783
6427
  };
6784
- proto.talk_api.AssistantConversationInterruption.prototype.hasTime = function() {
6428
+ proto.AssistantConversationInterruption.prototype.hasTime = function() {
6785
6429
  return jspb.Message.getField(this, 3) != null;
6786
6430
  };
6787
6431
  if (jspb.Message.GENERATE_TO_OBJECT) {
6788
- proto.talk_api.AssistantConversationMessageTextContent.prototype.toObject = function(opt_includeInstance) {
6789
- return proto.talk_api.AssistantConversationMessageTextContent.toObject(opt_includeInstance, this);
6432
+ proto.AssistantConversationMessageTextContent.prototype.toObject = function(opt_includeInstance) {
6433
+ return proto.AssistantConversationMessageTextContent.toObject(opt_includeInstance, this);
6790
6434
  };
6791
- proto.talk_api.AssistantConversationMessageTextContent.toObject = function(includeInstance, msg) {
6435
+ proto.AssistantConversationMessageTextContent.toObject = function(includeInstance, msg) {
6792
6436
  var f, obj = {
6793
6437
  content: jspb.Message.getFieldWithDefault(msg, 1, "")
6794
6438
  };
@@ -6798,12 +6442,12 @@ var require_talk_api_pb = __commonJS({
6798
6442
  return obj;
6799
6443
  };
6800
6444
  }
6801
- proto.talk_api.AssistantConversationMessageTextContent.deserializeBinary = function(bytes) {
6445
+ proto.AssistantConversationMessageTextContent.deserializeBinary = function(bytes) {
6802
6446
  var reader = new jspb.BinaryReader(bytes);
6803
- var msg = new proto.talk_api.AssistantConversationMessageTextContent();
6804
- return proto.talk_api.AssistantConversationMessageTextContent.deserializeBinaryFromReader(msg, reader);
6447
+ var msg = new proto.AssistantConversationMessageTextContent();
6448
+ return proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader(msg, reader);
6805
6449
  };
6806
- proto.talk_api.AssistantConversationMessageTextContent.deserializeBinaryFromReader = function(msg, reader) {
6450
+ proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader = function(msg, reader) {
6807
6451
  while (reader.nextField()) {
6808
6452
  if (reader.isEndGroup()) {
6809
6453
  break;
@@ -6824,12 +6468,12 @@ var require_talk_api_pb = __commonJS({
6824
6468
  }
6825
6469
  return msg;
6826
6470
  };
6827
- proto.talk_api.AssistantConversationMessageTextContent.prototype.serializeBinary = function() {
6471
+ proto.AssistantConversationMessageTextContent.prototype.serializeBinary = function() {
6828
6472
  var writer = new jspb.BinaryWriter();
6829
- proto.talk_api.AssistantConversationMessageTextContent.serializeBinaryToWriter(this, writer);
6473
+ proto.AssistantConversationMessageTextContent.serializeBinaryToWriter(this, writer);
6830
6474
  return writer.getResultBuffer();
6831
6475
  };
6832
- proto.talk_api.AssistantConversationMessageTextContent.serializeBinaryToWriter = function(message, writer) {
6476
+ proto.AssistantConversationMessageTextContent.serializeBinaryToWriter = function(message, writer) {
6833
6477
  var f = void 0;
6834
6478
  f = message.getContent();
6835
6479
  if (f.length > 0) {
@@ -6839,20 +6483,20 @@ var require_talk_api_pb = __commonJS({
6839
6483
  );
6840
6484
  }
6841
6485
  };
6842
- proto.talk_api.AssistantConversationMessageTextContent.prototype.getContent = function() {
6486
+ proto.AssistantConversationMessageTextContent.prototype.getContent = function() {
6843
6487
  return (
6844
6488
  /** @type {string} */
6845
6489
  jspb.Message.getFieldWithDefault(this, 1, "")
6846
6490
  );
6847
6491
  };
6848
- proto.talk_api.AssistantConversationMessageTextContent.prototype.setContent = function(value) {
6492
+ proto.AssistantConversationMessageTextContent.prototype.setContent = function(value) {
6849
6493
  return jspb.Message.setProto3StringField(this, 1, value);
6850
6494
  };
6851
6495
  if (jspb.Message.GENERATE_TO_OBJECT) {
6852
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.toObject = function(opt_includeInstance) {
6853
- return proto.talk_api.AssistantConversationMessageAudioContent.toObject(opt_includeInstance, this);
6496
+ proto.AssistantConversationMessageAudioContent.prototype.toObject = function(opt_includeInstance) {
6497
+ return proto.AssistantConversationMessageAudioContent.toObject(opt_includeInstance, this);
6854
6498
  };
6855
- proto.talk_api.AssistantConversationMessageAudioContent.toObject = function(includeInstance, msg) {
6499
+ proto.AssistantConversationMessageAudioContent.toObject = function(includeInstance, msg) {
6856
6500
  var f, obj = {
6857
6501
  content: msg.getContent_asB64()
6858
6502
  };
@@ -6862,12 +6506,12 @@ var require_talk_api_pb = __commonJS({
6862
6506
  return obj;
6863
6507
  };
6864
6508
  }
6865
- proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinary = function(bytes) {
6509
+ proto.AssistantConversationMessageAudioContent.deserializeBinary = function(bytes) {
6866
6510
  var reader = new jspb.BinaryReader(bytes);
6867
- var msg = new proto.talk_api.AssistantConversationMessageAudioContent();
6868
- return proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinaryFromReader(msg, reader);
6511
+ var msg = new proto.AssistantConversationMessageAudioContent();
6512
+ return proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader(msg, reader);
6869
6513
  };
6870
- proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinaryFromReader = function(msg, reader) {
6514
+ proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader = function(msg, reader) {
6871
6515
  while (reader.nextField()) {
6872
6516
  if (reader.isEndGroup()) {
6873
6517
  break;
@@ -6888,12 +6532,12 @@ var require_talk_api_pb = __commonJS({
6888
6532
  }
6889
6533
  return msg;
6890
6534
  };
6891
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.serializeBinary = function() {
6535
+ proto.AssistantConversationMessageAudioContent.prototype.serializeBinary = function() {
6892
6536
  var writer = new jspb.BinaryWriter();
6893
- proto.talk_api.AssistantConversationMessageAudioContent.serializeBinaryToWriter(this, writer);
6537
+ proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter(this, writer);
6894
6538
  return writer.getResultBuffer();
6895
6539
  };
6896
- proto.talk_api.AssistantConversationMessageAudioContent.serializeBinaryToWriter = function(message, writer) {
6540
+ proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter = function(message, writer) {
6897
6541
  var f = void 0;
6898
6542
  f = message.getContent_asU8();
6899
6543
  if (f.length > 0) {
@@ -6903,13 +6547,13 @@ var require_talk_api_pb = __commonJS({
6903
6547
  );
6904
6548
  }
6905
6549
  };
6906
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.getContent = function() {
6550
+ proto.AssistantConversationMessageAudioContent.prototype.getContent = function() {
6907
6551
  return (
6908
6552
  /** @type {!(string|Uint8Array)} */
6909
6553
  jspb.Message.getFieldWithDefault(this, 1, "")
6910
6554
  );
6911
6555
  };
6912
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.getContent_asB64 = function() {
6556
+ proto.AssistantConversationMessageAudioContent.prototype.getContent_asB64 = function() {
6913
6557
  return (
6914
6558
  /** @type {string} */
6915
6559
  jspb.Message.bytesAsB64(
@@ -6917,7 +6561,7 @@ var require_talk_api_pb = __commonJS({
6917
6561
  )
6918
6562
  );
6919
6563
  };
6920
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.getContent_asU8 = function() {
6564
+ proto.AssistantConversationMessageAudioContent.prototype.getContent_asU8 = function() {
6921
6565
  return (
6922
6566
  /** @type {!Uint8Array} */
6923
6567
  jspb.Message.bytesAsU8(
@@ -6925,29 +6569,29 @@ var require_talk_api_pb = __commonJS({
6925
6569
  )
6926
6570
  );
6927
6571
  };
6928
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.setContent = function(value) {
6572
+ proto.AssistantConversationMessageAudioContent.prototype.setContent = function(value) {
6929
6573
  return jspb.Message.setProto3BytesField(this, 1, value);
6930
6574
  };
6931
- proto.talk_api.AssistantConversationUserMessage.oneofGroups_ = [[10, 11]];
6932
- proto.talk_api.AssistantConversationUserMessage.MessageCase = {
6575
+ proto.AssistantConversationUserMessage.oneofGroups_ = [[10, 11]];
6576
+ proto.AssistantConversationUserMessage.MessageCase = {
6933
6577
  MESSAGE_NOT_SET: 0,
6934
6578
  AUDIO: 10,
6935
6579
  TEXT: 11
6936
6580
  };
6937
- proto.talk_api.AssistantConversationUserMessage.prototype.getMessageCase = function() {
6581
+ proto.AssistantConversationUserMessage.prototype.getMessageCase = function() {
6938
6582
  return (
6939
- /** @type {proto.talk_api.AssistantConversationUserMessage.MessageCase} */
6940
- jspb.Message.computeOneofCase(this, proto.talk_api.AssistantConversationUserMessage.oneofGroups_[0])
6583
+ /** @type {proto.AssistantConversationUserMessage.MessageCase} */
6584
+ jspb.Message.computeOneofCase(this, proto.AssistantConversationUserMessage.oneofGroups_[0])
6941
6585
  );
6942
6586
  };
6943
6587
  if (jspb.Message.GENERATE_TO_OBJECT) {
6944
- proto.talk_api.AssistantConversationUserMessage.prototype.toObject = function(opt_includeInstance) {
6945
- return proto.talk_api.AssistantConversationUserMessage.toObject(opt_includeInstance, this);
6588
+ proto.AssistantConversationUserMessage.prototype.toObject = function(opt_includeInstance) {
6589
+ return proto.AssistantConversationUserMessage.toObject(opt_includeInstance, this);
6946
6590
  };
6947
- proto.talk_api.AssistantConversationUserMessage.toObject = function(includeInstance, msg) {
6591
+ proto.AssistantConversationUserMessage.toObject = function(includeInstance, msg) {
6948
6592
  var f, obj = {
6949
- audio: (f = msg.getAudio()) && proto.talk_api.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
6950
- text: (f = msg.getText()) && proto.talk_api.AssistantConversationMessageTextContent.toObject(includeInstance, f),
6593
+ audio: (f = msg.getAudio()) && proto.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
6594
+ text: (f = msg.getText()) && proto.AssistantConversationMessageTextContent.toObject(includeInstance, f),
6951
6595
  id: jspb.Message.getFieldWithDefault(msg, 2, ""),
6952
6596
  completed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
6953
6597
  time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
@@ -6958,12 +6602,12 @@ var require_talk_api_pb = __commonJS({
6958
6602
  return obj;
6959
6603
  };
6960
6604
  }
6961
- proto.talk_api.AssistantConversationUserMessage.deserializeBinary = function(bytes) {
6605
+ proto.AssistantConversationUserMessage.deserializeBinary = function(bytes) {
6962
6606
  var reader = new jspb.BinaryReader(bytes);
6963
- var msg = new proto.talk_api.AssistantConversationUserMessage();
6964
- return proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader(msg, reader);
6607
+ var msg = new proto.AssistantConversationUserMessage();
6608
+ return proto.AssistantConversationUserMessage.deserializeBinaryFromReader(msg, reader);
6965
6609
  };
6966
- proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader = function(msg, reader) {
6610
+ proto.AssistantConversationUserMessage.deserializeBinaryFromReader = function(msg, reader) {
6967
6611
  while (reader.nextField()) {
6968
6612
  if (reader.isEndGroup()) {
6969
6613
  break;
@@ -6971,13 +6615,13 @@ var require_talk_api_pb = __commonJS({
6971
6615
  var field = reader.getFieldNumber();
6972
6616
  switch (field) {
6973
6617
  case 10:
6974
- var value = new proto.talk_api.AssistantConversationMessageAudioContent();
6975
- reader.readMessage(value, proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
6618
+ var value = new proto.AssistantConversationMessageAudioContent();
6619
+ reader.readMessage(value, proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
6976
6620
  msg.setAudio(value);
6977
6621
  break;
6978
6622
  case 11:
6979
- var value = new proto.talk_api.AssistantConversationMessageTextContent();
6980
- reader.readMessage(value, proto.talk_api.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
6623
+ var value = new proto.AssistantConversationMessageTextContent();
6624
+ reader.readMessage(value, proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
6981
6625
  msg.setText(value);
6982
6626
  break;
6983
6627
  case 2:
@@ -7006,19 +6650,19 @@ var require_talk_api_pb = __commonJS({
7006
6650
  }
7007
6651
  return msg;
7008
6652
  };
7009
- proto.talk_api.AssistantConversationUserMessage.prototype.serializeBinary = function() {
6653
+ proto.AssistantConversationUserMessage.prototype.serializeBinary = function() {
7010
6654
  var writer = new jspb.BinaryWriter();
7011
- proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter(this, writer);
6655
+ proto.AssistantConversationUserMessage.serializeBinaryToWriter(this, writer);
7012
6656
  return writer.getResultBuffer();
7013
6657
  };
7014
- proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter = function(message, writer) {
6658
+ proto.AssistantConversationUserMessage.serializeBinaryToWriter = function(message, writer) {
7015
6659
  var f = void 0;
7016
6660
  f = message.getAudio();
7017
6661
  if (f != null) {
7018
6662
  writer.writeMessage(
7019
6663
  10,
7020
6664
  f,
7021
- proto.talk_api.AssistantConversationMessageAudioContent.serializeBinaryToWriter
6665
+ proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter
7022
6666
  );
7023
6667
  }
7024
6668
  f = message.getText();
@@ -7026,7 +6670,7 @@ var require_talk_api_pb = __commonJS({
7026
6670
  writer.writeMessage(
7027
6671
  11,
7028
6672
  f,
7029
- proto.talk_api.AssistantConversationMessageTextContent.serializeBinaryToWriter
6673
+ proto.AssistantConversationMessageTextContent.serializeBinaryToWriter
7030
6674
  );
7031
6675
  }
7032
6676
  f = message.getId();
@@ -7052,89 +6696,89 @@ var require_talk_api_pb = __commonJS({
7052
6696
  );
7053
6697
  }
7054
6698
  };
7055
- proto.talk_api.AssistantConversationUserMessage.prototype.getAudio = function() {
6699
+ proto.AssistantConversationUserMessage.prototype.getAudio = function() {
7056
6700
  return (
7057
- /** @type{?proto.talk_api.AssistantConversationMessageAudioContent} */
7058
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationMessageAudioContent, 10)
6701
+ /** @type{?proto.AssistantConversationMessageAudioContent} */
6702
+ jspb.Message.getWrapperField(this, proto.AssistantConversationMessageAudioContent, 10)
7059
6703
  );
7060
6704
  };
7061
- proto.talk_api.AssistantConversationUserMessage.prototype.setAudio = function(value) {
7062
- return jspb.Message.setOneofWrapperField(this, 10, proto.talk_api.AssistantConversationUserMessage.oneofGroups_[0], value);
6705
+ proto.AssistantConversationUserMessage.prototype.setAudio = function(value) {
6706
+ return jspb.Message.setOneofWrapperField(this, 10, proto.AssistantConversationUserMessage.oneofGroups_[0], value);
7063
6707
  };
7064
- proto.talk_api.AssistantConversationUserMessage.prototype.clearAudio = function() {
6708
+ proto.AssistantConversationUserMessage.prototype.clearAudio = function() {
7065
6709
  return this.setAudio(void 0);
7066
6710
  };
7067
- proto.talk_api.AssistantConversationUserMessage.prototype.hasAudio = function() {
6711
+ proto.AssistantConversationUserMessage.prototype.hasAudio = function() {
7068
6712
  return jspb.Message.getField(this, 10) != null;
7069
6713
  };
7070
- proto.talk_api.AssistantConversationUserMessage.prototype.getText = function() {
6714
+ proto.AssistantConversationUserMessage.prototype.getText = function() {
7071
6715
  return (
7072
- /** @type{?proto.talk_api.AssistantConversationMessageTextContent} */
7073
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationMessageTextContent, 11)
6716
+ /** @type{?proto.AssistantConversationMessageTextContent} */
6717
+ jspb.Message.getWrapperField(this, proto.AssistantConversationMessageTextContent, 11)
7074
6718
  );
7075
6719
  };
7076
- proto.talk_api.AssistantConversationUserMessage.prototype.setText = function(value) {
7077
- return jspb.Message.setOneofWrapperField(this, 11, proto.talk_api.AssistantConversationUserMessage.oneofGroups_[0], value);
6720
+ proto.AssistantConversationUserMessage.prototype.setText = function(value) {
6721
+ return jspb.Message.setOneofWrapperField(this, 11, proto.AssistantConversationUserMessage.oneofGroups_[0], value);
7078
6722
  };
7079
- proto.talk_api.AssistantConversationUserMessage.prototype.clearText = function() {
6723
+ proto.AssistantConversationUserMessage.prototype.clearText = function() {
7080
6724
  return this.setText(void 0);
7081
6725
  };
7082
- proto.talk_api.AssistantConversationUserMessage.prototype.hasText = function() {
6726
+ proto.AssistantConversationUserMessage.prototype.hasText = function() {
7083
6727
  return jspb.Message.getField(this, 11) != null;
7084
6728
  };
7085
- proto.talk_api.AssistantConversationUserMessage.prototype.getId = function() {
6729
+ proto.AssistantConversationUserMessage.prototype.getId = function() {
7086
6730
  return (
7087
6731
  /** @type {string} */
7088
6732
  jspb.Message.getFieldWithDefault(this, 2, "")
7089
6733
  );
7090
6734
  };
7091
- proto.talk_api.AssistantConversationUserMessage.prototype.setId = function(value) {
6735
+ proto.AssistantConversationUserMessage.prototype.setId = function(value) {
7092
6736
  return jspb.Message.setProto3StringField(this, 2, value);
7093
6737
  };
7094
- proto.talk_api.AssistantConversationUserMessage.prototype.getCompleted = function() {
6738
+ proto.AssistantConversationUserMessage.prototype.getCompleted = function() {
7095
6739
  return (
7096
6740
  /** @type {boolean} */
7097
6741
  jspb.Message.getBooleanFieldWithDefault(this, 3, false)
7098
6742
  );
7099
6743
  };
7100
- proto.talk_api.AssistantConversationUserMessage.prototype.setCompleted = function(value) {
6744
+ proto.AssistantConversationUserMessage.prototype.setCompleted = function(value) {
7101
6745
  return jspb.Message.setProto3BooleanField(this, 3, value);
7102
6746
  };
7103
- proto.talk_api.AssistantConversationUserMessage.prototype.getTime = function() {
6747
+ proto.AssistantConversationUserMessage.prototype.getTime = function() {
7104
6748
  return (
7105
6749
  /** @type{?proto.google.protobuf.Timestamp} */
7106
6750
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)
7107
6751
  );
7108
6752
  };
7109
- proto.talk_api.AssistantConversationUserMessage.prototype.setTime = function(value) {
6753
+ proto.AssistantConversationUserMessage.prototype.setTime = function(value) {
7110
6754
  return jspb.Message.setWrapperField(this, 4, value);
7111
6755
  };
7112
- proto.talk_api.AssistantConversationUserMessage.prototype.clearTime = function() {
6756
+ proto.AssistantConversationUserMessage.prototype.clearTime = function() {
7113
6757
  return this.setTime(void 0);
7114
6758
  };
7115
- proto.talk_api.AssistantConversationUserMessage.prototype.hasTime = function() {
6759
+ proto.AssistantConversationUserMessage.prototype.hasTime = function() {
7116
6760
  return jspb.Message.getField(this, 4) != null;
7117
6761
  };
7118
- proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_ = [[10, 11]];
7119
- proto.talk_api.AssistantConversationAssistantMessage.MessageCase = {
6762
+ proto.AssistantConversationAssistantMessage.oneofGroups_ = [[10, 11]];
6763
+ proto.AssistantConversationAssistantMessage.MessageCase = {
7120
6764
  MESSAGE_NOT_SET: 0,
7121
6765
  AUDIO: 10,
7122
6766
  TEXT: 11
7123
6767
  };
7124
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getMessageCase = function() {
6768
+ proto.AssistantConversationAssistantMessage.prototype.getMessageCase = function() {
7125
6769
  return (
7126
- /** @type {proto.talk_api.AssistantConversationAssistantMessage.MessageCase} */
7127
- jspb.Message.computeOneofCase(this, proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_[0])
6770
+ /** @type {proto.AssistantConversationAssistantMessage.MessageCase} */
6771
+ jspb.Message.computeOneofCase(this, proto.AssistantConversationAssistantMessage.oneofGroups_[0])
7128
6772
  );
7129
6773
  };
7130
6774
  if (jspb.Message.GENERATE_TO_OBJECT) {
7131
- proto.talk_api.AssistantConversationAssistantMessage.prototype.toObject = function(opt_includeInstance) {
7132
- return proto.talk_api.AssistantConversationAssistantMessage.toObject(opt_includeInstance, this);
6775
+ proto.AssistantConversationAssistantMessage.prototype.toObject = function(opt_includeInstance) {
6776
+ return proto.AssistantConversationAssistantMessage.toObject(opt_includeInstance, this);
7133
6777
  };
7134
- proto.talk_api.AssistantConversationAssistantMessage.toObject = function(includeInstance, msg) {
6778
+ proto.AssistantConversationAssistantMessage.toObject = function(includeInstance, msg) {
7135
6779
  var f, obj = {
7136
- audio: (f = msg.getAudio()) && proto.talk_api.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
7137
- text: (f = msg.getText()) && proto.talk_api.AssistantConversationMessageTextContent.toObject(includeInstance, f),
6780
+ audio: (f = msg.getAudio()) && proto.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
6781
+ text: (f = msg.getText()) && proto.AssistantConversationMessageTextContent.toObject(includeInstance, f),
7138
6782
  id: jspb.Message.getFieldWithDefault(msg, 2, ""),
7139
6783
  completed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
7140
6784
  time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
@@ -7145,12 +6789,12 @@ var require_talk_api_pb = __commonJS({
7145
6789
  return obj;
7146
6790
  };
7147
6791
  }
7148
- proto.talk_api.AssistantConversationAssistantMessage.deserializeBinary = function(bytes) {
6792
+ proto.AssistantConversationAssistantMessage.deserializeBinary = function(bytes) {
7149
6793
  var reader = new jspb.BinaryReader(bytes);
7150
- var msg = new proto.talk_api.AssistantConversationAssistantMessage();
7151
- return proto.talk_api.AssistantConversationAssistantMessage.deserializeBinaryFromReader(msg, reader);
6794
+ var msg = new proto.AssistantConversationAssistantMessage();
6795
+ return proto.AssistantConversationAssistantMessage.deserializeBinaryFromReader(msg, reader);
7152
6796
  };
7153
- proto.talk_api.AssistantConversationAssistantMessage.deserializeBinaryFromReader = function(msg, reader) {
6797
+ proto.AssistantConversationAssistantMessage.deserializeBinaryFromReader = function(msg, reader) {
7154
6798
  while (reader.nextField()) {
7155
6799
  if (reader.isEndGroup()) {
7156
6800
  break;
@@ -7158,13 +6802,13 @@ var require_talk_api_pb = __commonJS({
7158
6802
  var field = reader.getFieldNumber();
7159
6803
  switch (field) {
7160
6804
  case 10:
7161
- var value = new proto.talk_api.AssistantConversationMessageAudioContent();
7162
- reader.readMessage(value, proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
6805
+ var value = new proto.AssistantConversationMessageAudioContent();
6806
+ reader.readMessage(value, proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
7163
6807
  msg.setAudio(value);
7164
6808
  break;
7165
6809
  case 11:
7166
- var value = new proto.talk_api.AssistantConversationMessageTextContent();
7167
- reader.readMessage(value, proto.talk_api.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
6810
+ var value = new proto.AssistantConversationMessageTextContent();
6811
+ reader.readMessage(value, proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
7168
6812
  msg.setText(value);
7169
6813
  break;
7170
6814
  case 2:
@@ -7193,19 +6837,19 @@ var require_talk_api_pb = __commonJS({
7193
6837
  }
7194
6838
  return msg;
7195
6839
  };
7196
- proto.talk_api.AssistantConversationAssistantMessage.prototype.serializeBinary = function() {
6840
+ proto.AssistantConversationAssistantMessage.prototype.serializeBinary = function() {
7197
6841
  var writer = new jspb.BinaryWriter();
7198
- proto.talk_api.AssistantConversationAssistantMessage.serializeBinaryToWriter(this, writer);
6842
+ proto.AssistantConversationAssistantMessage.serializeBinaryToWriter(this, writer);
7199
6843
  return writer.getResultBuffer();
7200
6844
  };
7201
- proto.talk_api.AssistantConversationAssistantMessage.serializeBinaryToWriter = function(message, writer) {
6845
+ proto.AssistantConversationAssistantMessage.serializeBinaryToWriter = function(message, writer) {
7202
6846
  var f = void 0;
7203
6847
  f = message.getAudio();
7204
6848
  if (f != null) {
7205
6849
  writer.writeMessage(
7206
6850
  10,
7207
6851
  f,
7208
- proto.talk_api.AssistantConversationMessageAudioContent.serializeBinaryToWriter
6852
+ proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter
7209
6853
  );
7210
6854
  }
7211
6855
  f = message.getText();
@@ -7213,7 +6857,7 @@ var require_talk_api_pb = __commonJS({
7213
6857
  writer.writeMessage(
7214
6858
  11,
7215
6859
  f,
7216
- proto.talk_api.AssistantConversationMessageTextContent.serializeBinaryToWriter
6860
+ proto.AssistantConversationMessageTextContent.serializeBinaryToWriter
7217
6861
  );
7218
6862
  }
7219
6863
  f = message.getId();
@@ -7239,69 +6883,175 @@ var require_talk_api_pb = __commonJS({
7239
6883
  );
7240
6884
  }
7241
6885
  };
7242
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getAudio = function() {
6886
+ proto.AssistantConversationAssistantMessage.prototype.getAudio = function() {
7243
6887
  return (
7244
- /** @type{?proto.talk_api.AssistantConversationMessageAudioContent} */
7245
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationMessageAudioContent, 10)
6888
+ /** @type{?proto.AssistantConversationMessageAudioContent} */
6889
+ jspb.Message.getWrapperField(this, proto.AssistantConversationMessageAudioContent, 10)
7246
6890
  );
7247
6891
  };
7248
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setAudio = function(value) {
7249
- return jspb.Message.setOneofWrapperField(this, 10, proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_[0], value);
6892
+ proto.AssistantConversationAssistantMessage.prototype.setAudio = function(value) {
6893
+ return jspb.Message.setOneofWrapperField(this, 10, proto.AssistantConversationAssistantMessage.oneofGroups_[0], value);
7250
6894
  };
7251
- proto.talk_api.AssistantConversationAssistantMessage.prototype.clearAudio = function() {
6895
+ proto.AssistantConversationAssistantMessage.prototype.clearAudio = function() {
7252
6896
  return this.setAudio(void 0);
7253
6897
  };
7254
- proto.talk_api.AssistantConversationAssistantMessage.prototype.hasAudio = function() {
6898
+ proto.AssistantConversationAssistantMessage.prototype.hasAudio = function() {
7255
6899
  return jspb.Message.getField(this, 10) != null;
7256
6900
  };
7257
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getText = function() {
6901
+ proto.AssistantConversationAssistantMessage.prototype.getText = function() {
7258
6902
  return (
7259
- /** @type{?proto.talk_api.AssistantConversationMessageTextContent} */
7260
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationMessageTextContent, 11)
6903
+ /** @type{?proto.AssistantConversationMessageTextContent} */
6904
+ jspb.Message.getWrapperField(this, proto.AssistantConversationMessageTextContent, 11)
7261
6905
  );
7262
6906
  };
7263
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setText = function(value) {
7264
- return jspb.Message.setOneofWrapperField(this, 11, proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_[0], value);
6907
+ proto.AssistantConversationAssistantMessage.prototype.setText = function(value) {
6908
+ return jspb.Message.setOneofWrapperField(this, 11, proto.AssistantConversationAssistantMessage.oneofGroups_[0], value);
7265
6909
  };
7266
- proto.talk_api.AssistantConversationAssistantMessage.prototype.clearText = function() {
6910
+ proto.AssistantConversationAssistantMessage.prototype.clearText = function() {
7267
6911
  return this.setText(void 0);
7268
6912
  };
7269
- proto.talk_api.AssistantConversationAssistantMessage.prototype.hasText = function() {
6913
+ proto.AssistantConversationAssistantMessage.prototype.hasText = function() {
7270
6914
  return jspb.Message.getField(this, 11) != null;
7271
6915
  };
7272
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getId = function() {
6916
+ proto.AssistantConversationAssistantMessage.prototype.getId = function() {
7273
6917
  return (
7274
6918
  /** @type {string} */
7275
6919
  jspb.Message.getFieldWithDefault(this, 2, "")
7276
6920
  );
7277
6921
  };
7278
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setId = function(value) {
6922
+ proto.AssistantConversationAssistantMessage.prototype.setId = function(value) {
7279
6923
  return jspb.Message.setProto3StringField(this, 2, value);
7280
6924
  };
7281
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getCompleted = function() {
6925
+ proto.AssistantConversationAssistantMessage.prototype.getCompleted = function() {
7282
6926
  return (
7283
6927
  /** @type {boolean} */
7284
6928
  jspb.Message.getBooleanFieldWithDefault(this, 3, false)
7285
6929
  );
7286
6930
  };
7287
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setCompleted = function(value) {
6931
+ proto.AssistantConversationAssistantMessage.prototype.setCompleted = function(value) {
7288
6932
  return jspb.Message.setProto3BooleanField(this, 3, value);
7289
6933
  };
7290
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getTime = function() {
6934
+ proto.AssistantConversationAssistantMessage.prototype.getTime = function() {
7291
6935
  return (
7292
6936
  /** @type{?proto.google.protobuf.Timestamp} */
7293
6937
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)
7294
6938
  );
7295
6939
  };
7296
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setTime = function(value) {
6940
+ proto.AssistantConversationAssistantMessage.prototype.setTime = function(value) {
7297
6941
  return jspb.Message.setWrapperField(this, 4, value);
7298
6942
  };
7299
- proto.talk_api.AssistantConversationAssistantMessage.prototype.clearTime = function() {
6943
+ proto.AssistantConversationAssistantMessage.prototype.clearTime = function() {
7300
6944
  return this.setTime(void 0);
7301
6945
  };
7302
- proto.talk_api.AssistantConversationAssistantMessage.prototype.hasTime = function() {
6946
+ proto.AssistantConversationAssistantMessage.prototype.hasTime = function() {
7303
6947
  return jspb.Message.getField(this, 4) != null;
7304
6948
  };
6949
+ proto.Source = {
6950
+ WEB_PLUGIN: 0,
6951
+ DEBUGGER: 1,
6952
+ SDK: 2,
6953
+ PHONE_CALL: 3,
6954
+ WHATSAPP: 4
6955
+ };
6956
+ goog.object.extend(exports2, proto);
6957
+ }
6958
+ });
6959
+
6960
+ // src/clients/protos/talk-api_pb.js
6961
+ var require_talk_api_pb = __commonJS({
6962
+ "src/clients/protos/talk-api_pb.js"(exports2) {
6963
+ "use strict";
6964
+ var jspb = require("google-protobuf");
6965
+ var goog = jspb;
6966
+ var global = function() {
6967
+ return this || window || global || self || Function("return this")();
6968
+ }.call(null);
6969
+ var google_protobuf_any_pb = require("google-protobuf/google/protobuf/any_pb.js");
6970
+ goog.object.extend(proto, google_protobuf_any_pb);
6971
+ var common_pb = require_common_pb();
6972
+ goog.object.extend(proto, common_pb);
6973
+ goog.exportSymbol("proto.talk_api.AssistantMessagingRequest", null, global);
6974
+ goog.exportSymbol("proto.talk_api.AssistantMessagingRequest.RequestCase", null, global);
6975
+ goog.exportSymbol("proto.talk_api.AssistantMessagingResponse", null, global);
6976
+ goog.exportSymbol("proto.talk_api.AssistantMessagingResponse.DataCase", null, global);
6977
+ goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallRequest", null, global);
6978
+ goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallResponse", null, global);
6979
+ goog.exportSymbol("proto.talk_api.CreateConversationMetricRequest", null, global);
6980
+ goog.exportSymbol("proto.talk_api.CreateConversationMetricResponse", null, global);
6981
+ goog.exportSymbol("proto.talk_api.CreateMessageMetricRequest", null, global);
6982
+ goog.exportSymbol("proto.talk_api.CreateMessageMetricResponse", null, global);
6983
+ goog.exportSymbol("proto.talk_api.CreatePhoneCallRequest", null, global);
6984
+ goog.exportSymbol("proto.talk_api.CreatePhoneCallResponse", null, global);
6985
+ proto.talk_api.AssistantMessagingRequest = function(opt_data) {
6986
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingRequest.oneofGroups_);
6987
+ };
6988
+ goog.inherits(proto.talk_api.AssistantMessagingRequest, jspb.Message);
6989
+ if (goog.DEBUG && !COMPILED) {
6990
+ proto.talk_api.AssistantMessagingRequest.displayName = "proto.talk_api.AssistantMessagingRequest";
6991
+ }
6992
+ proto.talk_api.AssistantMessagingResponse = function(opt_data) {
6993
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingResponse.oneofGroups_);
6994
+ };
6995
+ goog.inherits(proto.talk_api.AssistantMessagingResponse, jspb.Message);
6996
+ if (goog.DEBUG && !COMPILED) {
6997
+ proto.talk_api.AssistantMessagingResponse.displayName = "proto.talk_api.AssistantMessagingResponse";
6998
+ }
6999
+ proto.talk_api.CreateMessageMetricRequest = function(opt_data) {
7000
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricRequest.repeatedFields_, null);
7001
+ };
7002
+ goog.inherits(proto.talk_api.CreateMessageMetricRequest, jspb.Message);
7003
+ if (goog.DEBUG && !COMPILED) {
7004
+ proto.talk_api.CreateMessageMetricRequest.displayName = "proto.talk_api.CreateMessageMetricRequest";
7005
+ }
7006
+ proto.talk_api.CreateMessageMetricResponse = function(opt_data) {
7007
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricResponse.repeatedFields_, null);
7008
+ };
7009
+ goog.inherits(proto.talk_api.CreateMessageMetricResponse, jspb.Message);
7010
+ if (goog.DEBUG && !COMPILED) {
7011
+ proto.talk_api.CreateMessageMetricResponse.displayName = "proto.talk_api.CreateMessageMetricResponse";
7012
+ }
7013
+ proto.talk_api.CreateConversationMetricRequest = function(opt_data) {
7014
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricRequest.repeatedFields_, null);
7015
+ };
7016
+ goog.inherits(proto.talk_api.CreateConversationMetricRequest, jspb.Message);
7017
+ if (goog.DEBUG && !COMPILED) {
7018
+ proto.talk_api.CreateConversationMetricRequest.displayName = "proto.talk_api.CreateConversationMetricRequest";
7019
+ }
7020
+ proto.talk_api.CreateConversationMetricResponse = function(opt_data) {
7021
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricResponse.repeatedFields_, null);
7022
+ };
7023
+ goog.inherits(proto.talk_api.CreateConversationMetricResponse, jspb.Message);
7024
+ if (goog.DEBUG && !COMPILED) {
7025
+ proto.talk_api.CreateConversationMetricResponse.displayName = "proto.talk_api.CreateConversationMetricResponse";
7026
+ }
7027
+ proto.talk_api.CreatePhoneCallRequest = function(opt_data) {
7028
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7029
+ };
7030
+ goog.inherits(proto.talk_api.CreatePhoneCallRequest, jspb.Message);
7031
+ if (goog.DEBUG && !COMPILED) {
7032
+ proto.talk_api.CreatePhoneCallRequest.displayName = "proto.talk_api.CreatePhoneCallRequest";
7033
+ }
7034
+ proto.talk_api.CreatePhoneCallResponse = function(opt_data) {
7035
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7036
+ };
7037
+ goog.inherits(proto.talk_api.CreatePhoneCallResponse, jspb.Message);
7038
+ if (goog.DEBUG && !COMPILED) {
7039
+ proto.talk_api.CreatePhoneCallResponse.displayName = "proto.talk_api.CreatePhoneCallResponse";
7040
+ }
7041
+ proto.talk_api.CreateBulkPhoneCallRequest = function(opt_data) {
7042
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallRequest.repeatedFields_, null);
7043
+ };
7044
+ goog.inherits(proto.talk_api.CreateBulkPhoneCallRequest, jspb.Message);
7045
+ if (goog.DEBUG && !COMPILED) {
7046
+ proto.talk_api.CreateBulkPhoneCallRequest.displayName = "proto.talk_api.CreateBulkPhoneCallRequest";
7047
+ }
7048
+ proto.talk_api.CreateBulkPhoneCallResponse = function(opt_data) {
7049
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallResponse.repeatedFields_, null);
7050
+ };
7051
+ goog.inherits(proto.talk_api.CreateBulkPhoneCallResponse, jspb.Message);
7052
+ if (goog.DEBUG && !COMPILED) {
7053
+ proto.talk_api.CreateBulkPhoneCallResponse.displayName = "proto.talk_api.CreateBulkPhoneCallResponse";
7054
+ }
7305
7055
  proto.talk_api.AssistantMessagingRequest.oneofGroups_ = [[2, 3]];
7306
7056
  proto.talk_api.AssistantMessagingRequest.RequestCase = {
7307
7057
  REQUEST_NOT_SET: 0,
@@ -7320,8 +7070,8 @@ var require_talk_api_pb = __commonJS({
7320
7070
  };
7321
7071
  proto.talk_api.AssistantMessagingRequest.toObject = function(includeInstance, msg) {
7322
7072
  var f, obj = {
7323
- configuration: (f = msg.getConfiguration()) && proto.talk_api.AssistantConversationConfiguration.toObject(includeInstance, f),
7324
- message: (f = msg.getMessage()) && proto.talk_api.AssistantConversationUserMessage.toObject(includeInstance, f)
7073
+ configuration: (f = msg.getConfiguration()) && common_pb.AssistantConversationConfiguration.toObject(includeInstance, f),
7074
+ message: (f = msg.getMessage()) && common_pb.AssistantConversationUserMessage.toObject(includeInstance, f)
7325
7075
  };
7326
7076
  if (includeInstance) {
7327
7077
  obj.$jspbMessageInstance = msg;
@@ -7342,13 +7092,13 @@ var require_talk_api_pb = __commonJS({
7342
7092
  var field = reader.getFieldNumber();
7343
7093
  switch (field) {
7344
7094
  case 2:
7345
- var value = new proto.talk_api.AssistantConversationConfiguration();
7346
- reader.readMessage(value, proto.talk_api.AssistantConversationConfiguration.deserializeBinaryFromReader);
7095
+ var value = new common_pb.AssistantConversationConfiguration();
7096
+ reader.readMessage(value, common_pb.AssistantConversationConfiguration.deserializeBinaryFromReader);
7347
7097
  msg.setConfiguration(value);
7348
7098
  break;
7349
7099
  case 3:
7350
- var value = new proto.talk_api.AssistantConversationUserMessage();
7351
- reader.readMessage(value, proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader);
7100
+ var value = new common_pb.AssistantConversationUserMessage();
7101
+ reader.readMessage(value, common_pb.AssistantConversationUserMessage.deserializeBinaryFromReader);
7352
7102
  msg.setMessage(value);
7353
7103
  break;
7354
7104
  default:
@@ -7370,7 +7120,7 @@ var require_talk_api_pb = __commonJS({
7370
7120
  writer.writeMessage(
7371
7121
  2,
7372
7122
  f,
7373
- proto.talk_api.AssistantConversationConfiguration.serializeBinaryToWriter
7123
+ common_pb.AssistantConversationConfiguration.serializeBinaryToWriter
7374
7124
  );
7375
7125
  }
7376
7126
  f = message.getMessage();
@@ -7378,14 +7128,14 @@ var require_talk_api_pb = __commonJS({
7378
7128
  writer.writeMessage(
7379
7129
  3,
7380
7130
  f,
7381
- proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter
7131
+ common_pb.AssistantConversationUserMessage.serializeBinaryToWriter
7382
7132
  );
7383
7133
  }
7384
7134
  };
7385
7135
  proto.talk_api.AssistantMessagingRequest.prototype.getConfiguration = function() {
7386
7136
  return (
7387
- /** @type{?proto.talk_api.AssistantConversationConfiguration} */
7388
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationConfiguration, 2)
7137
+ /** @type{?proto.AssistantConversationConfiguration} */
7138
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationConfiguration, 2)
7389
7139
  );
7390
7140
  };
7391
7141
  proto.talk_api.AssistantMessagingRequest.prototype.setConfiguration = function(value) {
@@ -7399,8 +7149,8 @@ var require_talk_api_pb = __commonJS({
7399
7149
  };
7400
7150
  proto.talk_api.AssistantMessagingRequest.prototype.getMessage = function() {
7401
7151
  return (
7402
- /** @type{?proto.talk_api.AssistantConversationUserMessage} */
7403
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationUserMessage, 3)
7152
+ /** @type{?proto.AssistantConversationUserMessage} */
7153
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationUserMessage, 3)
7404
7154
  );
7405
7155
  };
7406
7156
  proto.talk_api.AssistantMessagingRequest.prototype.setMessage = function(value) {
@@ -7444,19 +7194,19 @@ var require_talk_api_pb = __commonJS({
7444
7194
  code: jspb.Message.getFieldWithDefault(msg, 1, 0),
7445
7195
  success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
7446
7196
  error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
7447
- configuration: (f = msg.getConfiguration()) && proto.talk_api.AssistantConversationConfiguration.toObject(includeInstance, f),
7448
- interruption: (f = msg.getInterruption()) && proto.talk_api.AssistantConversationInterruption.toObject(includeInstance, f),
7449
- user: (f = msg.getUser()) && proto.talk_api.AssistantConversationUserMessage.toObject(includeInstance, f),
7450
- assistant: (f = msg.getAssistant()) && proto.talk_api.AssistantConversationAssistantMessage.toObject(includeInstance, f),
7197
+ configuration: (f = msg.getConfiguration()) && common_pb.AssistantConversationConfiguration.toObject(includeInstance, f),
7198
+ interruption: (f = msg.getInterruption()) && common_pb.AssistantConversationInterruption.toObject(includeInstance, f),
7199
+ user: (f = msg.getUser()) && common_pb.AssistantConversationUserMessage.toObject(includeInstance, f),
7200
+ assistant: (f = msg.getAssistant()) && common_pb.AssistantConversationAssistantMessage.toObject(includeInstance, f),
7451
7201
  message: (f = msg.getMessage()) && common_pb.AssistantConversationMessage.toObject(includeInstance, f),
7452
- disconnectaction: (f = msg.getDisconnectaction()) && proto.talk_api.AssistantConversationDisconnectAction.toObject(includeInstance, f),
7453
- holdaction: (f = msg.getHoldaction()) && proto.talk_api.AssistantConverstationHoldAction.toObject(includeInstance, f),
7454
- knowledgeretrievalaction: (f = msg.getKnowledgeretrievalaction()) && proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.toObject(includeInstance, f),
7455
- apirequestaction: (f = msg.getApirequestaction()) && proto.talk_api.AssistantConverstationApiRequestAction.toObject(includeInstance, f),
7456
- endpointaction: (f = msg.getEndpointaction()) && proto.talk_api.AssistantConverstationEndpointAction.toObject(includeInstance, f),
7457
- deviationaction: (f = msg.getDeviationaction()) && proto.talk_api.AssistantConversationDeviationAction.toObject(includeInstance, f),
7458
- assistanttransferaction: (f = msg.getAssistanttransferaction()) && proto.talk_api.AssistantConversationAssistantTransferAction.toObject(includeInstance, f),
7459
- phonecalltransferaction: (f = msg.getPhonecalltransferaction()) && proto.talk_api.AssistantConversationPhoneCallTransferAction.toObject(includeInstance, f)
7202
+ disconnectaction: (f = msg.getDisconnectaction()) && common_pb.AssistantConversationDisconnectAction.toObject(includeInstance, f),
7203
+ holdaction: (f = msg.getHoldaction()) && common_pb.AssistantConverstationHoldAction.toObject(includeInstance, f),
7204
+ knowledgeretrievalaction: (f = msg.getKnowledgeretrievalaction()) && common_pb.AssistantConverstationKnowledgeRetrievalAction.toObject(includeInstance, f),
7205
+ apirequestaction: (f = msg.getApirequestaction()) && common_pb.AssistantConverstationApiRequestAction.toObject(includeInstance, f),
7206
+ endpointaction: (f = msg.getEndpointaction()) && common_pb.AssistantConverstationEndpointAction.toObject(includeInstance, f),
7207
+ deviationaction: (f = msg.getDeviationaction()) && common_pb.AssistantConversationDeviationAction.toObject(includeInstance, f),
7208
+ assistanttransferaction: (f = msg.getAssistanttransferaction()) && common_pb.AssistantConversationAssistantTransferAction.toObject(includeInstance, f),
7209
+ phonecalltransferaction: (f = msg.getPhonecalltransferaction()) && common_pb.AssistantConversationPhoneCallTransferAction.toObject(includeInstance, f)
7460
7210
  };
7461
7211
  if (includeInstance) {
7462
7212
  obj.$jspbMessageInstance = msg;
@@ -7496,23 +7246,23 @@ var require_talk_api_pb = __commonJS({
7496
7246
  msg.setError(value);
7497
7247
  break;
7498
7248
  case 9:
7499
- var value = new proto.talk_api.AssistantConversationConfiguration();
7500
- reader.readMessage(value, proto.talk_api.AssistantConversationConfiguration.deserializeBinaryFromReader);
7249
+ var value = new common_pb.AssistantConversationConfiguration();
7250
+ reader.readMessage(value, common_pb.AssistantConversationConfiguration.deserializeBinaryFromReader);
7501
7251
  msg.setConfiguration(value);
7502
7252
  break;
7503
7253
  case 10:
7504
- var value = new proto.talk_api.AssistantConversationInterruption();
7505
- reader.readMessage(value, proto.talk_api.AssistantConversationInterruption.deserializeBinaryFromReader);
7254
+ var value = new common_pb.AssistantConversationInterruption();
7255
+ reader.readMessage(value, common_pb.AssistantConversationInterruption.deserializeBinaryFromReader);
7506
7256
  msg.setInterruption(value);
7507
7257
  break;
7508
7258
  case 11:
7509
- var value = new proto.talk_api.AssistantConversationUserMessage();
7510
- reader.readMessage(value, proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader);
7259
+ var value = new common_pb.AssistantConversationUserMessage();
7260
+ reader.readMessage(value, common_pb.AssistantConversationUserMessage.deserializeBinaryFromReader);
7511
7261
  msg.setUser(value);
7512
7262
  break;
7513
7263
  case 12:
7514
- var value = new proto.talk_api.AssistantConversationAssistantMessage();
7515
- reader.readMessage(value, proto.talk_api.AssistantConversationAssistantMessage.deserializeBinaryFromReader);
7264
+ var value = new common_pb.AssistantConversationAssistantMessage();
7265
+ reader.readMessage(value, common_pb.AssistantConversationAssistantMessage.deserializeBinaryFromReader);
7516
7266
  msg.setAssistant(value);
7517
7267
  break;
7518
7268
  case 13:
@@ -7521,43 +7271,43 @@ var require_talk_api_pb = __commonJS({
7521
7271
  msg.setMessage(value);
7522
7272
  break;
7523
7273
  case 14:
7524
- var value = new proto.talk_api.AssistantConversationDisconnectAction();
7525
- reader.readMessage(value, proto.talk_api.AssistantConversationDisconnectAction.deserializeBinaryFromReader);
7274
+ var value = new common_pb.AssistantConversationDisconnectAction();
7275
+ reader.readMessage(value, common_pb.AssistantConversationDisconnectAction.deserializeBinaryFromReader);
7526
7276
  msg.setDisconnectaction(value);
7527
7277
  break;
7528
7278
  case 15:
7529
- var value = new proto.talk_api.AssistantConverstationHoldAction();
7530
- reader.readMessage(value, proto.talk_api.AssistantConverstationHoldAction.deserializeBinaryFromReader);
7279
+ var value = new common_pb.AssistantConverstationHoldAction();
7280
+ reader.readMessage(value, common_pb.AssistantConverstationHoldAction.deserializeBinaryFromReader);
7531
7281
  msg.setHoldaction(value);
7532
7282
  break;
7533
7283
  case 16:
7534
- var value = new proto.talk_api.AssistantConverstationKnowledgeRetrievalAction();
7535
- reader.readMessage(value, proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader);
7284
+ var value = new common_pb.AssistantConverstationKnowledgeRetrievalAction();
7285
+ reader.readMessage(value, common_pb.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader);
7536
7286
  msg.setKnowledgeretrievalaction(value);
7537
7287
  break;
7538
7288
  case 17:
7539
- var value = new proto.talk_api.AssistantConverstationApiRequestAction();
7540
- reader.readMessage(value, proto.talk_api.AssistantConverstationApiRequestAction.deserializeBinaryFromReader);
7289
+ var value = new common_pb.AssistantConverstationApiRequestAction();
7290
+ reader.readMessage(value, common_pb.AssistantConverstationApiRequestAction.deserializeBinaryFromReader);
7541
7291
  msg.setApirequestaction(value);
7542
7292
  break;
7543
7293
  case 18:
7544
- var value = new proto.talk_api.AssistantConverstationEndpointAction();
7545
- reader.readMessage(value, proto.talk_api.AssistantConverstationEndpointAction.deserializeBinaryFromReader);
7294
+ var value = new common_pb.AssistantConverstationEndpointAction();
7295
+ reader.readMessage(value, common_pb.AssistantConverstationEndpointAction.deserializeBinaryFromReader);
7546
7296
  msg.setEndpointaction(value);
7547
7297
  break;
7548
7298
  case 19:
7549
- var value = new proto.talk_api.AssistantConversationDeviationAction();
7550
- reader.readMessage(value, proto.talk_api.AssistantConversationDeviationAction.deserializeBinaryFromReader);
7299
+ var value = new common_pb.AssistantConversationDeviationAction();
7300
+ reader.readMessage(value, common_pb.AssistantConversationDeviationAction.deserializeBinaryFromReader);
7551
7301
  msg.setDeviationaction(value);
7552
7302
  break;
7553
7303
  case 20:
7554
- var value = new proto.talk_api.AssistantConversationAssistantTransferAction();
7555
- reader.readMessage(value, proto.talk_api.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader);
7304
+ var value = new common_pb.AssistantConversationAssistantTransferAction();
7305
+ reader.readMessage(value, common_pb.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader);
7556
7306
  msg.setAssistanttransferaction(value);
7557
7307
  break;
7558
7308
  case 21:
7559
- var value = new proto.talk_api.AssistantConversationPhoneCallTransferAction();
7560
- reader.readMessage(value, proto.talk_api.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader);
7309
+ var value = new common_pb.AssistantConversationPhoneCallTransferAction();
7310
+ reader.readMessage(value, common_pb.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader);
7561
7311
  msg.setPhonecalltransferaction(value);
7562
7312
  break;
7563
7313
  default:
@@ -7601,7 +7351,7 @@ var require_talk_api_pb = __commonJS({
7601
7351
  writer.writeMessage(
7602
7352
  9,
7603
7353
  f,
7604
- proto.talk_api.AssistantConversationConfiguration.serializeBinaryToWriter
7354
+ common_pb.AssistantConversationConfiguration.serializeBinaryToWriter
7605
7355
  );
7606
7356
  }
7607
7357
  f = message.getInterruption();
@@ -7609,7 +7359,7 @@ var require_talk_api_pb = __commonJS({
7609
7359
  writer.writeMessage(
7610
7360
  10,
7611
7361
  f,
7612
- proto.talk_api.AssistantConversationInterruption.serializeBinaryToWriter
7362
+ common_pb.AssistantConversationInterruption.serializeBinaryToWriter
7613
7363
  );
7614
7364
  }
7615
7365
  f = message.getUser();
@@ -7617,7 +7367,7 @@ var require_talk_api_pb = __commonJS({
7617
7367
  writer.writeMessage(
7618
7368
  11,
7619
7369
  f,
7620
- proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter
7370
+ common_pb.AssistantConversationUserMessage.serializeBinaryToWriter
7621
7371
  );
7622
7372
  }
7623
7373
  f = message.getAssistant();
@@ -7625,7 +7375,7 @@ var require_talk_api_pb = __commonJS({
7625
7375
  writer.writeMessage(
7626
7376
  12,
7627
7377
  f,
7628
- proto.talk_api.AssistantConversationAssistantMessage.serializeBinaryToWriter
7378
+ common_pb.AssistantConversationAssistantMessage.serializeBinaryToWriter
7629
7379
  );
7630
7380
  }
7631
7381
  f = message.getMessage();
@@ -7641,7 +7391,7 @@ var require_talk_api_pb = __commonJS({
7641
7391
  writer.writeMessage(
7642
7392
  14,
7643
7393
  f,
7644
- proto.talk_api.AssistantConversationDisconnectAction.serializeBinaryToWriter
7394
+ common_pb.AssistantConversationDisconnectAction.serializeBinaryToWriter
7645
7395
  );
7646
7396
  }
7647
7397
  f = message.getHoldaction();
@@ -7649,7 +7399,7 @@ var require_talk_api_pb = __commonJS({
7649
7399
  writer.writeMessage(
7650
7400
  15,
7651
7401
  f,
7652
- proto.talk_api.AssistantConverstationHoldAction.serializeBinaryToWriter
7402
+ common_pb.AssistantConverstationHoldAction.serializeBinaryToWriter
7653
7403
  );
7654
7404
  }
7655
7405
  f = message.getKnowledgeretrievalaction();
@@ -7657,7 +7407,7 @@ var require_talk_api_pb = __commonJS({
7657
7407
  writer.writeMessage(
7658
7408
  16,
7659
7409
  f,
7660
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter
7410
+ common_pb.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter
7661
7411
  );
7662
7412
  }
7663
7413
  f = message.getApirequestaction();
@@ -7665,7 +7415,7 @@ var require_talk_api_pb = __commonJS({
7665
7415
  writer.writeMessage(
7666
7416
  17,
7667
7417
  f,
7668
- proto.talk_api.AssistantConverstationApiRequestAction.serializeBinaryToWriter
7418
+ common_pb.AssistantConverstationApiRequestAction.serializeBinaryToWriter
7669
7419
  );
7670
7420
  }
7671
7421
  f = message.getEndpointaction();
@@ -7673,7 +7423,7 @@ var require_talk_api_pb = __commonJS({
7673
7423
  writer.writeMessage(
7674
7424
  18,
7675
7425
  f,
7676
- proto.talk_api.AssistantConverstationEndpointAction.serializeBinaryToWriter
7426
+ common_pb.AssistantConverstationEndpointAction.serializeBinaryToWriter
7677
7427
  );
7678
7428
  }
7679
7429
  f = message.getDeviationaction();
@@ -7681,7 +7431,7 @@ var require_talk_api_pb = __commonJS({
7681
7431
  writer.writeMessage(
7682
7432
  19,
7683
7433
  f,
7684
- proto.talk_api.AssistantConversationDeviationAction.serializeBinaryToWriter
7434
+ common_pb.AssistantConversationDeviationAction.serializeBinaryToWriter
7685
7435
  );
7686
7436
  }
7687
7437
  f = message.getAssistanttransferaction();
@@ -7689,7 +7439,7 @@ var require_talk_api_pb = __commonJS({
7689
7439
  writer.writeMessage(
7690
7440
  20,
7691
7441
  f,
7692
- proto.talk_api.AssistantConversationAssistantTransferAction.serializeBinaryToWriter
7442
+ common_pb.AssistantConversationAssistantTransferAction.serializeBinaryToWriter
7693
7443
  );
7694
7444
  }
7695
7445
  f = message.getPhonecalltransferaction();
@@ -7697,7 +7447,7 @@ var require_talk_api_pb = __commonJS({
7697
7447
  writer.writeMessage(
7698
7448
  21,
7699
7449
  f,
7700
- proto.talk_api.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter
7450
+ common_pb.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter
7701
7451
  );
7702
7452
  }
7703
7453
  };
@@ -7736,8 +7486,8 @@ var require_talk_api_pb = __commonJS({
7736
7486
  };
7737
7487
  proto.talk_api.AssistantMessagingResponse.prototype.getConfiguration = function() {
7738
7488
  return (
7739
- /** @type{?proto.talk_api.AssistantConversationConfiguration} */
7740
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationConfiguration, 9)
7489
+ /** @type{?proto.AssistantConversationConfiguration} */
7490
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationConfiguration, 9)
7741
7491
  );
7742
7492
  };
7743
7493
  proto.talk_api.AssistantMessagingResponse.prototype.setConfiguration = function(value) {
@@ -7751,8 +7501,8 @@ var require_talk_api_pb = __commonJS({
7751
7501
  };
7752
7502
  proto.talk_api.AssistantMessagingResponse.prototype.getInterruption = function() {
7753
7503
  return (
7754
- /** @type{?proto.talk_api.AssistantConversationInterruption} */
7755
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationInterruption, 10)
7504
+ /** @type{?proto.AssistantConversationInterruption} */
7505
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationInterruption, 10)
7756
7506
  );
7757
7507
  };
7758
7508
  proto.talk_api.AssistantMessagingResponse.prototype.setInterruption = function(value) {
@@ -7766,8 +7516,8 @@ var require_talk_api_pb = __commonJS({
7766
7516
  };
7767
7517
  proto.talk_api.AssistantMessagingResponse.prototype.getUser = function() {
7768
7518
  return (
7769
- /** @type{?proto.talk_api.AssistantConversationUserMessage} */
7770
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationUserMessage, 11)
7519
+ /** @type{?proto.AssistantConversationUserMessage} */
7520
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationUserMessage, 11)
7771
7521
  );
7772
7522
  };
7773
7523
  proto.talk_api.AssistantMessagingResponse.prototype.setUser = function(value) {
@@ -7781,8 +7531,8 @@ var require_talk_api_pb = __commonJS({
7781
7531
  };
7782
7532
  proto.talk_api.AssistantMessagingResponse.prototype.getAssistant = function() {
7783
7533
  return (
7784
- /** @type{?proto.talk_api.AssistantConversationAssistantMessage} */
7785
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationAssistantMessage, 12)
7534
+ /** @type{?proto.AssistantConversationAssistantMessage} */
7535
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationAssistantMessage, 12)
7786
7536
  );
7787
7537
  };
7788
7538
  proto.talk_api.AssistantMessagingResponse.prototype.setAssistant = function(value) {
@@ -7811,8 +7561,8 @@ var require_talk_api_pb = __commonJS({
7811
7561
  };
7812
7562
  proto.talk_api.AssistantMessagingResponse.prototype.getDisconnectaction = function() {
7813
7563
  return (
7814
- /** @type{?proto.talk_api.AssistantConversationDisconnectAction} */
7815
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationDisconnectAction, 14)
7564
+ /** @type{?proto.AssistantConversationDisconnectAction} */
7565
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationDisconnectAction, 14)
7816
7566
  );
7817
7567
  };
7818
7568
  proto.talk_api.AssistantMessagingResponse.prototype.setDisconnectaction = function(value) {
@@ -7826,8 +7576,8 @@ var require_talk_api_pb = __commonJS({
7826
7576
  };
7827
7577
  proto.talk_api.AssistantMessagingResponse.prototype.getHoldaction = function() {
7828
7578
  return (
7829
- /** @type{?proto.talk_api.AssistantConverstationHoldAction} */
7830
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConverstationHoldAction, 15)
7579
+ /** @type{?proto.AssistantConverstationHoldAction} */
7580
+ jspb.Message.getWrapperField(this, common_pb.AssistantConverstationHoldAction, 15)
7831
7581
  );
7832
7582
  };
7833
7583
  proto.talk_api.AssistantMessagingResponse.prototype.setHoldaction = function(value) {
@@ -7841,8 +7591,8 @@ var require_talk_api_pb = __commonJS({
7841
7591
  };
7842
7592
  proto.talk_api.AssistantMessagingResponse.prototype.getKnowledgeretrievalaction = function() {
7843
7593
  return (
7844
- /** @type{?proto.talk_api.AssistantConverstationKnowledgeRetrievalAction} */
7845
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConverstationKnowledgeRetrievalAction, 16)
7594
+ /** @type{?proto.AssistantConverstationKnowledgeRetrievalAction} */
7595
+ jspb.Message.getWrapperField(this, common_pb.AssistantConverstationKnowledgeRetrievalAction, 16)
7846
7596
  );
7847
7597
  };
7848
7598
  proto.talk_api.AssistantMessagingResponse.prototype.setKnowledgeretrievalaction = function(value) {
@@ -7856,8 +7606,8 @@ var require_talk_api_pb = __commonJS({
7856
7606
  };
7857
7607
  proto.talk_api.AssistantMessagingResponse.prototype.getApirequestaction = function() {
7858
7608
  return (
7859
- /** @type{?proto.talk_api.AssistantConverstationApiRequestAction} */
7860
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConverstationApiRequestAction, 17)
7609
+ /** @type{?proto.AssistantConverstationApiRequestAction} */
7610
+ jspb.Message.getWrapperField(this, common_pb.AssistantConverstationApiRequestAction, 17)
7861
7611
  );
7862
7612
  };
7863
7613
  proto.talk_api.AssistantMessagingResponse.prototype.setApirequestaction = function(value) {
@@ -7871,8 +7621,8 @@ var require_talk_api_pb = __commonJS({
7871
7621
  };
7872
7622
  proto.talk_api.AssistantMessagingResponse.prototype.getEndpointaction = function() {
7873
7623
  return (
7874
- /** @type{?proto.talk_api.AssistantConverstationEndpointAction} */
7875
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConverstationEndpointAction, 18)
7624
+ /** @type{?proto.AssistantConverstationEndpointAction} */
7625
+ jspb.Message.getWrapperField(this, common_pb.AssistantConverstationEndpointAction, 18)
7876
7626
  );
7877
7627
  };
7878
7628
  proto.talk_api.AssistantMessagingResponse.prototype.setEndpointaction = function(value) {
@@ -7886,8 +7636,8 @@ var require_talk_api_pb = __commonJS({
7886
7636
  };
7887
7637
  proto.talk_api.AssistantMessagingResponse.prototype.getDeviationaction = function() {
7888
7638
  return (
7889
- /** @type{?proto.talk_api.AssistantConversationDeviationAction} */
7890
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationDeviationAction, 19)
7639
+ /** @type{?proto.AssistantConversationDeviationAction} */
7640
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationDeviationAction, 19)
7891
7641
  );
7892
7642
  };
7893
7643
  proto.talk_api.AssistantMessagingResponse.prototype.setDeviationaction = function(value) {
@@ -7901,8 +7651,8 @@ var require_talk_api_pb = __commonJS({
7901
7651
  };
7902
7652
  proto.talk_api.AssistantMessagingResponse.prototype.getAssistanttransferaction = function() {
7903
7653
  return (
7904
- /** @type{?proto.talk_api.AssistantConversationAssistantTransferAction} */
7905
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationAssistantTransferAction, 20)
7654
+ /** @type{?proto.AssistantConversationAssistantTransferAction} */
7655
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationAssistantTransferAction, 20)
7906
7656
  );
7907
7657
  };
7908
7658
  proto.talk_api.AssistantMessagingResponse.prototype.setAssistanttransferaction = function(value) {
@@ -7916,8 +7666,8 @@ var require_talk_api_pb = __commonJS({
7916
7666
  };
7917
7667
  proto.talk_api.AssistantMessagingResponse.prototype.getPhonecalltransferaction = function() {
7918
7668
  return (
7919
- /** @type{?proto.talk_api.AssistantConversationPhoneCallTransferAction} */
7920
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationPhoneCallTransferAction, 21)
7669
+ /** @type{?proto.AssistantConversationPhoneCallTransferAction} */
7670
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationPhoneCallTransferAction, 21)
7921
7671
  );
7922
7672
  };
7923
7673
  proto.talk_api.AssistantMessagingResponse.prototype.setPhonecalltransferaction = function(value) {
@@ -27593,7 +27343,8 @@ var DeviceManager = class _DeviceManager {
27593
27343
  };
27594
27344
 
27595
27345
  // src/agents/voice-agent.ts
27596
- var import_talk_api_pb4 = __toESM(require_talk_api_pb());
27346
+ var import_talk_api_pb2 = __toESM(require_talk_api_pb());
27347
+ var import_common_pb9 = __toESM(require_common_pb());
27597
27348
 
27598
27349
  // src/agents/index.ts
27599
27350
  var import_talk_api_pb = __toESM(require_talk_api_pb());
@@ -27756,7 +27507,7 @@ function GetAssistant(connectionConfig, req, authHeader) {
27756
27507
  }
27757
27508
 
27758
27509
  // src/agents/index.ts
27759
- var import_talk_api_pb2 = __toESM(require_talk_api_pb());
27510
+ var import_common_pb6 = __toESM(require_common_pb());
27760
27511
  var Agent = class extends import_events.EventEmitter {
27761
27512
  // Connection and State Management
27762
27513
  connectionState = "disconnected" /* Disconnected */;
@@ -27987,8 +27738,8 @@ var Agent = class extends import_events.EventEmitter {
27987
27738
  */
27988
27739
  createAssistantTextMessage(content) {
27989
27740
  const request = new import_talk_api_pb.AssistantMessagingRequest();
27990
- const userMessage = new import_talk_api_pb.AssistantConversationUserMessage();
27991
- const message = new import_talk_api_pb.AssistantConversationMessageTextContent();
27741
+ const userMessage = new import_common_pb6.AssistantConversationUserMessage();
27742
+ const message = new import_common_pb6.AssistantConversationMessageTextContent();
27992
27743
  message.setContent(content);
27993
27744
  userMessage.setText(message);
27994
27745
  request.setMessage(userMessage);
@@ -28001,8 +27752,8 @@ var Agent = class extends import_events.EventEmitter {
28001
27752
  */
28002
27753
  createAssistantAudioMessage(content) {
28003
27754
  const request = new import_talk_api_pb.AssistantMessagingRequest();
28004
- const userMessage = new import_talk_api_pb.AssistantConversationUserMessage();
28005
- const message = new import_talk_api_pb2.AssistantConversationMessageAudioContent();
27755
+ const userMessage = new import_common_pb6.AssistantConversationUserMessage();
27756
+ const message = new import_common_pb6.AssistantConversationMessageAudioContent();
28006
27757
  message.setContent(content);
28007
27758
  userMessage.setAudio(message);
28008
27759
  request.setMessage(userMessage);
@@ -28039,7 +27790,7 @@ var Agent = class extends import_events.EventEmitter {
28039
27790
  */
28040
27791
  _createAssistantConfigureRequest(definition, args, metadatas, options) {
28041
27792
  const request = new import_talk_api_pb.AssistantMessagingRequest();
28042
- const assistantConfiguration = new import_talk_api_pb.AssistantConversationConfiguration();
27793
+ const assistantConfiguration = new import_common_pb6.AssistantConversationConfiguration();
28043
27794
  if (this._conversationId) {
28044
27795
  assistantConfiguration.setAssistantconversationid(this._conversationId);
28045
27796
  }
@@ -28536,10 +28287,10 @@ function arrayBufferToUint8(arrayBuffer) {
28536
28287
  }
28537
28288
 
28538
28289
  // src/types/agent-callback.ts
28539
- var import_talk_api_pb3 = __toESM(require_talk_api_pb());
28290
+ var import_common_pb8 = __toESM(require_common_pb());
28540
28291
 
28541
28292
  // src/utils/rapida_content.ts
28542
- var import_common_pb6 = __toESM(require_common_pb());
28293
+ var import_common_pb7 = __toESM(require_common_pb());
28543
28294
  var toContentText = (cnt) => {
28544
28295
  if (!cnt) return "";
28545
28296
  return cnt.filter((x) => x.getContenttype() === "text").map((x) => {
@@ -28557,9 +28308,9 @@ var ConversationUserMessage = class {
28557
28308
  if (config) {
28558
28309
  Object.assign(this, config.toObject());
28559
28310
  switch (config.getMessageCase()) {
28560
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
28561
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.AUDIO:
28562
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.TEXT:
28311
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
28312
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
28313
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
28563
28314
  this.messageText = config.getText()?.getContent();
28564
28315
  }
28565
28316
  }
@@ -28570,9 +28321,9 @@ var ConversationAssistantMessage = class {
28570
28321
  if (config) {
28571
28322
  Object.assign(this, config.toObject());
28572
28323
  switch (config.getMessageCase()) {
28573
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
28574
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.AUDIO:
28575
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.TEXT:
28324
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
28325
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
28326
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
28576
28327
  this.messageText = config.getText()?.getContent();
28577
28328
  }
28578
28329
  }
@@ -28839,13 +28590,13 @@ var VoiceAgent = class extends Agent {
28839
28590
  onHandleInterruption = (interruptionData) => {
28840
28591
  if (interruptionData) {
28841
28592
  switch (interruptionData.getType()) {
28842
- case import_talk_api_pb4.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_UNSPECIFIED:
28593
+ case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_UNSPECIFIED:
28843
28594
  console.log("Unspecified interruption type");
28844
28595
  break;
28845
- case import_talk_api_pb4.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_VAD:
28596
+ case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_VAD:
28846
28597
  this.fadeOutAudio();
28847
28598
  break;
28848
- case import_talk_api_pb4.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_WORD:
28599
+ case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_WORD:
28849
28600
  if (this.agentMessages.length > 0) {
28850
28601
  const lastIndex = this.agentMessages.length - 1;
28851
28602
  this.agentMessages[lastIndex] = {
@@ -28860,7 +28611,7 @@ var VoiceAgent = class extends Agent {
28860
28611
  }
28861
28612
  this.emit(
28862
28613
  "onConversationEvent" /* ConversationEvent */,
28863
- import_talk_api_pb4.AssistantMessagingResponse.DataCase.INTERRUPTION,
28614
+ import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION,
28864
28615
  interruptionData
28865
28616
  );
28866
28617
  }
@@ -28868,9 +28619,9 @@ var VoiceAgent = class extends Agent {
28868
28619
  onHandleUser = (userContent) => {
28869
28620
  if (userContent) {
28870
28621
  switch (userContent.getMessageCase()) {
28871
- case import_talk_api_pb4.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
28872
- case import_talk_api_pb4.AssistantConversationUserMessage.MessageCase.AUDIO:
28873
- case import_talk_api_pb4.AssistantConversationUserMessage.MessageCase.TEXT:
28622
+ case import_common_pb9.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
28623
+ case import_common_pb9.AssistantConversationUserMessage.MessageCase.AUDIO:
28624
+ case import_common_pb9.AssistantConversationUserMessage.MessageCase.TEXT:
28874
28625
  const agentTranscript = userContent.getText()?.getContent();
28875
28626
  if (agentTranscript) {
28876
28627
  if (this.agentMessages.length > 0) {
@@ -28890,7 +28641,7 @@ var VoiceAgent = class extends Agent {
28890
28641
  }
28891
28642
  this.emit(
28892
28643
  "onConversationEvent" /* ConversationEvent */,
28893
- import_talk_api_pb4.AssistantMessagingResponse.DataCase.USER,
28644
+ import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER,
28894
28645
  userContent
28895
28646
  );
28896
28647
  }
@@ -28898,14 +28649,14 @@ var VoiceAgent = class extends Agent {
28898
28649
  onHandleAssistant = (systemContent) => {
28899
28650
  if (systemContent) {
28900
28651
  switch (systemContent.getMessageCase()) {
28901
- case import_talk_api_pb4.AssistantConversationAssistantMessage.MessageCase.MESSAGE_NOT_SET:
28902
- case import_talk_api_pb4.AssistantConversationAssistantMessage.MessageCase.AUDIO:
28652
+ case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.MESSAGE_NOT_SET:
28653
+ case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.AUDIO:
28903
28654
  const content = systemContent.getAudio();
28904
28655
  if (content) {
28905
28656
  const audioData = content.getContent_asU8();
28906
28657
  this.addAudioChunk(new Uint8Array(audioData).buffer);
28907
28658
  }
28908
- case import_talk_api_pb4.AssistantConversationAssistantMessage.MessageCase.TEXT:
28659
+ case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.TEXT:
28909
28660
  const systemTranscript = systemContent.getText()?.getContent();
28910
28661
  if (systemTranscript) {
28911
28662
  if (systemContent.getCompleted()) {
@@ -28962,7 +28713,7 @@ var VoiceAgent = class extends Agent {
28962
28713
  }
28963
28714
  this.emit(
28964
28715
  "onConversationEvent" /* ConversationEvent */,
28965
- import_talk_api_pb4.AssistantMessagingResponse.DataCase.ASSISTANT,
28716
+ import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT,
28966
28717
  systemContent
28967
28718
  );
28968
28719
  }
@@ -28974,22 +28725,22 @@ var VoiceAgent = class extends Agent {
28974
28725
  */
28975
28726
  onRecieve = async (response) => {
28976
28727
  switch (response.getDataCase()) {
28977
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
28728
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
28978
28729
  break;
28979
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.INTERRUPTION:
28730
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
28980
28731
  this.onHandleInterruption(response.getInterruption());
28981
28732
  break;
28982
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.USER:
28733
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
28983
28734
  this.onHandleUser(response.getUser());
28984
28735
  break;
28985
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.ASSISTANT:
28736
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
28986
28737
  this.onHandleAssistant(response.getAssistant());
28987
28738
  break;
28988
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.CONFIGURATION:
28739
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
28989
28740
  const conversation = response.getConfiguration();
28990
28741
  if (!conversation?.getAssistantconversationid()) return;
28991
28742
  break;
28992
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.MESSAGE:
28743
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
28993
28744
  break;
28994
28745
  default:
28995
28746
  break;
@@ -29002,39 +28753,39 @@ var VoiceAgent = class extends Agent {
29002
28753
  onCallback = async (response) => {
29003
28754
  for (const agentCallback of this.agentCallbacks) {
29004
28755
  switch (response.getDataCase()) {
29005
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
28756
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
29006
28757
  break;
29007
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.APIREQUESTACTION:
28758
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.APIREQUESTACTION:
29008
28759
  if (agentCallback && agentCallback?.onAction) {
29009
28760
  agentCallback.onAction(response.getApirequestaction()?.toObject());
29010
28761
  }
29011
28762
  break;
29012
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.DISCONNECTACTION:
28763
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DISCONNECTACTION:
29013
28764
  if (agentCallback && agentCallback?.onAction) {
29014
28765
  agentCallback.onAction(response.getDisconnectaction()?.toObject());
29015
28766
  }
29016
28767
  await this.disconnect();
29017
28768
  break;
29018
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.INTERRUPTION:
28769
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
29019
28770
  if (agentCallback && agentCallback?.onInterrupt) {
29020
28771
  agentCallback.onInterrupt(response.getInterruption()?.toObject());
29021
28772
  }
29022
28773
  break;
29023
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.USER:
28774
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
29024
28775
  if (agentCallback && agentCallback?.onUserMessage) {
29025
28776
  agentCallback.onUserMessage(
29026
28777
  new ConversationUserMessage(response.getUser())
29027
28778
  );
29028
28779
  }
29029
28780
  break;
29030
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.ASSISTANT:
28781
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
29031
28782
  if (agentCallback && agentCallback?.onAssistantMessage) {
29032
28783
  agentCallback.onAssistantMessage(
29033
28784
  new ConversationAssistantMessage(response.getAssistant())
29034
28785
  );
29035
28786
  }
29036
28787
  break;
29037
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.CONFIGURATION:
28788
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
29038
28789
  if (agentCallback && agentCallback?.onConfiguration) {
29039
28790
  agentCallback.onConfiguration(
29040
28791
  response.getConfiguration()?.toObject()
@@ -29043,7 +28794,7 @@ var VoiceAgent = class extends Agent {
29043
28794
  const cnvId = response.getConfiguration()?.getAssistantconversationid();
29044
28795
  if (cnvId) this.changeConversation(cnvId);
29045
28796
  break;
29046
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.MESSAGE:
28797
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
29047
28798
  if (agentCallback && agentCallback?.onMessage) {
29048
28799
  agentCallback.onMessage(
29049
28800
  new ConversationMessage(response.getMessage())