@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.
@@ -14,15 +14,34 @@ var require_common_pb = __commonJS({
14
14
  var global = function() {
15
15
  return this || window || global || self || Function("return this")();
16
16
  }.call(null);
17
+ var google_protobuf_any_pb = __require("google-protobuf/google/protobuf/any_pb.js");
18
+ goog.object.extend(proto, google_protobuf_any_pb);
17
19
  var google_protobuf_timestamp_pb = __require("google-protobuf/google/protobuf/timestamp_pb.js");
18
20
  goog.object.extend(proto, google_protobuf_timestamp_pb);
19
21
  var google_protobuf_struct_pb = __require("google-protobuf/google/protobuf/struct_pb.js");
20
22
  goog.object.extend(proto, google_protobuf_struct_pb);
21
23
  goog.exportSymbol("proto.Argument", null, global);
22
24
  goog.exportSymbol("proto.AssistantConversation", null, global);
25
+ goog.exportSymbol("proto.AssistantConversationAssistantMessage", null, global);
26
+ goog.exportSymbol("proto.AssistantConversationAssistantMessage.MessageCase", null, global);
27
+ goog.exportSymbol("proto.AssistantConversationAssistantTransferAction", null, global);
28
+ goog.exportSymbol("proto.AssistantConversationConfiguration", null, global);
23
29
  goog.exportSymbol("proto.AssistantConversationContext", null, global);
30
+ goog.exportSymbol("proto.AssistantConversationDeviationAction", null, global);
31
+ goog.exportSymbol("proto.AssistantConversationDisconnectAction", null, global);
32
+ goog.exportSymbol("proto.AssistantConversationInterruption", null, global);
33
+ goog.exportSymbol("proto.AssistantConversationInterruption.InterruptionType", null, global);
24
34
  goog.exportSymbol("proto.AssistantConversationMessage", null, global);
35
+ goog.exportSymbol("proto.AssistantConversationMessageAudioContent", null, global);
36
+ goog.exportSymbol("proto.AssistantConversationMessageTextContent", null, global);
37
+ goog.exportSymbol("proto.AssistantConversationPhoneCallTransferAction", null, global);
25
38
  goog.exportSymbol("proto.AssistantConversationRecording", null, global);
39
+ goog.exportSymbol("proto.AssistantConversationUserMessage", null, global);
40
+ goog.exportSymbol("proto.AssistantConversationUserMessage.MessageCase", null, global);
41
+ goog.exportSymbol("proto.AssistantConverstationApiRequestAction", null, global);
42
+ goog.exportSymbol("proto.AssistantConverstationEndpointAction", null, global);
43
+ goog.exportSymbol("proto.AssistantConverstationHoldAction", null, global);
44
+ goog.exportSymbol("proto.AssistantConverstationKnowledgeRetrievalAction", null, global);
26
45
  goog.exportSymbol("proto.AssistantDefinition", null, global);
27
46
  goog.exportSymbol("proto.BaseResponse", null, global);
28
47
  goog.exportSymbol("proto.Content", null, global);
@@ -42,7 +61,6 @@ var require_common_pb = __commonJS({
42
61
  goog.exportSymbol("proto.Organization", null, global);
43
62
  goog.exportSymbol("proto.Paginate", null, global);
44
63
  goog.exportSymbol("proto.Paginated", null, global);
45
- goog.exportSymbol("proto.Provider", null, global);
46
64
  goog.exportSymbol("proto.Source", null, global);
47
65
  goog.exportSymbol("proto.Tag", null, global);
48
66
  goog.exportSymbol("proto.Telemetry", null, global);
@@ -135,13 +153,6 @@ var require_common_pb = __commonJS({
135
153
  if (goog.DEBUG && !COMPILED) {
136
154
  proto.Variable.displayName = "proto.Variable";
137
155
  }
138
- proto.Provider = function(opt_data) {
139
- jspb.Message.initialize(this, opt_data, 0, -1, proto.Provider.repeatedFields_, null);
140
- };
141
- goog.inherits(proto.Provider, jspb.Message);
142
- if (goog.DEBUG && !COMPILED) {
143
- proto.Provider.displayName = "proto.Provider";
144
- }
145
156
  proto.Tag = function(opt_data) {
146
157
  jspb.Message.initialize(this, opt_data, 0, -1, proto.Tag.repeatedFields_, null);
147
158
  };
@@ -275,6 +286,104 @@ var require_common_pb = __commonJS({
275
286
  if (goog.DEBUG && !COMPILED) {
276
287
  proto.GetAllConversationMessageResponse.displayName = "proto.GetAllConversationMessageResponse";
277
288
  }
289
+ proto.AssistantConversationConfiguration = function(opt_data) {
290
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
291
+ };
292
+ goog.inherits(proto.AssistantConversationConfiguration, jspb.Message);
293
+ if (goog.DEBUG && !COMPILED) {
294
+ proto.AssistantConversationConfiguration.displayName = "proto.AssistantConversationConfiguration";
295
+ }
296
+ proto.AssistantConversationDisconnectAction = function(opt_data) {
297
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
298
+ };
299
+ goog.inherits(proto.AssistantConversationDisconnectAction, jspb.Message);
300
+ if (goog.DEBUG && !COMPILED) {
301
+ proto.AssistantConversationDisconnectAction.displayName = "proto.AssistantConversationDisconnectAction";
302
+ }
303
+ proto.AssistantConverstationHoldAction = function(opt_data) {
304
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
305
+ };
306
+ goog.inherits(proto.AssistantConverstationHoldAction, jspb.Message);
307
+ if (goog.DEBUG && !COMPILED) {
308
+ proto.AssistantConverstationHoldAction.displayName = "proto.AssistantConverstationHoldAction";
309
+ }
310
+ proto.AssistantConverstationKnowledgeRetrievalAction = function(opt_data) {
311
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
312
+ };
313
+ goog.inherits(proto.AssistantConverstationKnowledgeRetrievalAction, jspb.Message);
314
+ if (goog.DEBUG && !COMPILED) {
315
+ proto.AssistantConverstationKnowledgeRetrievalAction.displayName = "proto.AssistantConverstationKnowledgeRetrievalAction";
316
+ }
317
+ proto.AssistantConverstationApiRequestAction = function(opt_data) {
318
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
319
+ };
320
+ goog.inherits(proto.AssistantConverstationApiRequestAction, jspb.Message);
321
+ if (goog.DEBUG && !COMPILED) {
322
+ proto.AssistantConverstationApiRequestAction.displayName = "proto.AssistantConverstationApiRequestAction";
323
+ }
324
+ proto.AssistantConverstationEndpointAction = function(opt_data) {
325
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
326
+ };
327
+ goog.inherits(proto.AssistantConverstationEndpointAction, jspb.Message);
328
+ if (goog.DEBUG && !COMPILED) {
329
+ proto.AssistantConverstationEndpointAction.displayName = "proto.AssistantConverstationEndpointAction";
330
+ }
331
+ proto.AssistantConversationDeviationAction = function(opt_data) {
332
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
333
+ };
334
+ goog.inherits(proto.AssistantConversationDeviationAction, jspb.Message);
335
+ if (goog.DEBUG && !COMPILED) {
336
+ proto.AssistantConversationDeviationAction.displayName = "proto.AssistantConversationDeviationAction";
337
+ }
338
+ proto.AssistantConversationAssistantTransferAction = function(opt_data) {
339
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
340
+ };
341
+ goog.inherits(proto.AssistantConversationAssistantTransferAction, jspb.Message);
342
+ if (goog.DEBUG && !COMPILED) {
343
+ proto.AssistantConversationAssistantTransferAction.displayName = "proto.AssistantConversationAssistantTransferAction";
344
+ }
345
+ proto.AssistantConversationPhoneCallTransferAction = function(opt_data) {
346
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
347
+ };
348
+ goog.inherits(proto.AssistantConversationPhoneCallTransferAction, jspb.Message);
349
+ if (goog.DEBUG && !COMPILED) {
350
+ proto.AssistantConversationPhoneCallTransferAction.displayName = "proto.AssistantConversationPhoneCallTransferAction";
351
+ }
352
+ proto.AssistantConversationInterruption = function(opt_data) {
353
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
354
+ };
355
+ goog.inherits(proto.AssistantConversationInterruption, jspb.Message);
356
+ if (goog.DEBUG && !COMPILED) {
357
+ proto.AssistantConversationInterruption.displayName = "proto.AssistantConversationInterruption";
358
+ }
359
+ proto.AssistantConversationMessageTextContent = function(opt_data) {
360
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
361
+ };
362
+ goog.inherits(proto.AssistantConversationMessageTextContent, jspb.Message);
363
+ if (goog.DEBUG && !COMPILED) {
364
+ proto.AssistantConversationMessageTextContent.displayName = "proto.AssistantConversationMessageTextContent";
365
+ }
366
+ proto.AssistantConversationMessageAudioContent = function(opt_data) {
367
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
368
+ };
369
+ goog.inherits(proto.AssistantConversationMessageAudioContent, jspb.Message);
370
+ if (goog.DEBUG && !COMPILED) {
371
+ proto.AssistantConversationMessageAudioContent.displayName = "proto.AssistantConversationMessageAudioContent";
372
+ }
373
+ proto.AssistantConversationUserMessage = function(opt_data) {
374
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.AssistantConversationUserMessage.oneofGroups_);
375
+ };
376
+ goog.inherits(proto.AssistantConversationUserMessage, jspb.Message);
377
+ if (goog.DEBUG && !COMPILED) {
378
+ proto.AssistantConversationUserMessage.displayName = "proto.AssistantConversationUserMessage";
379
+ }
380
+ proto.AssistantConversationAssistantMessage = function(opt_data) {
381
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.AssistantConversationAssistantMessage.oneofGroups_);
382
+ };
383
+ goog.inherits(proto.AssistantConversationAssistantMessage, jspb.Message);
384
+ if (goog.DEBUG && !COMPILED) {
385
+ proto.AssistantConversationAssistantMessage.displayName = "proto.AssistantConversationAssistantMessage";
386
+ }
278
387
  if (jspb.Message.GENERATE_TO_OBJECT) {
279
388
  proto.FieldSelector.prototype.toObject = function(opt_includeInstance) {
280
389
  return proto.FieldSelector.toObject(opt_includeInstance, this);
@@ -1614,248 +1723,6 @@ var require_common_pb = __commonJS({
1614
1723
  proto.Variable.prototype.hasDefaultvalue = function() {
1615
1724
  return jspb.Message.getField(this, 4) != null;
1616
1725
  };
1617
- proto.Provider.repeatedFields_ = [9];
1618
- if (jspb.Message.GENERATE_TO_OBJECT) {
1619
- proto.Provider.prototype.toObject = function(opt_includeInstance) {
1620
- return proto.Provider.toObject(opt_includeInstance, this);
1621
- };
1622
- proto.Provider.toObject = function(includeInstance, msg) {
1623
- var f, obj = {
1624
- id: jspb.Message.getFieldWithDefault(msg, 1, "0"),
1625
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
1626
- description: jspb.Message.getFieldWithDefault(msg, 3, ""),
1627
- humanname: jspb.Message.getFieldWithDefault(msg, 4, ""),
1628
- image: jspb.Message.getFieldWithDefault(msg, 5, ""),
1629
- website: jspb.Message.getFieldWithDefault(msg, 6, ""),
1630
- status: jspb.Message.getFieldWithDefault(msg, 7, ""),
1631
- connectconfigurationList: jspb.Message.toObjectList(
1632
- msg.getConnectconfigurationList(),
1633
- proto.Variable.toObject,
1634
- includeInstance
1635
- )
1636
- };
1637
- if (includeInstance) {
1638
- obj.$jspbMessageInstance = msg;
1639
- }
1640
- return obj;
1641
- };
1642
- }
1643
- proto.Provider.deserializeBinary = function(bytes) {
1644
- var reader = new jspb.BinaryReader(bytes);
1645
- var msg = new proto.Provider();
1646
- return proto.Provider.deserializeBinaryFromReader(msg, reader);
1647
- };
1648
- proto.Provider.deserializeBinaryFromReader = function(msg, reader) {
1649
- while (reader.nextField()) {
1650
- if (reader.isEndGroup()) {
1651
- break;
1652
- }
1653
- var field = reader.getFieldNumber();
1654
- switch (field) {
1655
- case 1:
1656
- var value = (
1657
- /** @type {string} */
1658
- reader.readUint64String()
1659
- );
1660
- msg.setId(value);
1661
- break;
1662
- case 2:
1663
- var value = (
1664
- /** @type {string} */
1665
- reader.readString()
1666
- );
1667
- msg.setName(value);
1668
- break;
1669
- case 3:
1670
- var value = (
1671
- /** @type {string} */
1672
- reader.readString()
1673
- );
1674
- msg.setDescription(value);
1675
- break;
1676
- case 4:
1677
- var value = (
1678
- /** @type {string} */
1679
- reader.readString()
1680
- );
1681
- msg.setHumanname(value);
1682
- break;
1683
- case 5:
1684
- var value = (
1685
- /** @type {string} */
1686
- reader.readString()
1687
- );
1688
- msg.setImage(value);
1689
- break;
1690
- case 6:
1691
- var value = (
1692
- /** @type {string} */
1693
- reader.readString()
1694
- );
1695
- msg.setWebsite(value);
1696
- break;
1697
- case 7:
1698
- var value = (
1699
- /** @type {string} */
1700
- reader.readString()
1701
- );
1702
- msg.setStatus(value);
1703
- break;
1704
- case 9:
1705
- var value = new proto.Variable();
1706
- reader.readMessage(value, proto.Variable.deserializeBinaryFromReader);
1707
- msg.addConnectconfiguration(value);
1708
- break;
1709
- default:
1710
- reader.skipField();
1711
- break;
1712
- }
1713
- }
1714
- return msg;
1715
- };
1716
- proto.Provider.prototype.serializeBinary = function() {
1717
- var writer = new jspb.BinaryWriter();
1718
- proto.Provider.serializeBinaryToWriter(this, writer);
1719
- return writer.getResultBuffer();
1720
- };
1721
- proto.Provider.serializeBinaryToWriter = function(message, writer) {
1722
- var f = void 0;
1723
- f = message.getId();
1724
- if (parseInt(f, 10) !== 0) {
1725
- writer.writeUint64String(
1726
- 1,
1727
- f
1728
- );
1729
- }
1730
- f = message.getName();
1731
- if (f.length > 0) {
1732
- writer.writeString(
1733
- 2,
1734
- f
1735
- );
1736
- }
1737
- f = message.getDescription();
1738
- if (f.length > 0) {
1739
- writer.writeString(
1740
- 3,
1741
- f
1742
- );
1743
- }
1744
- f = message.getHumanname();
1745
- if (f.length > 0) {
1746
- writer.writeString(
1747
- 4,
1748
- f
1749
- );
1750
- }
1751
- f = message.getImage();
1752
- if (f.length > 0) {
1753
- writer.writeString(
1754
- 5,
1755
- f
1756
- );
1757
- }
1758
- f = message.getWebsite();
1759
- if (f.length > 0) {
1760
- writer.writeString(
1761
- 6,
1762
- f
1763
- );
1764
- }
1765
- f = message.getStatus();
1766
- if (f.length > 0) {
1767
- writer.writeString(
1768
- 7,
1769
- f
1770
- );
1771
- }
1772
- f = message.getConnectconfigurationList();
1773
- if (f.length > 0) {
1774
- writer.writeRepeatedMessage(
1775
- 9,
1776
- f,
1777
- proto.Variable.serializeBinaryToWriter
1778
- );
1779
- }
1780
- };
1781
- proto.Provider.prototype.getId = function() {
1782
- return (
1783
- /** @type {string} */
1784
- jspb.Message.getFieldWithDefault(this, 1, "0")
1785
- );
1786
- };
1787
- proto.Provider.prototype.setId = function(value) {
1788
- return jspb.Message.setProto3StringIntField(this, 1, value);
1789
- };
1790
- proto.Provider.prototype.getName = function() {
1791
- return (
1792
- /** @type {string} */
1793
- jspb.Message.getFieldWithDefault(this, 2, "")
1794
- );
1795
- };
1796
- proto.Provider.prototype.setName = function(value) {
1797
- return jspb.Message.setProto3StringField(this, 2, value);
1798
- };
1799
- proto.Provider.prototype.getDescription = function() {
1800
- return (
1801
- /** @type {string} */
1802
- jspb.Message.getFieldWithDefault(this, 3, "")
1803
- );
1804
- };
1805
- proto.Provider.prototype.setDescription = function(value) {
1806
- return jspb.Message.setProto3StringField(this, 3, value);
1807
- };
1808
- proto.Provider.prototype.getHumanname = function() {
1809
- return (
1810
- /** @type {string} */
1811
- jspb.Message.getFieldWithDefault(this, 4, "")
1812
- );
1813
- };
1814
- proto.Provider.prototype.setHumanname = function(value) {
1815
- return jspb.Message.setProto3StringField(this, 4, value);
1816
- };
1817
- proto.Provider.prototype.getImage = function() {
1818
- return (
1819
- /** @type {string} */
1820
- jspb.Message.getFieldWithDefault(this, 5, "")
1821
- );
1822
- };
1823
- proto.Provider.prototype.setImage = function(value) {
1824
- return jspb.Message.setProto3StringField(this, 5, value);
1825
- };
1826
- proto.Provider.prototype.getWebsite = function() {
1827
- return (
1828
- /** @type {string} */
1829
- jspb.Message.getFieldWithDefault(this, 6, "")
1830
- );
1831
- };
1832
- proto.Provider.prototype.setWebsite = function(value) {
1833
- return jspb.Message.setProto3StringField(this, 6, value);
1834
- };
1835
- proto.Provider.prototype.getStatus = function() {
1836
- return (
1837
- /** @type {string} */
1838
- jspb.Message.getFieldWithDefault(this, 7, "")
1839
- );
1840
- };
1841
- proto.Provider.prototype.setStatus = function(value) {
1842
- return jspb.Message.setProto3StringField(this, 7, value);
1843
- };
1844
- proto.Provider.prototype.getConnectconfigurationList = function() {
1845
- return (
1846
- /** @type{!Array<!proto.Variable>} */
1847
- jspb.Message.getRepeatedWrapperField(this, proto.Variable, 9)
1848
- );
1849
- };
1850
- proto.Provider.prototype.setConnectconfigurationList = function(value) {
1851
- return jspb.Message.setRepeatedWrapperField(this, 9, value);
1852
- };
1853
- proto.Provider.prototype.addConnectconfiguration = function(opt_value, opt_index) {
1854
- return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.Variable, opt_index);
1855
- };
1856
- proto.Provider.prototype.clearConnectconfigurationList = function() {
1857
- return this.setConnectconfigurationList([]);
1858
- };
1859
1726
  proto.Tag.repeatedFields_ = [2];
1860
1727
  if (jspb.Message.GENERATE_TO_OBJECT) {
1861
1728
  proto.Tag.prototype.toObject = function(opt_includeInstance) {
@@ -5748,316 +5615,93 @@ var require_common_pb = __commonJS({
5748
5615
  );
5749
5616
  }
5750
5617
  f = message.getError();
5751
- if (f != null) {
5752
- writer.writeMessage(
5753
- 4,
5754
- f,
5755
- proto.Error.serializeBinaryToWriter
5756
- );
5757
- }
5758
- f = message.getPaginated();
5759
- if (f != null) {
5760
- writer.writeMessage(
5761
- 5,
5762
- f,
5763
- proto.Paginated.serializeBinaryToWriter
5764
- );
5765
- }
5766
- };
5767
- proto.GetAllConversationMessageResponse.prototype.getCode = function() {
5768
- return (
5769
- /** @type {number} */
5770
- jspb.Message.getFieldWithDefault(this, 1, 0)
5771
- );
5772
- };
5773
- proto.GetAllConversationMessageResponse.prototype.setCode = function(value) {
5774
- return jspb.Message.setProto3IntField(this, 1, value);
5775
- };
5776
- proto.GetAllConversationMessageResponse.prototype.getSuccess = function() {
5777
- return (
5778
- /** @type {boolean} */
5779
- jspb.Message.getBooleanFieldWithDefault(this, 2, false)
5780
- );
5781
- };
5782
- proto.GetAllConversationMessageResponse.prototype.setSuccess = function(value) {
5783
- return jspb.Message.setProto3BooleanField(this, 2, value);
5784
- };
5785
- proto.GetAllConversationMessageResponse.prototype.getDataList = function() {
5786
- return (
5787
- /** @type{!Array<!proto.AssistantConversationMessage>} */
5788
- jspb.Message.getRepeatedWrapperField(this, proto.AssistantConversationMessage, 3)
5789
- );
5790
- };
5791
- proto.GetAllConversationMessageResponse.prototype.setDataList = function(value) {
5792
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
5793
- };
5794
- proto.GetAllConversationMessageResponse.prototype.addData = function(opt_value, opt_index) {
5795
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.AssistantConversationMessage, opt_index);
5796
- };
5797
- proto.GetAllConversationMessageResponse.prototype.clearDataList = function() {
5798
- return this.setDataList([]);
5799
- };
5800
- proto.GetAllConversationMessageResponse.prototype.getError = function() {
5801
- return (
5802
- /** @type{?proto.Error} */
5803
- jspb.Message.getWrapperField(this, proto.Error, 4)
5804
- );
5805
- };
5806
- proto.GetAllConversationMessageResponse.prototype.setError = function(value) {
5807
- return jspb.Message.setWrapperField(this, 4, value);
5808
- };
5809
- proto.GetAllConversationMessageResponse.prototype.clearError = function() {
5810
- return this.setError(void 0);
5811
- };
5812
- proto.GetAllConversationMessageResponse.prototype.hasError = function() {
5813
- return jspb.Message.getField(this, 4) != null;
5814
- };
5815
- proto.GetAllConversationMessageResponse.prototype.getPaginated = function() {
5816
- return (
5817
- /** @type{?proto.Paginated} */
5818
- jspb.Message.getWrapperField(this, proto.Paginated, 5)
5819
- );
5820
- };
5821
- proto.GetAllConversationMessageResponse.prototype.setPaginated = function(value) {
5822
- return jspb.Message.setWrapperField(this, 5, value);
5823
- };
5824
- proto.GetAllConversationMessageResponse.prototype.clearPaginated = function() {
5825
- return this.setPaginated(void 0);
5826
- };
5827
- proto.GetAllConversationMessageResponse.prototype.hasPaginated = function() {
5828
- return jspb.Message.getField(this, 5) != null;
5829
- };
5830
- proto.Source = {
5831
- WEB_PLUGIN: 0,
5832
- DEBUGGER: 1,
5833
- SDK: 2,
5834
- PHONE_CALL: 3,
5835
- WHATSAPP: 4
5836
- };
5837
- goog.object.extend(exports, proto);
5838
- }
5839
- });
5840
-
5841
- // src/clients/protos/talk-api_pb.js
5842
- var require_talk_api_pb = __commonJS({
5843
- "src/clients/protos/talk-api_pb.js"(exports) {
5844
- "use strict";
5845
- var jspb = __require("google-protobuf");
5846
- var goog = jspb;
5847
- var global = function() {
5848
- return this || window || global || self || Function("return this")();
5849
- }.call(null);
5850
- var google_protobuf_any_pb = __require("google-protobuf/google/protobuf/any_pb.js");
5851
- goog.object.extend(proto, google_protobuf_any_pb);
5852
- var google_protobuf_timestamp_pb = __require("google-protobuf/google/protobuf/timestamp_pb.js");
5853
- goog.object.extend(proto, google_protobuf_timestamp_pb);
5854
- var common_pb = require_common_pb();
5855
- goog.object.extend(proto, common_pb);
5856
- goog.exportSymbol("proto.talk_api.AssistantConversationAssistantMessage", null, global);
5857
- goog.exportSymbol("proto.talk_api.AssistantConversationAssistantMessage.MessageCase", null, global);
5858
- goog.exportSymbol("proto.talk_api.AssistantConversationAssistantTransferAction", null, global);
5859
- goog.exportSymbol("proto.talk_api.AssistantConversationConfiguration", null, global);
5860
- goog.exportSymbol("proto.talk_api.AssistantConversationDeviationAction", null, global);
5861
- goog.exportSymbol("proto.talk_api.AssistantConversationDisconnectAction", null, global);
5862
- goog.exportSymbol("proto.talk_api.AssistantConversationInterruption", null, global);
5863
- goog.exportSymbol("proto.talk_api.AssistantConversationInterruption.InterruptionType", null, global);
5864
- goog.exportSymbol("proto.talk_api.AssistantConversationMessageAudioContent", null, global);
5865
- goog.exportSymbol("proto.talk_api.AssistantConversationMessageTextContent", null, global);
5866
- goog.exportSymbol("proto.talk_api.AssistantConversationPhoneCallTransferAction", null, global);
5867
- goog.exportSymbol("proto.talk_api.AssistantConversationUserMessage", null, global);
5868
- goog.exportSymbol("proto.talk_api.AssistantConversationUserMessage.MessageCase", null, global);
5869
- goog.exportSymbol("proto.talk_api.AssistantConverstationApiRequestAction", null, global);
5870
- goog.exportSymbol("proto.talk_api.AssistantConverstationEndpointAction", null, global);
5871
- goog.exportSymbol("proto.talk_api.AssistantConverstationHoldAction", null, global);
5872
- goog.exportSymbol("proto.talk_api.AssistantConverstationKnowledgeRetrievalAction", null, global);
5873
- goog.exportSymbol("proto.talk_api.AssistantMessagingRequest", null, global);
5874
- goog.exportSymbol("proto.talk_api.AssistantMessagingRequest.RequestCase", null, global);
5875
- goog.exportSymbol("proto.talk_api.AssistantMessagingResponse", null, global);
5876
- goog.exportSymbol("proto.talk_api.AssistantMessagingResponse.DataCase", null, global);
5877
- goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallRequest", null, global);
5878
- goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallResponse", null, global);
5879
- goog.exportSymbol("proto.talk_api.CreateConversationMetricRequest", null, global);
5880
- goog.exportSymbol("proto.talk_api.CreateConversationMetricResponse", null, global);
5881
- goog.exportSymbol("proto.talk_api.CreateMessageMetricRequest", null, global);
5882
- goog.exportSymbol("proto.talk_api.CreateMessageMetricResponse", null, global);
5883
- goog.exportSymbol("proto.talk_api.CreatePhoneCallRequest", null, global);
5884
- goog.exportSymbol("proto.talk_api.CreatePhoneCallResponse", null, global);
5885
- proto.talk_api.AssistantConversationConfiguration = function(opt_data) {
5886
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5887
- };
5888
- goog.inherits(proto.talk_api.AssistantConversationConfiguration, jspb.Message);
5889
- if (goog.DEBUG && !COMPILED) {
5890
- proto.talk_api.AssistantConversationConfiguration.displayName = "proto.talk_api.AssistantConversationConfiguration";
5891
- }
5892
- proto.talk_api.AssistantConversationDisconnectAction = function(opt_data) {
5893
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5894
- };
5895
- goog.inherits(proto.talk_api.AssistantConversationDisconnectAction, jspb.Message);
5896
- if (goog.DEBUG && !COMPILED) {
5897
- proto.talk_api.AssistantConversationDisconnectAction.displayName = "proto.talk_api.AssistantConversationDisconnectAction";
5898
- }
5899
- proto.talk_api.AssistantConverstationHoldAction = function(opt_data) {
5900
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5901
- };
5902
- goog.inherits(proto.talk_api.AssistantConverstationHoldAction, jspb.Message);
5903
- if (goog.DEBUG && !COMPILED) {
5904
- proto.talk_api.AssistantConverstationHoldAction.displayName = "proto.talk_api.AssistantConverstationHoldAction";
5905
- }
5906
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction = function(opt_data) {
5907
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5908
- };
5909
- goog.inherits(proto.talk_api.AssistantConverstationKnowledgeRetrievalAction, jspb.Message);
5910
- if (goog.DEBUG && !COMPILED) {
5911
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.displayName = "proto.talk_api.AssistantConverstationKnowledgeRetrievalAction";
5912
- }
5913
- proto.talk_api.AssistantConverstationApiRequestAction = function(opt_data) {
5914
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5915
- };
5916
- goog.inherits(proto.talk_api.AssistantConverstationApiRequestAction, jspb.Message);
5917
- if (goog.DEBUG && !COMPILED) {
5918
- proto.talk_api.AssistantConverstationApiRequestAction.displayName = "proto.talk_api.AssistantConverstationApiRequestAction";
5919
- }
5920
- proto.talk_api.AssistantConverstationEndpointAction = function(opt_data) {
5921
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5922
- };
5923
- goog.inherits(proto.talk_api.AssistantConverstationEndpointAction, jspb.Message);
5924
- if (goog.DEBUG && !COMPILED) {
5925
- proto.talk_api.AssistantConverstationEndpointAction.displayName = "proto.talk_api.AssistantConverstationEndpointAction";
5926
- }
5927
- proto.talk_api.AssistantConversationDeviationAction = function(opt_data) {
5928
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5929
- };
5930
- goog.inherits(proto.talk_api.AssistantConversationDeviationAction, jspb.Message);
5931
- if (goog.DEBUG && !COMPILED) {
5932
- proto.talk_api.AssistantConversationDeviationAction.displayName = "proto.talk_api.AssistantConversationDeviationAction";
5933
- }
5934
- proto.talk_api.AssistantConversationAssistantTransferAction = function(opt_data) {
5935
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5618
+ if (f != null) {
5619
+ writer.writeMessage(
5620
+ 4,
5621
+ f,
5622
+ proto.Error.serializeBinaryToWriter
5623
+ );
5624
+ }
5625
+ f = message.getPaginated();
5626
+ if (f != null) {
5627
+ writer.writeMessage(
5628
+ 5,
5629
+ f,
5630
+ proto.Paginated.serializeBinaryToWriter
5631
+ );
5632
+ }
5936
5633
  };
5937
- goog.inherits(proto.talk_api.AssistantConversationAssistantTransferAction, jspb.Message);
5938
- if (goog.DEBUG && !COMPILED) {
5939
- proto.talk_api.AssistantConversationAssistantTransferAction.displayName = "proto.talk_api.AssistantConversationAssistantTransferAction";
5940
- }
5941
- proto.talk_api.AssistantConversationPhoneCallTransferAction = function(opt_data) {
5942
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5634
+ proto.GetAllConversationMessageResponse.prototype.getCode = function() {
5635
+ return (
5636
+ /** @type {number} */
5637
+ jspb.Message.getFieldWithDefault(this, 1, 0)
5638
+ );
5943
5639
  };
5944
- goog.inherits(proto.talk_api.AssistantConversationPhoneCallTransferAction, jspb.Message);
5945
- if (goog.DEBUG && !COMPILED) {
5946
- proto.talk_api.AssistantConversationPhoneCallTransferAction.displayName = "proto.talk_api.AssistantConversationPhoneCallTransferAction";
5947
- }
5948
- proto.talk_api.AssistantConversationInterruption = function(opt_data) {
5949
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5640
+ proto.GetAllConversationMessageResponse.prototype.setCode = function(value) {
5641
+ return jspb.Message.setProto3IntField(this, 1, value);
5950
5642
  };
5951
- goog.inherits(proto.talk_api.AssistantConversationInterruption, jspb.Message);
5952
- if (goog.DEBUG && !COMPILED) {
5953
- proto.talk_api.AssistantConversationInterruption.displayName = "proto.talk_api.AssistantConversationInterruption";
5954
- }
5955
- proto.talk_api.AssistantConversationMessageTextContent = function(opt_data) {
5956
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5643
+ proto.GetAllConversationMessageResponse.prototype.getSuccess = function() {
5644
+ return (
5645
+ /** @type {boolean} */
5646
+ jspb.Message.getBooleanFieldWithDefault(this, 2, false)
5647
+ );
5957
5648
  };
5958
- goog.inherits(proto.talk_api.AssistantConversationMessageTextContent, jspb.Message);
5959
- if (goog.DEBUG && !COMPILED) {
5960
- proto.talk_api.AssistantConversationMessageTextContent.displayName = "proto.talk_api.AssistantConversationMessageTextContent";
5961
- }
5962
- proto.talk_api.AssistantConversationMessageAudioContent = function(opt_data) {
5963
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5649
+ proto.GetAllConversationMessageResponse.prototype.setSuccess = function(value) {
5650
+ return jspb.Message.setProto3BooleanField(this, 2, value);
5964
5651
  };
5965
- goog.inherits(proto.talk_api.AssistantConversationMessageAudioContent, jspb.Message);
5966
- if (goog.DEBUG && !COMPILED) {
5967
- proto.talk_api.AssistantConversationMessageAudioContent.displayName = "proto.talk_api.AssistantConversationMessageAudioContent";
5968
- }
5969
- proto.talk_api.AssistantConversationUserMessage = function(opt_data) {
5970
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantConversationUserMessage.oneofGroups_);
5652
+ proto.GetAllConversationMessageResponse.prototype.getDataList = function() {
5653
+ return (
5654
+ /** @type{!Array<!proto.AssistantConversationMessage>} */
5655
+ jspb.Message.getRepeatedWrapperField(this, proto.AssistantConversationMessage, 3)
5656
+ );
5971
5657
  };
5972
- goog.inherits(proto.talk_api.AssistantConversationUserMessage, jspb.Message);
5973
- if (goog.DEBUG && !COMPILED) {
5974
- proto.talk_api.AssistantConversationUserMessage.displayName = "proto.talk_api.AssistantConversationUserMessage";
5975
- }
5976
- proto.talk_api.AssistantConversationAssistantMessage = function(opt_data) {
5977
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_);
5658
+ proto.GetAllConversationMessageResponse.prototype.setDataList = function(value) {
5659
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
5978
5660
  };
5979
- goog.inherits(proto.talk_api.AssistantConversationAssistantMessage, jspb.Message);
5980
- if (goog.DEBUG && !COMPILED) {
5981
- proto.talk_api.AssistantConversationAssistantMessage.displayName = "proto.talk_api.AssistantConversationAssistantMessage";
5982
- }
5983
- proto.talk_api.AssistantMessagingRequest = function(opt_data) {
5984
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingRequest.oneofGroups_);
5661
+ proto.GetAllConversationMessageResponse.prototype.addData = function(opt_value, opt_index) {
5662
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.AssistantConversationMessage, opt_index);
5985
5663
  };
5986
- goog.inherits(proto.talk_api.AssistantMessagingRequest, jspb.Message);
5987
- if (goog.DEBUG && !COMPILED) {
5988
- proto.talk_api.AssistantMessagingRequest.displayName = "proto.talk_api.AssistantMessagingRequest";
5989
- }
5990
- proto.talk_api.AssistantMessagingResponse = function(opt_data) {
5991
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingResponse.oneofGroups_);
5664
+ proto.GetAllConversationMessageResponse.prototype.clearDataList = function() {
5665
+ return this.setDataList([]);
5992
5666
  };
5993
- goog.inherits(proto.talk_api.AssistantMessagingResponse, jspb.Message);
5994
- if (goog.DEBUG && !COMPILED) {
5995
- proto.talk_api.AssistantMessagingResponse.displayName = "proto.talk_api.AssistantMessagingResponse";
5996
- }
5997
- proto.talk_api.CreateMessageMetricRequest = function(opt_data) {
5998
- jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricRequest.repeatedFields_, null);
5667
+ proto.GetAllConversationMessageResponse.prototype.getError = function() {
5668
+ return (
5669
+ /** @type{?proto.Error} */
5670
+ jspb.Message.getWrapperField(this, proto.Error, 4)
5671
+ );
5999
5672
  };
6000
- goog.inherits(proto.talk_api.CreateMessageMetricRequest, jspb.Message);
6001
- if (goog.DEBUG && !COMPILED) {
6002
- proto.talk_api.CreateMessageMetricRequest.displayName = "proto.talk_api.CreateMessageMetricRequest";
6003
- }
6004
- proto.talk_api.CreateMessageMetricResponse = function(opt_data) {
6005
- jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricResponse.repeatedFields_, null);
5673
+ proto.GetAllConversationMessageResponse.prototype.setError = function(value) {
5674
+ return jspb.Message.setWrapperField(this, 4, value);
6006
5675
  };
6007
- goog.inherits(proto.talk_api.CreateMessageMetricResponse, jspb.Message);
6008
- if (goog.DEBUG && !COMPILED) {
6009
- proto.talk_api.CreateMessageMetricResponse.displayName = "proto.talk_api.CreateMessageMetricResponse";
6010
- }
6011
- proto.talk_api.CreateConversationMetricRequest = function(opt_data) {
6012
- jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricRequest.repeatedFields_, null);
5676
+ proto.GetAllConversationMessageResponse.prototype.clearError = function() {
5677
+ return this.setError(void 0);
6013
5678
  };
6014
- goog.inherits(proto.talk_api.CreateConversationMetricRequest, jspb.Message);
6015
- if (goog.DEBUG && !COMPILED) {
6016
- proto.talk_api.CreateConversationMetricRequest.displayName = "proto.talk_api.CreateConversationMetricRequest";
6017
- }
6018
- proto.talk_api.CreateConversationMetricResponse = function(opt_data) {
6019
- jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricResponse.repeatedFields_, null);
5679
+ proto.GetAllConversationMessageResponse.prototype.hasError = function() {
5680
+ return jspb.Message.getField(this, 4) != null;
6020
5681
  };
6021
- goog.inherits(proto.talk_api.CreateConversationMetricResponse, jspb.Message);
6022
- if (goog.DEBUG && !COMPILED) {
6023
- proto.talk_api.CreateConversationMetricResponse.displayName = "proto.talk_api.CreateConversationMetricResponse";
6024
- }
6025
- proto.talk_api.CreatePhoneCallRequest = function(opt_data) {
6026
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5682
+ proto.GetAllConversationMessageResponse.prototype.getPaginated = function() {
5683
+ return (
5684
+ /** @type{?proto.Paginated} */
5685
+ jspb.Message.getWrapperField(this, proto.Paginated, 5)
5686
+ );
6027
5687
  };
6028
- goog.inherits(proto.talk_api.CreatePhoneCallRequest, jspb.Message);
6029
- if (goog.DEBUG && !COMPILED) {
6030
- proto.talk_api.CreatePhoneCallRequest.displayName = "proto.talk_api.CreatePhoneCallRequest";
6031
- }
6032
- proto.talk_api.CreatePhoneCallResponse = function(opt_data) {
6033
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5688
+ proto.GetAllConversationMessageResponse.prototype.setPaginated = function(value) {
5689
+ return jspb.Message.setWrapperField(this, 5, value);
6034
5690
  };
6035
- goog.inherits(proto.talk_api.CreatePhoneCallResponse, jspb.Message);
6036
- if (goog.DEBUG && !COMPILED) {
6037
- proto.talk_api.CreatePhoneCallResponse.displayName = "proto.talk_api.CreatePhoneCallResponse";
6038
- }
6039
- proto.talk_api.CreateBulkPhoneCallRequest = function(opt_data) {
6040
- jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallRequest.repeatedFields_, null);
5691
+ proto.GetAllConversationMessageResponse.prototype.clearPaginated = function() {
5692
+ return this.setPaginated(void 0);
6041
5693
  };
6042
- goog.inherits(proto.talk_api.CreateBulkPhoneCallRequest, jspb.Message);
6043
- if (goog.DEBUG && !COMPILED) {
6044
- proto.talk_api.CreateBulkPhoneCallRequest.displayName = "proto.talk_api.CreateBulkPhoneCallRequest";
6045
- }
6046
- proto.talk_api.CreateBulkPhoneCallResponse = function(opt_data) {
6047
- jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallResponse.repeatedFields_, null);
5694
+ proto.GetAllConversationMessageResponse.prototype.hasPaginated = function() {
5695
+ return jspb.Message.getField(this, 5) != null;
6048
5696
  };
6049
- goog.inherits(proto.talk_api.CreateBulkPhoneCallResponse, jspb.Message);
6050
- if (goog.DEBUG && !COMPILED) {
6051
- proto.talk_api.CreateBulkPhoneCallResponse.displayName = "proto.talk_api.CreateBulkPhoneCallResponse";
6052
- }
6053
5697
  if (jspb.Message.GENERATE_TO_OBJECT) {
6054
- proto.talk_api.AssistantConversationConfiguration.prototype.toObject = function(opt_includeInstance) {
6055
- return proto.talk_api.AssistantConversationConfiguration.toObject(opt_includeInstance, this);
5698
+ proto.AssistantConversationConfiguration.prototype.toObject = function(opt_includeInstance) {
5699
+ return proto.AssistantConversationConfiguration.toObject(opt_includeInstance, this);
6056
5700
  };
6057
- proto.talk_api.AssistantConversationConfiguration.toObject = function(includeInstance, msg) {
5701
+ proto.AssistantConversationConfiguration.toObject = function(includeInstance, msg) {
6058
5702
  var f, obj = {
6059
5703
  assistantconversationid: jspb.Message.getFieldWithDefault(msg, 1, "0"),
6060
- assistant: (f = msg.getAssistant()) && common_pb.AssistantDefinition.toObject(includeInstance, f),
5704
+ assistant: (f = msg.getAssistant()) && proto.AssistantDefinition.toObject(includeInstance, f),
6061
5705
  time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
6062
5706
  metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [],
6063
5707
  argsMap: (f = msg.getArgsMap()) ? f.toObject(includeInstance, proto.google.protobuf.Any.toObject) : [],
@@ -6069,12 +5713,12 @@ var require_talk_api_pb = __commonJS({
6069
5713
  return obj;
6070
5714
  };
6071
5715
  }
6072
- proto.talk_api.AssistantConversationConfiguration.deserializeBinary = function(bytes) {
5716
+ proto.AssistantConversationConfiguration.deserializeBinary = function(bytes) {
6073
5717
  var reader = new jspb.BinaryReader(bytes);
6074
- var msg = new proto.talk_api.AssistantConversationConfiguration();
6075
- return proto.talk_api.AssistantConversationConfiguration.deserializeBinaryFromReader(msg, reader);
5718
+ var msg = new proto.AssistantConversationConfiguration();
5719
+ return proto.AssistantConversationConfiguration.deserializeBinaryFromReader(msg, reader);
6076
5720
  };
6077
- proto.talk_api.AssistantConversationConfiguration.deserializeBinaryFromReader = function(msg, reader) {
5721
+ proto.AssistantConversationConfiguration.deserializeBinaryFromReader = function(msg, reader) {
6078
5722
  while (reader.nextField()) {
6079
5723
  if (reader.isEndGroup()) {
6080
5724
  break;
@@ -6089,8 +5733,8 @@ var require_talk_api_pb = __commonJS({
6089
5733
  msg.setAssistantconversationid(value);
6090
5734
  break;
6091
5735
  case 2:
6092
- var value = new common_pb.AssistantDefinition();
6093
- reader.readMessage(value, common_pb.AssistantDefinition.deserializeBinaryFromReader);
5736
+ var value = new proto.AssistantDefinition();
5737
+ reader.readMessage(value, proto.AssistantDefinition.deserializeBinaryFromReader);
6094
5738
  msg.setAssistant(value);
6095
5739
  break;
6096
5740
  case 3:
@@ -6123,12 +5767,12 @@ var require_talk_api_pb = __commonJS({
6123
5767
  }
6124
5768
  return msg;
6125
5769
  };
6126
- proto.talk_api.AssistantConversationConfiguration.prototype.serializeBinary = function() {
5770
+ proto.AssistantConversationConfiguration.prototype.serializeBinary = function() {
6127
5771
  var writer = new jspb.BinaryWriter();
6128
- proto.talk_api.AssistantConversationConfiguration.serializeBinaryToWriter(this, writer);
5772
+ proto.AssistantConversationConfiguration.serializeBinaryToWriter(this, writer);
6129
5773
  return writer.getResultBuffer();
6130
5774
  };
6131
- proto.talk_api.AssistantConversationConfiguration.serializeBinaryToWriter = function(message, writer) {
5775
+ proto.AssistantConversationConfiguration.serializeBinaryToWriter = function(message, writer) {
6132
5776
  var f = void 0;
6133
5777
  f = message.getAssistantconversationid();
6134
5778
  if (parseInt(f, 10) !== 0) {
@@ -6142,7 +5786,7 @@ var require_talk_api_pb = __commonJS({
6142
5786
  writer.writeMessage(
6143
5787
  2,
6144
5788
  f,
6145
- common_pb.AssistantDefinition.serializeBinaryToWriter
5789
+ proto.AssistantDefinition.serializeBinaryToWriter
6146
5790
  );
6147
5791
  }
6148
5792
  f = message.getTime();
@@ -6166,46 +5810,46 @@ var require_talk_api_pb = __commonJS({
6166
5810
  f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Any.serializeBinaryToWriter);
6167
5811
  }
6168
5812
  };
6169
- proto.talk_api.AssistantConversationConfiguration.prototype.getAssistantconversationid = function() {
5813
+ proto.AssistantConversationConfiguration.prototype.getAssistantconversationid = function() {
6170
5814
  return (
6171
5815
  /** @type {string} */
6172
5816
  jspb.Message.getFieldWithDefault(this, 1, "0")
6173
5817
  );
6174
5818
  };
6175
- proto.talk_api.AssistantConversationConfiguration.prototype.setAssistantconversationid = function(value) {
5819
+ proto.AssistantConversationConfiguration.prototype.setAssistantconversationid = function(value) {
6176
5820
  return jspb.Message.setProto3StringIntField(this, 1, value);
6177
5821
  };
6178
- proto.talk_api.AssistantConversationConfiguration.prototype.getAssistant = function() {
5822
+ proto.AssistantConversationConfiguration.prototype.getAssistant = function() {
6179
5823
  return (
6180
5824
  /** @type{?proto.AssistantDefinition} */
6181
- jspb.Message.getWrapperField(this, common_pb.AssistantDefinition, 2)
5825
+ jspb.Message.getWrapperField(this, proto.AssistantDefinition, 2)
6182
5826
  );
6183
5827
  };
6184
- proto.talk_api.AssistantConversationConfiguration.prototype.setAssistant = function(value) {
5828
+ proto.AssistantConversationConfiguration.prototype.setAssistant = function(value) {
6185
5829
  return jspb.Message.setWrapperField(this, 2, value);
6186
5830
  };
6187
- proto.talk_api.AssistantConversationConfiguration.prototype.clearAssistant = function() {
5831
+ proto.AssistantConversationConfiguration.prototype.clearAssistant = function() {
6188
5832
  return this.setAssistant(void 0);
6189
5833
  };
6190
- proto.talk_api.AssistantConversationConfiguration.prototype.hasAssistant = function() {
5834
+ proto.AssistantConversationConfiguration.prototype.hasAssistant = function() {
6191
5835
  return jspb.Message.getField(this, 2) != null;
6192
5836
  };
6193
- proto.talk_api.AssistantConversationConfiguration.prototype.getTime = function() {
5837
+ proto.AssistantConversationConfiguration.prototype.getTime = function() {
6194
5838
  return (
6195
5839
  /** @type{?proto.google.protobuf.Timestamp} */
6196
5840
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)
6197
5841
  );
6198
5842
  };
6199
- proto.talk_api.AssistantConversationConfiguration.prototype.setTime = function(value) {
5843
+ proto.AssistantConversationConfiguration.prototype.setTime = function(value) {
6200
5844
  return jspb.Message.setWrapperField(this, 3, value);
6201
5845
  };
6202
- proto.talk_api.AssistantConversationConfiguration.prototype.clearTime = function() {
5846
+ proto.AssistantConversationConfiguration.prototype.clearTime = function() {
6203
5847
  return this.setTime(void 0);
6204
5848
  };
6205
- proto.talk_api.AssistantConversationConfiguration.prototype.hasTime = function() {
5849
+ proto.AssistantConversationConfiguration.prototype.hasTime = function() {
6206
5850
  return jspb.Message.getField(this, 3) != null;
6207
5851
  };
6208
- proto.talk_api.AssistantConversationConfiguration.prototype.getMetadataMap = function(opt_noLazyCreate) {
5852
+ proto.AssistantConversationConfiguration.prototype.getMetadataMap = function(opt_noLazyCreate) {
6209
5853
  return (
6210
5854
  /** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
6211
5855
  jspb.Message.getMapField(
@@ -6216,11 +5860,11 @@ var require_talk_api_pb = __commonJS({
6216
5860
  )
6217
5861
  );
6218
5862
  };
6219
- proto.talk_api.AssistantConversationConfiguration.prototype.clearMetadataMap = function() {
5863
+ proto.AssistantConversationConfiguration.prototype.clearMetadataMap = function() {
6220
5864
  this.getMetadataMap().clear();
6221
5865
  return this;
6222
5866
  };
6223
- proto.talk_api.AssistantConversationConfiguration.prototype.getArgsMap = function(opt_noLazyCreate) {
5867
+ proto.AssistantConversationConfiguration.prototype.getArgsMap = function(opt_noLazyCreate) {
6224
5868
  return (
6225
5869
  /** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
6226
5870
  jspb.Message.getMapField(
@@ -6231,11 +5875,11 @@ var require_talk_api_pb = __commonJS({
6231
5875
  )
6232
5876
  );
6233
5877
  };
6234
- proto.talk_api.AssistantConversationConfiguration.prototype.clearArgsMap = function() {
5878
+ proto.AssistantConversationConfiguration.prototype.clearArgsMap = function() {
6235
5879
  this.getArgsMap().clear();
6236
5880
  return this;
6237
5881
  };
6238
- proto.talk_api.AssistantConversationConfiguration.prototype.getOptionsMap = function(opt_noLazyCreate) {
5882
+ proto.AssistantConversationConfiguration.prototype.getOptionsMap = function(opt_noLazyCreate) {
6239
5883
  return (
6240
5884
  /** @type {!jspb.Map<string,!proto.google.protobuf.Any>} */
6241
5885
  jspb.Message.getMapField(
@@ -6246,15 +5890,15 @@ var require_talk_api_pb = __commonJS({
6246
5890
  )
6247
5891
  );
6248
5892
  };
6249
- proto.talk_api.AssistantConversationConfiguration.prototype.clearOptionsMap = function() {
5893
+ proto.AssistantConversationConfiguration.prototype.clearOptionsMap = function() {
6250
5894
  this.getOptionsMap().clear();
6251
5895
  return this;
6252
5896
  };
6253
5897
  if (jspb.Message.GENERATE_TO_OBJECT) {
6254
- proto.talk_api.AssistantConversationDisconnectAction.prototype.toObject = function(opt_includeInstance) {
6255
- return proto.talk_api.AssistantConversationDisconnectAction.toObject(opt_includeInstance, this);
5898
+ proto.AssistantConversationDisconnectAction.prototype.toObject = function(opt_includeInstance) {
5899
+ return proto.AssistantConversationDisconnectAction.toObject(opt_includeInstance, this);
6256
5900
  };
6257
- proto.talk_api.AssistantConversationDisconnectAction.toObject = function(includeInstance, msg) {
5901
+ proto.AssistantConversationDisconnectAction.toObject = function(includeInstance, msg) {
6258
5902
  var f, obj = {
6259
5903
  reason: jspb.Message.getFieldWithDefault(msg, 1, "")
6260
5904
  };
@@ -6264,12 +5908,12 @@ var require_talk_api_pb = __commonJS({
6264
5908
  return obj;
6265
5909
  };
6266
5910
  }
6267
- proto.talk_api.AssistantConversationDisconnectAction.deserializeBinary = function(bytes) {
5911
+ proto.AssistantConversationDisconnectAction.deserializeBinary = function(bytes) {
6268
5912
  var reader = new jspb.BinaryReader(bytes);
6269
- var msg = new proto.talk_api.AssistantConversationDisconnectAction();
6270
- return proto.talk_api.AssistantConversationDisconnectAction.deserializeBinaryFromReader(msg, reader);
5913
+ var msg = new proto.AssistantConversationDisconnectAction();
5914
+ return proto.AssistantConversationDisconnectAction.deserializeBinaryFromReader(msg, reader);
6271
5915
  };
6272
- proto.talk_api.AssistantConversationDisconnectAction.deserializeBinaryFromReader = function(msg, reader) {
5916
+ proto.AssistantConversationDisconnectAction.deserializeBinaryFromReader = function(msg, reader) {
6273
5917
  while (reader.nextField()) {
6274
5918
  if (reader.isEndGroup()) {
6275
5919
  break;
@@ -6290,12 +5934,12 @@ var require_talk_api_pb = __commonJS({
6290
5934
  }
6291
5935
  return msg;
6292
5936
  };
6293
- proto.talk_api.AssistantConversationDisconnectAction.prototype.serializeBinary = function() {
5937
+ proto.AssistantConversationDisconnectAction.prototype.serializeBinary = function() {
6294
5938
  var writer = new jspb.BinaryWriter();
6295
- proto.talk_api.AssistantConversationDisconnectAction.serializeBinaryToWriter(this, writer);
5939
+ proto.AssistantConversationDisconnectAction.serializeBinaryToWriter(this, writer);
6296
5940
  return writer.getResultBuffer();
6297
5941
  };
6298
- proto.talk_api.AssistantConversationDisconnectAction.serializeBinaryToWriter = function(message, writer) {
5942
+ proto.AssistantConversationDisconnectAction.serializeBinaryToWriter = function(message, writer) {
6299
5943
  var f = void 0;
6300
5944
  f = message.getReason();
6301
5945
  if (f.length > 0) {
@@ -6305,20 +5949,20 @@ var require_talk_api_pb = __commonJS({
6305
5949
  );
6306
5950
  }
6307
5951
  };
6308
- proto.talk_api.AssistantConversationDisconnectAction.prototype.getReason = function() {
5952
+ proto.AssistantConversationDisconnectAction.prototype.getReason = function() {
6309
5953
  return (
6310
5954
  /** @type {string} */
6311
5955
  jspb.Message.getFieldWithDefault(this, 1, "")
6312
5956
  );
6313
5957
  };
6314
- proto.talk_api.AssistantConversationDisconnectAction.prototype.setReason = function(value) {
5958
+ proto.AssistantConversationDisconnectAction.prototype.setReason = function(value) {
6315
5959
  return jspb.Message.setProto3StringField(this, 1, value);
6316
5960
  };
6317
5961
  if (jspb.Message.GENERATE_TO_OBJECT) {
6318
- proto.talk_api.AssistantConverstationHoldAction.prototype.toObject = function(opt_includeInstance) {
6319
- return proto.talk_api.AssistantConverstationHoldAction.toObject(opt_includeInstance, this);
5962
+ proto.AssistantConverstationHoldAction.prototype.toObject = function(opt_includeInstance) {
5963
+ return proto.AssistantConverstationHoldAction.toObject(opt_includeInstance, this);
6320
5964
  };
6321
- proto.talk_api.AssistantConverstationHoldAction.toObject = function(includeInstance, msg) {
5965
+ proto.AssistantConverstationHoldAction.toObject = function(includeInstance, msg) {
6322
5966
  var f, obj = {
6323
5967
  holdtime: jspb.Message.getFieldWithDefault(msg, 1, 0)
6324
5968
  };
@@ -6328,12 +5972,12 @@ var require_talk_api_pb = __commonJS({
6328
5972
  return obj;
6329
5973
  };
6330
5974
  }
6331
- proto.talk_api.AssistantConverstationHoldAction.deserializeBinary = function(bytes) {
5975
+ proto.AssistantConverstationHoldAction.deserializeBinary = function(bytes) {
6332
5976
  var reader = new jspb.BinaryReader(bytes);
6333
- var msg = new proto.talk_api.AssistantConverstationHoldAction();
6334
- return proto.talk_api.AssistantConverstationHoldAction.deserializeBinaryFromReader(msg, reader);
5977
+ var msg = new proto.AssistantConverstationHoldAction();
5978
+ return proto.AssistantConverstationHoldAction.deserializeBinaryFromReader(msg, reader);
6335
5979
  };
6336
- proto.talk_api.AssistantConverstationHoldAction.deserializeBinaryFromReader = function(msg, reader) {
5980
+ proto.AssistantConverstationHoldAction.deserializeBinaryFromReader = function(msg, reader) {
6337
5981
  while (reader.nextField()) {
6338
5982
  if (reader.isEndGroup()) {
6339
5983
  break;
@@ -6354,12 +5998,12 @@ var require_talk_api_pb = __commonJS({
6354
5998
  }
6355
5999
  return msg;
6356
6000
  };
6357
- proto.talk_api.AssistantConverstationHoldAction.prototype.serializeBinary = function() {
6001
+ proto.AssistantConverstationHoldAction.prototype.serializeBinary = function() {
6358
6002
  var writer = new jspb.BinaryWriter();
6359
- proto.talk_api.AssistantConverstationHoldAction.serializeBinaryToWriter(this, writer);
6003
+ proto.AssistantConverstationHoldAction.serializeBinaryToWriter(this, writer);
6360
6004
  return writer.getResultBuffer();
6361
6005
  };
6362
- proto.talk_api.AssistantConverstationHoldAction.serializeBinaryToWriter = function(message, writer) {
6006
+ proto.AssistantConverstationHoldAction.serializeBinaryToWriter = function(message, writer) {
6363
6007
  var f = void 0;
6364
6008
  f = message.getHoldtime();
6365
6009
  if (f !== 0) {
@@ -6369,20 +6013,20 @@ var require_talk_api_pb = __commonJS({
6369
6013
  );
6370
6014
  }
6371
6015
  };
6372
- proto.talk_api.AssistantConverstationHoldAction.prototype.getHoldtime = function() {
6016
+ proto.AssistantConverstationHoldAction.prototype.getHoldtime = function() {
6373
6017
  return (
6374
6018
  /** @type {number} */
6375
6019
  jspb.Message.getFieldWithDefault(this, 1, 0)
6376
6020
  );
6377
6021
  };
6378
- proto.talk_api.AssistantConverstationHoldAction.prototype.setHoldtime = function(value) {
6022
+ proto.AssistantConverstationHoldAction.prototype.setHoldtime = function(value) {
6379
6023
  return jspb.Message.setProto3IntField(this, 1, value);
6380
6024
  };
6381
6025
  if (jspb.Message.GENERATE_TO_OBJECT) {
6382
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.prototype.toObject = function(opt_includeInstance) {
6383
- return proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.toObject(opt_includeInstance, this);
6026
+ proto.AssistantConverstationKnowledgeRetrievalAction.prototype.toObject = function(opt_includeInstance) {
6027
+ return proto.AssistantConverstationKnowledgeRetrievalAction.toObject(opt_includeInstance, this);
6384
6028
  };
6385
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.toObject = function(includeInstance, msg) {
6029
+ proto.AssistantConverstationKnowledgeRetrievalAction.toObject = function(includeInstance, msg) {
6386
6030
  var f, obj = {
6387
6031
  query: jspb.Message.getFieldWithDefault(msg, 1, "")
6388
6032
  };
@@ -6392,12 +6036,12 @@ var require_talk_api_pb = __commonJS({
6392
6036
  return obj;
6393
6037
  };
6394
6038
  }
6395
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.deserializeBinary = function(bytes) {
6039
+ proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinary = function(bytes) {
6396
6040
  var reader = new jspb.BinaryReader(bytes);
6397
- var msg = new proto.talk_api.AssistantConverstationKnowledgeRetrievalAction();
6398
- return proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader(msg, reader);
6041
+ var msg = new proto.AssistantConverstationKnowledgeRetrievalAction();
6042
+ return proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader(msg, reader);
6399
6043
  };
6400
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader = function(msg, reader) {
6044
+ proto.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader = function(msg, reader) {
6401
6045
  while (reader.nextField()) {
6402
6046
  if (reader.isEndGroup()) {
6403
6047
  break;
@@ -6418,12 +6062,12 @@ var require_talk_api_pb = __commonJS({
6418
6062
  }
6419
6063
  return msg;
6420
6064
  };
6421
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.prototype.serializeBinary = function() {
6065
+ proto.AssistantConverstationKnowledgeRetrievalAction.prototype.serializeBinary = function() {
6422
6066
  var writer = new jspb.BinaryWriter();
6423
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter(this, writer);
6067
+ proto.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter(this, writer);
6424
6068
  return writer.getResultBuffer();
6425
6069
  };
6426
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter = function(message, writer) {
6070
+ proto.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter = function(message, writer) {
6427
6071
  var f = void 0;
6428
6072
  f = message.getQuery();
6429
6073
  if (f.length > 0) {
@@ -6433,20 +6077,20 @@ var require_talk_api_pb = __commonJS({
6433
6077
  );
6434
6078
  }
6435
6079
  };
6436
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.prototype.getQuery = function() {
6080
+ proto.AssistantConverstationKnowledgeRetrievalAction.prototype.getQuery = function() {
6437
6081
  return (
6438
6082
  /** @type {string} */
6439
6083
  jspb.Message.getFieldWithDefault(this, 1, "")
6440
6084
  );
6441
6085
  };
6442
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.prototype.setQuery = function(value) {
6086
+ proto.AssistantConverstationKnowledgeRetrievalAction.prototype.setQuery = function(value) {
6443
6087
  return jspb.Message.setProto3StringField(this, 1, value);
6444
6088
  };
6445
6089
  if (jspb.Message.GENERATE_TO_OBJECT) {
6446
- proto.talk_api.AssistantConverstationApiRequestAction.prototype.toObject = function(opt_includeInstance) {
6447
- return proto.talk_api.AssistantConverstationApiRequestAction.toObject(opt_includeInstance, this);
6090
+ proto.AssistantConverstationApiRequestAction.prototype.toObject = function(opt_includeInstance) {
6091
+ return proto.AssistantConverstationApiRequestAction.toObject(opt_includeInstance, this);
6448
6092
  };
6449
- proto.talk_api.AssistantConverstationApiRequestAction.toObject = function(includeInstance, msg) {
6093
+ proto.AssistantConverstationApiRequestAction.toObject = function(includeInstance, msg) {
6450
6094
  var f, obj = {};
6451
6095
  if (includeInstance) {
6452
6096
  obj.$jspbMessageInstance = msg;
@@ -6454,12 +6098,12 @@ var require_talk_api_pb = __commonJS({
6454
6098
  return obj;
6455
6099
  };
6456
6100
  }
6457
- proto.talk_api.AssistantConverstationApiRequestAction.deserializeBinary = function(bytes) {
6101
+ proto.AssistantConverstationApiRequestAction.deserializeBinary = function(bytes) {
6458
6102
  var reader = new jspb.BinaryReader(bytes);
6459
- var msg = new proto.talk_api.AssistantConverstationApiRequestAction();
6460
- return proto.talk_api.AssistantConverstationApiRequestAction.deserializeBinaryFromReader(msg, reader);
6103
+ var msg = new proto.AssistantConverstationApiRequestAction();
6104
+ return proto.AssistantConverstationApiRequestAction.deserializeBinaryFromReader(msg, reader);
6461
6105
  };
6462
- proto.talk_api.AssistantConverstationApiRequestAction.deserializeBinaryFromReader = function(msg, reader) {
6106
+ proto.AssistantConverstationApiRequestAction.deserializeBinaryFromReader = function(msg, reader) {
6463
6107
  while (reader.nextField()) {
6464
6108
  if (reader.isEndGroup()) {
6465
6109
  break;
@@ -6473,19 +6117,19 @@ var require_talk_api_pb = __commonJS({
6473
6117
  }
6474
6118
  return msg;
6475
6119
  };
6476
- proto.talk_api.AssistantConverstationApiRequestAction.prototype.serializeBinary = function() {
6120
+ proto.AssistantConverstationApiRequestAction.prototype.serializeBinary = function() {
6477
6121
  var writer = new jspb.BinaryWriter();
6478
- proto.talk_api.AssistantConverstationApiRequestAction.serializeBinaryToWriter(this, writer);
6122
+ proto.AssistantConverstationApiRequestAction.serializeBinaryToWriter(this, writer);
6479
6123
  return writer.getResultBuffer();
6480
6124
  };
6481
- proto.talk_api.AssistantConverstationApiRequestAction.serializeBinaryToWriter = function(message, writer) {
6125
+ proto.AssistantConverstationApiRequestAction.serializeBinaryToWriter = function(message, writer) {
6482
6126
  var f = void 0;
6483
6127
  };
6484
6128
  if (jspb.Message.GENERATE_TO_OBJECT) {
6485
- proto.talk_api.AssistantConverstationEndpointAction.prototype.toObject = function(opt_includeInstance) {
6486
- return proto.talk_api.AssistantConverstationEndpointAction.toObject(opt_includeInstance, this);
6129
+ proto.AssistantConverstationEndpointAction.prototype.toObject = function(opt_includeInstance) {
6130
+ return proto.AssistantConverstationEndpointAction.toObject(opt_includeInstance, this);
6487
6131
  };
6488
- proto.talk_api.AssistantConverstationEndpointAction.toObject = function(includeInstance, msg) {
6132
+ proto.AssistantConverstationEndpointAction.toObject = function(includeInstance, msg) {
6489
6133
  var f, obj = {};
6490
6134
  if (includeInstance) {
6491
6135
  obj.$jspbMessageInstance = msg;
@@ -6493,12 +6137,12 @@ var require_talk_api_pb = __commonJS({
6493
6137
  return obj;
6494
6138
  };
6495
6139
  }
6496
- proto.talk_api.AssistantConverstationEndpointAction.deserializeBinary = function(bytes) {
6140
+ proto.AssistantConverstationEndpointAction.deserializeBinary = function(bytes) {
6497
6141
  var reader = new jspb.BinaryReader(bytes);
6498
- var msg = new proto.talk_api.AssistantConverstationEndpointAction();
6499
- return proto.talk_api.AssistantConverstationEndpointAction.deserializeBinaryFromReader(msg, reader);
6142
+ var msg = new proto.AssistantConverstationEndpointAction();
6143
+ return proto.AssistantConverstationEndpointAction.deserializeBinaryFromReader(msg, reader);
6500
6144
  };
6501
- proto.talk_api.AssistantConverstationEndpointAction.deserializeBinaryFromReader = function(msg, reader) {
6145
+ proto.AssistantConverstationEndpointAction.deserializeBinaryFromReader = function(msg, reader) {
6502
6146
  while (reader.nextField()) {
6503
6147
  if (reader.isEndGroup()) {
6504
6148
  break;
@@ -6512,19 +6156,19 @@ var require_talk_api_pb = __commonJS({
6512
6156
  }
6513
6157
  return msg;
6514
6158
  };
6515
- proto.talk_api.AssistantConverstationEndpointAction.prototype.serializeBinary = function() {
6159
+ proto.AssistantConverstationEndpointAction.prototype.serializeBinary = function() {
6516
6160
  var writer = new jspb.BinaryWriter();
6517
- proto.talk_api.AssistantConverstationEndpointAction.serializeBinaryToWriter(this, writer);
6161
+ proto.AssistantConverstationEndpointAction.serializeBinaryToWriter(this, writer);
6518
6162
  return writer.getResultBuffer();
6519
6163
  };
6520
- proto.talk_api.AssistantConverstationEndpointAction.serializeBinaryToWriter = function(message, writer) {
6164
+ proto.AssistantConverstationEndpointAction.serializeBinaryToWriter = function(message, writer) {
6521
6165
  var f = void 0;
6522
6166
  };
6523
6167
  if (jspb.Message.GENERATE_TO_OBJECT) {
6524
- proto.talk_api.AssistantConversationDeviationAction.prototype.toObject = function(opt_includeInstance) {
6525
- return proto.talk_api.AssistantConversationDeviationAction.toObject(opt_includeInstance, this);
6168
+ proto.AssistantConversationDeviationAction.prototype.toObject = function(opt_includeInstance) {
6169
+ return proto.AssistantConversationDeviationAction.toObject(opt_includeInstance, this);
6526
6170
  };
6527
- proto.talk_api.AssistantConversationDeviationAction.toObject = function(includeInstance, msg) {
6171
+ proto.AssistantConversationDeviationAction.toObject = function(includeInstance, msg) {
6528
6172
  var f, obj = {};
6529
6173
  if (includeInstance) {
6530
6174
  obj.$jspbMessageInstance = msg;
@@ -6532,12 +6176,12 @@ var require_talk_api_pb = __commonJS({
6532
6176
  return obj;
6533
6177
  };
6534
6178
  }
6535
- proto.talk_api.AssistantConversationDeviationAction.deserializeBinary = function(bytes) {
6179
+ proto.AssistantConversationDeviationAction.deserializeBinary = function(bytes) {
6536
6180
  var reader = new jspb.BinaryReader(bytes);
6537
- var msg = new proto.talk_api.AssistantConversationDeviationAction();
6538
- return proto.talk_api.AssistantConversationDeviationAction.deserializeBinaryFromReader(msg, reader);
6181
+ var msg = new proto.AssistantConversationDeviationAction();
6182
+ return proto.AssistantConversationDeviationAction.deserializeBinaryFromReader(msg, reader);
6539
6183
  };
6540
- proto.talk_api.AssistantConversationDeviationAction.deserializeBinaryFromReader = function(msg, reader) {
6184
+ proto.AssistantConversationDeviationAction.deserializeBinaryFromReader = function(msg, reader) {
6541
6185
  while (reader.nextField()) {
6542
6186
  if (reader.isEndGroup()) {
6543
6187
  break;
@@ -6551,19 +6195,19 @@ var require_talk_api_pb = __commonJS({
6551
6195
  }
6552
6196
  return msg;
6553
6197
  };
6554
- proto.talk_api.AssistantConversationDeviationAction.prototype.serializeBinary = function() {
6198
+ proto.AssistantConversationDeviationAction.prototype.serializeBinary = function() {
6555
6199
  var writer = new jspb.BinaryWriter();
6556
- proto.talk_api.AssistantConversationDeviationAction.serializeBinaryToWriter(this, writer);
6200
+ proto.AssistantConversationDeviationAction.serializeBinaryToWriter(this, writer);
6557
6201
  return writer.getResultBuffer();
6558
6202
  };
6559
- proto.talk_api.AssistantConversationDeviationAction.serializeBinaryToWriter = function(message, writer) {
6203
+ proto.AssistantConversationDeviationAction.serializeBinaryToWriter = function(message, writer) {
6560
6204
  var f = void 0;
6561
6205
  };
6562
6206
  if (jspb.Message.GENERATE_TO_OBJECT) {
6563
- proto.talk_api.AssistantConversationAssistantTransferAction.prototype.toObject = function(opt_includeInstance) {
6564
- return proto.talk_api.AssistantConversationAssistantTransferAction.toObject(opt_includeInstance, this);
6207
+ proto.AssistantConversationAssistantTransferAction.prototype.toObject = function(opt_includeInstance) {
6208
+ return proto.AssistantConversationAssistantTransferAction.toObject(opt_includeInstance, this);
6565
6209
  };
6566
- proto.talk_api.AssistantConversationAssistantTransferAction.toObject = function(includeInstance, msg) {
6210
+ proto.AssistantConversationAssistantTransferAction.toObject = function(includeInstance, msg) {
6567
6211
  var f, obj = {};
6568
6212
  if (includeInstance) {
6569
6213
  obj.$jspbMessageInstance = msg;
@@ -6571,12 +6215,12 @@ var require_talk_api_pb = __commonJS({
6571
6215
  return obj;
6572
6216
  };
6573
6217
  }
6574
- proto.talk_api.AssistantConversationAssistantTransferAction.deserializeBinary = function(bytes) {
6218
+ proto.AssistantConversationAssistantTransferAction.deserializeBinary = function(bytes) {
6575
6219
  var reader = new jspb.BinaryReader(bytes);
6576
- var msg = new proto.talk_api.AssistantConversationAssistantTransferAction();
6577
- return proto.talk_api.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader(msg, reader);
6220
+ var msg = new proto.AssistantConversationAssistantTransferAction();
6221
+ return proto.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader(msg, reader);
6578
6222
  };
6579
- proto.talk_api.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader = function(msg, reader) {
6223
+ proto.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader = function(msg, reader) {
6580
6224
  while (reader.nextField()) {
6581
6225
  if (reader.isEndGroup()) {
6582
6226
  break;
@@ -6590,19 +6234,19 @@ var require_talk_api_pb = __commonJS({
6590
6234
  }
6591
6235
  return msg;
6592
6236
  };
6593
- proto.talk_api.AssistantConversationAssistantTransferAction.prototype.serializeBinary = function() {
6237
+ proto.AssistantConversationAssistantTransferAction.prototype.serializeBinary = function() {
6594
6238
  var writer = new jspb.BinaryWriter();
6595
- proto.talk_api.AssistantConversationAssistantTransferAction.serializeBinaryToWriter(this, writer);
6239
+ proto.AssistantConversationAssistantTransferAction.serializeBinaryToWriter(this, writer);
6596
6240
  return writer.getResultBuffer();
6597
6241
  };
6598
- proto.talk_api.AssistantConversationAssistantTransferAction.serializeBinaryToWriter = function(message, writer) {
6242
+ proto.AssistantConversationAssistantTransferAction.serializeBinaryToWriter = function(message, writer) {
6599
6243
  var f = void 0;
6600
6244
  };
6601
6245
  if (jspb.Message.GENERATE_TO_OBJECT) {
6602
- proto.talk_api.AssistantConversationPhoneCallTransferAction.prototype.toObject = function(opt_includeInstance) {
6603
- return proto.talk_api.AssistantConversationPhoneCallTransferAction.toObject(opt_includeInstance, this);
6246
+ proto.AssistantConversationPhoneCallTransferAction.prototype.toObject = function(opt_includeInstance) {
6247
+ return proto.AssistantConversationPhoneCallTransferAction.toObject(opt_includeInstance, this);
6604
6248
  };
6605
- proto.talk_api.AssistantConversationPhoneCallTransferAction.toObject = function(includeInstance, msg) {
6249
+ proto.AssistantConversationPhoneCallTransferAction.toObject = function(includeInstance, msg) {
6606
6250
  var f, obj = {};
6607
6251
  if (includeInstance) {
6608
6252
  obj.$jspbMessageInstance = msg;
@@ -6610,12 +6254,12 @@ var require_talk_api_pb = __commonJS({
6610
6254
  return obj;
6611
6255
  };
6612
6256
  }
6613
- proto.talk_api.AssistantConversationPhoneCallTransferAction.deserializeBinary = function(bytes) {
6257
+ proto.AssistantConversationPhoneCallTransferAction.deserializeBinary = function(bytes) {
6614
6258
  var reader = new jspb.BinaryReader(bytes);
6615
- var msg = new proto.talk_api.AssistantConversationPhoneCallTransferAction();
6616
- return proto.talk_api.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader(msg, reader);
6259
+ var msg = new proto.AssistantConversationPhoneCallTransferAction();
6260
+ return proto.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader(msg, reader);
6617
6261
  };
6618
- proto.talk_api.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader = function(msg, reader) {
6262
+ proto.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader = function(msg, reader) {
6619
6263
  while (reader.nextField()) {
6620
6264
  if (reader.isEndGroup()) {
6621
6265
  break;
@@ -6629,19 +6273,19 @@ var require_talk_api_pb = __commonJS({
6629
6273
  }
6630
6274
  return msg;
6631
6275
  };
6632
- proto.talk_api.AssistantConversationPhoneCallTransferAction.prototype.serializeBinary = function() {
6276
+ proto.AssistantConversationPhoneCallTransferAction.prototype.serializeBinary = function() {
6633
6277
  var writer = new jspb.BinaryWriter();
6634
- proto.talk_api.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter(this, writer);
6278
+ proto.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter(this, writer);
6635
6279
  return writer.getResultBuffer();
6636
6280
  };
6637
- proto.talk_api.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter = function(message, writer) {
6281
+ proto.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter = function(message, writer) {
6638
6282
  var f = void 0;
6639
6283
  };
6640
6284
  if (jspb.Message.GENERATE_TO_OBJECT) {
6641
- proto.talk_api.AssistantConversationInterruption.prototype.toObject = function(opt_includeInstance) {
6642
- return proto.talk_api.AssistantConversationInterruption.toObject(opt_includeInstance, this);
6285
+ proto.AssistantConversationInterruption.prototype.toObject = function(opt_includeInstance) {
6286
+ return proto.AssistantConversationInterruption.toObject(opt_includeInstance, this);
6643
6287
  };
6644
- proto.talk_api.AssistantConversationInterruption.toObject = function(includeInstance, msg) {
6288
+ proto.AssistantConversationInterruption.toObject = function(includeInstance, msg) {
6645
6289
  var f, obj = {
6646
6290
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
6647
6291
  type: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -6653,12 +6297,12 @@ var require_talk_api_pb = __commonJS({
6653
6297
  return obj;
6654
6298
  };
6655
6299
  }
6656
- proto.talk_api.AssistantConversationInterruption.deserializeBinary = function(bytes) {
6300
+ proto.AssistantConversationInterruption.deserializeBinary = function(bytes) {
6657
6301
  var reader = new jspb.BinaryReader(bytes);
6658
- var msg = new proto.talk_api.AssistantConversationInterruption();
6659
- return proto.talk_api.AssistantConversationInterruption.deserializeBinaryFromReader(msg, reader);
6302
+ var msg = new proto.AssistantConversationInterruption();
6303
+ return proto.AssistantConversationInterruption.deserializeBinaryFromReader(msg, reader);
6660
6304
  };
6661
- proto.talk_api.AssistantConversationInterruption.deserializeBinaryFromReader = function(msg, reader) {
6305
+ proto.AssistantConversationInterruption.deserializeBinaryFromReader = function(msg, reader) {
6662
6306
  while (reader.nextField()) {
6663
6307
  if (reader.isEndGroup()) {
6664
6308
  break;
@@ -6674,7 +6318,7 @@ var require_talk_api_pb = __commonJS({
6674
6318
  break;
6675
6319
  case 2:
6676
6320
  var value = (
6677
- /** @type {!proto.talk_api.AssistantConversationInterruption.InterruptionType} */
6321
+ /** @type {!proto.AssistantConversationInterruption.InterruptionType} */
6678
6322
  reader.readEnum()
6679
6323
  );
6680
6324
  msg.setType(value);
@@ -6691,12 +6335,12 @@ var require_talk_api_pb = __commonJS({
6691
6335
  }
6692
6336
  return msg;
6693
6337
  };
6694
- proto.talk_api.AssistantConversationInterruption.prototype.serializeBinary = function() {
6338
+ proto.AssistantConversationInterruption.prototype.serializeBinary = function() {
6695
6339
  var writer = new jspb.BinaryWriter();
6696
- proto.talk_api.AssistantConversationInterruption.serializeBinaryToWriter(this, writer);
6340
+ proto.AssistantConversationInterruption.serializeBinaryToWriter(this, writer);
6697
6341
  return writer.getResultBuffer();
6698
6342
  };
6699
- proto.talk_api.AssistantConversationInterruption.serializeBinaryToWriter = function(message, writer) {
6343
+ proto.AssistantConversationInterruption.serializeBinaryToWriter = function(message, writer) {
6700
6344
  var f = void 0;
6701
6345
  f = message.getId();
6702
6346
  if (f.length > 0) {
@@ -6721,49 +6365,49 @@ var require_talk_api_pb = __commonJS({
6721
6365
  );
6722
6366
  }
6723
6367
  };
6724
- proto.talk_api.AssistantConversationInterruption.InterruptionType = {
6368
+ proto.AssistantConversationInterruption.InterruptionType = {
6725
6369
  INTERRUPTION_TYPE_UNSPECIFIED: 0,
6726
6370
  INTERRUPTION_TYPE_VAD: 1,
6727
6371
  INTERRUPTION_TYPE_WORD: 2
6728
6372
  };
6729
- proto.talk_api.AssistantConversationInterruption.prototype.getId = function() {
6373
+ proto.AssistantConversationInterruption.prototype.getId = function() {
6730
6374
  return (
6731
6375
  /** @type {string} */
6732
6376
  jspb.Message.getFieldWithDefault(this, 1, "")
6733
6377
  );
6734
6378
  };
6735
- proto.talk_api.AssistantConversationInterruption.prototype.setId = function(value) {
6379
+ proto.AssistantConversationInterruption.prototype.setId = function(value) {
6736
6380
  return jspb.Message.setProto3StringField(this, 1, value);
6737
6381
  };
6738
- proto.talk_api.AssistantConversationInterruption.prototype.getType = function() {
6382
+ proto.AssistantConversationInterruption.prototype.getType = function() {
6739
6383
  return (
6740
- /** @type {!proto.talk_api.AssistantConversationInterruption.InterruptionType} */
6384
+ /** @type {!proto.AssistantConversationInterruption.InterruptionType} */
6741
6385
  jspb.Message.getFieldWithDefault(this, 2, 0)
6742
6386
  );
6743
6387
  };
6744
- proto.talk_api.AssistantConversationInterruption.prototype.setType = function(value) {
6388
+ proto.AssistantConversationInterruption.prototype.setType = function(value) {
6745
6389
  return jspb.Message.setProto3EnumField(this, 2, value);
6746
6390
  };
6747
- proto.talk_api.AssistantConversationInterruption.prototype.getTime = function() {
6391
+ proto.AssistantConversationInterruption.prototype.getTime = function() {
6748
6392
  return (
6749
6393
  /** @type{?proto.google.protobuf.Timestamp} */
6750
6394
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)
6751
6395
  );
6752
6396
  };
6753
- proto.talk_api.AssistantConversationInterruption.prototype.setTime = function(value) {
6397
+ proto.AssistantConversationInterruption.prototype.setTime = function(value) {
6754
6398
  return jspb.Message.setWrapperField(this, 3, value);
6755
6399
  };
6756
- proto.talk_api.AssistantConversationInterruption.prototype.clearTime = function() {
6400
+ proto.AssistantConversationInterruption.prototype.clearTime = function() {
6757
6401
  return this.setTime(void 0);
6758
6402
  };
6759
- proto.talk_api.AssistantConversationInterruption.prototype.hasTime = function() {
6403
+ proto.AssistantConversationInterruption.prototype.hasTime = function() {
6760
6404
  return jspb.Message.getField(this, 3) != null;
6761
6405
  };
6762
6406
  if (jspb.Message.GENERATE_TO_OBJECT) {
6763
- proto.talk_api.AssistantConversationMessageTextContent.prototype.toObject = function(opt_includeInstance) {
6764
- return proto.talk_api.AssistantConversationMessageTextContent.toObject(opt_includeInstance, this);
6407
+ proto.AssistantConversationMessageTextContent.prototype.toObject = function(opt_includeInstance) {
6408
+ return proto.AssistantConversationMessageTextContent.toObject(opt_includeInstance, this);
6765
6409
  };
6766
- proto.talk_api.AssistantConversationMessageTextContent.toObject = function(includeInstance, msg) {
6410
+ proto.AssistantConversationMessageTextContent.toObject = function(includeInstance, msg) {
6767
6411
  var f, obj = {
6768
6412
  content: jspb.Message.getFieldWithDefault(msg, 1, "")
6769
6413
  };
@@ -6773,12 +6417,12 @@ var require_talk_api_pb = __commonJS({
6773
6417
  return obj;
6774
6418
  };
6775
6419
  }
6776
- proto.talk_api.AssistantConversationMessageTextContent.deserializeBinary = function(bytes) {
6420
+ proto.AssistantConversationMessageTextContent.deserializeBinary = function(bytes) {
6777
6421
  var reader = new jspb.BinaryReader(bytes);
6778
- var msg = new proto.talk_api.AssistantConversationMessageTextContent();
6779
- return proto.talk_api.AssistantConversationMessageTextContent.deserializeBinaryFromReader(msg, reader);
6422
+ var msg = new proto.AssistantConversationMessageTextContent();
6423
+ return proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader(msg, reader);
6780
6424
  };
6781
- proto.talk_api.AssistantConversationMessageTextContent.deserializeBinaryFromReader = function(msg, reader) {
6425
+ proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader = function(msg, reader) {
6782
6426
  while (reader.nextField()) {
6783
6427
  if (reader.isEndGroup()) {
6784
6428
  break;
@@ -6799,12 +6443,12 @@ var require_talk_api_pb = __commonJS({
6799
6443
  }
6800
6444
  return msg;
6801
6445
  };
6802
- proto.talk_api.AssistantConversationMessageTextContent.prototype.serializeBinary = function() {
6446
+ proto.AssistantConversationMessageTextContent.prototype.serializeBinary = function() {
6803
6447
  var writer = new jspb.BinaryWriter();
6804
- proto.talk_api.AssistantConversationMessageTextContent.serializeBinaryToWriter(this, writer);
6448
+ proto.AssistantConversationMessageTextContent.serializeBinaryToWriter(this, writer);
6805
6449
  return writer.getResultBuffer();
6806
6450
  };
6807
- proto.talk_api.AssistantConversationMessageTextContent.serializeBinaryToWriter = function(message, writer) {
6451
+ proto.AssistantConversationMessageTextContent.serializeBinaryToWriter = function(message, writer) {
6808
6452
  var f = void 0;
6809
6453
  f = message.getContent();
6810
6454
  if (f.length > 0) {
@@ -6814,20 +6458,20 @@ var require_talk_api_pb = __commonJS({
6814
6458
  );
6815
6459
  }
6816
6460
  };
6817
- proto.talk_api.AssistantConversationMessageTextContent.prototype.getContent = function() {
6461
+ proto.AssistantConversationMessageTextContent.prototype.getContent = function() {
6818
6462
  return (
6819
6463
  /** @type {string} */
6820
6464
  jspb.Message.getFieldWithDefault(this, 1, "")
6821
6465
  );
6822
6466
  };
6823
- proto.talk_api.AssistantConversationMessageTextContent.prototype.setContent = function(value) {
6467
+ proto.AssistantConversationMessageTextContent.prototype.setContent = function(value) {
6824
6468
  return jspb.Message.setProto3StringField(this, 1, value);
6825
6469
  };
6826
6470
  if (jspb.Message.GENERATE_TO_OBJECT) {
6827
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.toObject = function(opt_includeInstance) {
6828
- return proto.talk_api.AssistantConversationMessageAudioContent.toObject(opt_includeInstance, this);
6471
+ proto.AssistantConversationMessageAudioContent.prototype.toObject = function(opt_includeInstance) {
6472
+ return proto.AssistantConversationMessageAudioContent.toObject(opt_includeInstance, this);
6829
6473
  };
6830
- proto.talk_api.AssistantConversationMessageAudioContent.toObject = function(includeInstance, msg) {
6474
+ proto.AssistantConversationMessageAudioContent.toObject = function(includeInstance, msg) {
6831
6475
  var f, obj = {
6832
6476
  content: msg.getContent_asB64()
6833
6477
  };
@@ -6837,12 +6481,12 @@ var require_talk_api_pb = __commonJS({
6837
6481
  return obj;
6838
6482
  };
6839
6483
  }
6840
- proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinary = function(bytes) {
6484
+ proto.AssistantConversationMessageAudioContent.deserializeBinary = function(bytes) {
6841
6485
  var reader = new jspb.BinaryReader(bytes);
6842
- var msg = new proto.talk_api.AssistantConversationMessageAudioContent();
6843
- return proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinaryFromReader(msg, reader);
6486
+ var msg = new proto.AssistantConversationMessageAudioContent();
6487
+ return proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader(msg, reader);
6844
6488
  };
6845
- proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinaryFromReader = function(msg, reader) {
6489
+ proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader = function(msg, reader) {
6846
6490
  while (reader.nextField()) {
6847
6491
  if (reader.isEndGroup()) {
6848
6492
  break;
@@ -6863,12 +6507,12 @@ var require_talk_api_pb = __commonJS({
6863
6507
  }
6864
6508
  return msg;
6865
6509
  };
6866
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.serializeBinary = function() {
6510
+ proto.AssistantConversationMessageAudioContent.prototype.serializeBinary = function() {
6867
6511
  var writer = new jspb.BinaryWriter();
6868
- proto.talk_api.AssistantConversationMessageAudioContent.serializeBinaryToWriter(this, writer);
6512
+ proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter(this, writer);
6869
6513
  return writer.getResultBuffer();
6870
6514
  };
6871
- proto.talk_api.AssistantConversationMessageAudioContent.serializeBinaryToWriter = function(message, writer) {
6515
+ proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter = function(message, writer) {
6872
6516
  var f = void 0;
6873
6517
  f = message.getContent_asU8();
6874
6518
  if (f.length > 0) {
@@ -6878,13 +6522,13 @@ var require_talk_api_pb = __commonJS({
6878
6522
  );
6879
6523
  }
6880
6524
  };
6881
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.getContent = function() {
6525
+ proto.AssistantConversationMessageAudioContent.prototype.getContent = function() {
6882
6526
  return (
6883
6527
  /** @type {!(string|Uint8Array)} */
6884
6528
  jspb.Message.getFieldWithDefault(this, 1, "")
6885
6529
  );
6886
6530
  };
6887
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.getContent_asB64 = function() {
6531
+ proto.AssistantConversationMessageAudioContent.prototype.getContent_asB64 = function() {
6888
6532
  return (
6889
6533
  /** @type {string} */
6890
6534
  jspb.Message.bytesAsB64(
@@ -6892,7 +6536,7 @@ var require_talk_api_pb = __commonJS({
6892
6536
  )
6893
6537
  );
6894
6538
  };
6895
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.getContent_asU8 = function() {
6539
+ proto.AssistantConversationMessageAudioContent.prototype.getContent_asU8 = function() {
6896
6540
  return (
6897
6541
  /** @type {!Uint8Array} */
6898
6542
  jspb.Message.bytesAsU8(
@@ -6900,29 +6544,29 @@ var require_talk_api_pb = __commonJS({
6900
6544
  )
6901
6545
  );
6902
6546
  };
6903
- proto.talk_api.AssistantConversationMessageAudioContent.prototype.setContent = function(value) {
6547
+ proto.AssistantConversationMessageAudioContent.prototype.setContent = function(value) {
6904
6548
  return jspb.Message.setProto3BytesField(this, 1, value);
6905
6549
  };
6906
- proto.talk_api.AssistantConversationUserMessage.oneofGroups_ = [[10, 11]];
6907
- proto.talk_api.AssistantConversationUserMessage.MessageCase = {
6550
+ proto.AssistantConversationUserMessage.oneofGroups_ = [[10, 11]];
6551
+ proto.AssistantConversationUserMessage.MessageCase = {
6908
6552
  MESSAGE_NOT_SET: 0,
6909
6553
  AUDIO: 10,
6910
6554
  TEXT: 11
6911
6555
  };
6912
- proto.talk_api.AssistantConversationUserMessage.prototype.getMessageCase = function() {
6556
+ proto.AssistantConversationUserMessage.prototype.getMessageCase = function() {
6913
6557
  return (
6914
- /** @type {proto.talk_api.AssistantConversationUserMessage.MessageCase} */
6915
- jspb.Message.computeOneofCase(this, proto.talk_api.AssistantConversationUserMessage.oneofGroups_[0])
6558
+ /** @type {proto.AssistantConversationUserMessage.MessageCase} */
6559
+ jspb.Message.computeOneofCase(this, proto.AssistantConversationUserMessage.oneofGroups_[0])
6916
6560
  );
6917
6561
  };
6918
6562
  if (jspb.Message.GENERATE_TO_OBJECT) {
6919
- proto.talk_api.AssistantConversationUserMessage.prototype.toObject = function(opt_includeInstance) {
6920
- return proto.talk_api.AssistantConversationUserMessage.toObject(opt_includeInstance, this);
6563
+ proto.AssistantConversationUserMessage.prototype.toObject = function(opt_includeInstance) {
6564
+ return proto.AssistantConversationUserMessage.toObject(opt_includeInstance, this);
6921
6565
  };
6922
- proto.talk_api.AssistantConversationUserMessage.toObject = function(includeInstance, msg) {
6566
+ proto.AssistantConversationUserMessage.toObject = function(includeInstance, msg) {
6923
6567
  var f, obj = {
6924
- audio: (f = msg.getAudio()) && proto.talk_api.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
6925
- text: (f = msg.getText()) && proto.talk_api.AssistantConversationMessageTextContent.toObject(includeInstance, f),
6568
+ audio: (f = msg.getAudio()) && proto.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
6569
+ text: (f = msg.getText()) && proto.AssistantConversationMessageTextContent.toObject(includeInstance, f),
6926
6570
  id: jspb.Message.getFieldWithDefault(msg, 2, ""),
6927
6571
  completed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
6928
6572
  time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
@@ -6933,12 +6577,12 @@ var require_talk_api_pb = __commonJS({
6933
6577
  return obj;
6934
6578
  };
6935
6579
  }
6936
- proto.talk_api.AssistantConversationUserMessage.deserializeBinary = function(bytes) {
6580
+ proto.AssistantConversationUserMessage.deserializeBinary = function(bytes) {
6937
6581
  var reader = new jspb.BinaryReader(bytes);
6938
- var msg = new proto.talk_api.AssistantConversationUserMessage();
6939
- return proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader(msg, reader);
6582
+ var msg = new proto.AssistantConversationUserMessage();
6583
+ return proto.AssistantConversationUserMessage.deserializeBinaryFromReader(msg, reader);
6940
6584
  };
6941
- proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader = function(msg, reader) {
6585
+ proto.AssistantConversationUserMessage.deserializeBinaryFromReader = function(msg, reader) {
6942
6586
  while (reader.nextField()) {
6943
6587
  if (reader.isEndGroup()) {
6944
6588
  break;
@@ -6946,13 +6590,13 @@ var require_talk_api_pb = __commonJS({
6946
6590
  var field = reader.getFieldNumber();
6947
6591
  switch (field) {
6948
6592
  case 10:
6949
- var value = new proto.talk_api.AssistantConversationMessageAudioContent();
6950
- reader.readMessage(value, proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
6593
+ var value = new proto.AssistantConversationMessageAudioContent();
6594
+ reader.readMessage(value, proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
6951
6595
  msg.setAudio(value);
6952
6596
  break;
6953
6597
  case 11:
6954
- var value = new proto.talk_api.AssistantConversationMessageTextContent();
6955
- reader.readMessage(value, proto.talk_api.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
6598
+ var value = new proto.AssistantConversationMessageTextContent();
6599
+ reader.readMessage(value, proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
6956
6600
  msg.setText(value);
6957
6601
  break;
6958
6602
  case 2:
@@ -6981,19 +6625,19 @@ var require_talk_api_pb = __commonJS({
6981
6625
  }
6982
6626
  return msg;
6983
6627
  };
6984
- proto.talk_api.AssistantConversationUserMessage.prototype.serializeBinary = function() {
6628
+ proto.AssistantConversationUserMessage.prototype.serializeBinary = function() {
6985
6629
  var writer = new jspb.BinaryWriter();
6986
- proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter(this, writer);
6630
+ proto.AssistantConversationUserMessage.serializeBinaryToWriter(this, writer);
6987
6631
  return writer.getResultBuffer();
6988
6632
  };
6989
- proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter = function(message, writer) {
6633
+ proto.AssistantConversationUserMessage.serializeBinaryToWriter = function(message, writer) {
6990
6634
  var f = void 0;
6991
6635
  f = message.getAudio();
6992
6636
  if (f != null) {
6993
6637
  writer.writeMessage(
6994
6638
  10,
6995
6639
  f,
6996
- proto.talk_api.AssistantConversationMessageAudioContent.serializeBinaryToWriter
6640
+ proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter
6997
6641
  );
6998
6642
  }
6999
6643
  f = message.getText();
@@ -7001,7 +6645,7 @@ var require_talk_api_pb = __commonJS({
7001
6645
  writer.writeMessage(
7002
6646
  11,
7003
6647
  f,
7004
- proto.talk_api.AssistantConversationMessageTextContent.serializeBinaryToWriter
6648
+ proto.AssistantConversationMessageTextContent.serializeBinaryToWriter
7005
6649
  );
7006
6650
  }
7007
6651
  f = message.getId();
@@ -7027,89 +6671,89 @@ var require_talk_api_pb = __commonJS({
7027
6671
  );
7028
6672
  }
7029
6673
  };
7030
- proto.talk_api.AssistantConversationUserMessage.prototype.getAudio = function() {
6674
+ proto.AssistantConversationUserMessage.prototype.getAudio = function() {
7031
6675
  return (
7032
- /** @type{?proto.talk_api.AssistantConversationMessageAudioContent} */
7033
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationMessageAudioContent, 10)
6676
+ /** @type{?proto.AssistantConversationMessageAudioContent} */
6677
+ jspb.Message.getWrapperField(this, proto.AssistantConversationMessageAudioContent, 10)
7034
6678
  );
7035
6679
  };
7036
- proto.talk_api.AssistantConversationUserMessage.prototype.setAudio = function(value) {
7037
- return jspb.Message.setOneofWrapperField(this, 10, proto.talk_api.AssistantConversationUserMessage.oneofGroups_[0], value);
6680
+ proto.AssistantConversationUserMessage.prototype.setAudio = function(value) {
6681
+ return jspb.Message.setOneofWrapperField(this, 10, proto.AssistantConversationUserMessage.oneofGroups_[0], value);
7038
6682
  };
7039
- proto.talk_api.AssistantConversationUserMessage.prototype.clearAudio = function() {
6683
+ proto.AssistantConversationUserMessage.prototype.clearAudio = function() {
7040
6684
  return this.setAudio(void 0);
7041
6685
  };
7042
- proto.talk_api.AssistantConversationUserMessage.prototype.hasAudio = function() {
6686
+ proto.AssistantConversationUserMessage.prototype.hasAudio = function() {
7043
6687
  return jspb.Message.getField(this, 10) != null;
7044
6688
  };
7045
- proto.talk_api.AssistantConversationUserMessage.prototype.getText = function() {
6689
+ proto.AssistantConversationUserMessage.prototype.getText = function() {
7046
6690
  return (
7047
- /** @type{?proto.talk_api.AssistantConversationMessageTextContent} */
7048
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationMessageTextContent, 11)
6691
+ /** @type{?proto.AssistantConversationMessageTextContent} */
6692
+ jspb.Message.getWrapperField(this, proto.AssistantConversationMessageTextContent, 11)
7049
6693
  );
7050
6694
  };
7051
- proto.talk_api.AssistantConversationUserMessage.prototype.setText = function(value) {
7052
- return jspb.Message.setOneofWrapperField(this, 11, proto.talk_api.AssistantConversationUserMessage.oneofGroups_[0], value);
6695
+ proto.AssistantConversationUserMessage.prototype.setText = function(value) {
6696
+ return jspb.Message.setOneofWrapperField(this, 11, proto.AssistantConversationUserMessage.oneofGroups_[0], value);
7053
6697
  };
7054
- proto.talk_api.AssistantConversationUserMessage.prototype.clearText = function() {
6698
+ proto.AssistantConversationUserMessage.prototype.clearText = function() {
7055
6699
  return this.setText(void 0);
7056
6700
  };
7057
- proto.talk_api.AssistantConversationUserMessage.prototype.hasText = function() {
6701
+ proto.AssistantConversationUserMessage.prototype.hasText = function() {
7058
6702
  return jspb.Message.getField(this, 11) != null;
7059
6703
  };
7060
- proto.talk_api.AssistantConversationUserMessage.prototype.getId = function() {
6704
+ proto.AssistantConversationUserMessage.prototype.getId = function() {
7061
6705
  return (
7062
6706
  /** @type {string} */
7063
6707
  jspb.Message.getFieldWithDefault(this, 2, "")
7064
6708
  );
7065
6709
  };
7066
- proto.talk_api.AssistantConversationUserMessage.prototype.setId = function(value) {
6710
+ proto.AssistantConversationUserMessage.prototype.setId = function(value) {
7067
6711
  return jspb.Message.setProto3StringField(this, 2, value);
7068
6712
  };
7069
- proto.talk_api.AssistantConversationUserMessage.prototype.getCompleted = function() {
6713
+ proto.AssistantConversationUserMessage.prototype.getCompleted = function() {
7070
6714
  return (
7071
6715
  /** @type {boolean} */
7072
6716
  jspb.Message.getBooleanFieldWithDefault(this, 3, false)
7073
6717
  );
7074
6718
  };
7075
- proto.talk_api.AssistantConversationUserMessage.prototype.setCompleted = function(value) {
6719
+ proto.AssistantConversationUserMessage.prototype.setCompleted = function(value) {
7076
6720
  return jspb.Message.setProto3BooleanField(this, 3, value);
7077
6721
  };
7078
- proto.talk_api.AssistantConversationUserMessage.prototype.getTime = function() {
6722
+ proto.AssistantConversationUserMessage.prototype.getTime = function() {
7079
6723
  return (
7080
6724
  /** @type{?proto.google.protobuf.Timestamp} */
7081
6725
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)
7082
6726
  );
7083
6727
  };
7084
- proto.talk_api.AssistantConversationUserMessage.prototype.setTime = function(value) {
6728
+ proto.AssistantConversationUserMessage.prototype.setTime = function(value) {
7085
6729
  return jspb.Message.setWrapperField(this, 4, value);
7086
6730
  };
7087
- proto.talk_api.AssistantConversationUserMessage.prototype.clearTime = function() {
6731
+ proto.AssistantConversationUserMessage.prototype.clearTime = function() {
7088
6732
  return this.setTime(void 0);
7089
6733
  };
7090
- proto.talk_api.AssistantConversationUserMessage.prototype.hasTime = function() {
6734
+ proto.AssistantConversationUserMessage.prototype.hasTime = function() {
7091
6735
  return jspb.Message.getField(this, 4) != null;
7092
6736
  };
7093
- proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_ = [[10, 11]];
7094
- proto.talk_api.AssistantConversationAssistantMessage.MessageCase = {
6737
+ proto.AssistantConversationAssistantMessage.oneofGroups_ = [[10, 11]];
6738
+ proto.AssistantConversationAssistantMessage.MessageCase = {
7095
6739
  MESSAGE_NOT_SET: 0,
7096
6740
  AUDIO: 10,
7097
6741
  TEXT: 11
7098
6742
  };
7099
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getMessageCase = function() {
6743
+ proto.AssistantConversationAssistantMessage.prototype.getMessageCase = function() {
7100
6744
  return (
7101
- /** @type {proto.talk_api.AssistantConversationAssistantMessage.MessageCase} */
7102
- jspb.Message.computeOneofCase(this, proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_[0])
6745
+ /** @type {proto.AssistantConversationAssistantMessage.MessageCase} */
6746
+ jspb.Message.computeOneofCase(this, proto.AssistantConversationAssistantMessage.oneofGroups_[0])
7103
6747
  );
7104
6748
  };
7105
6749
  if (jspb.Message.GENERATE_TO_OBJECT) {
7106
- proto.talk_api.AssistantConversationAssistantMessage.prototype.toObject = function(opt_includeInstance) {
7107
- return proto.talk_api.AssistantConversationAssistantMessage.toObject(opt_includeInstance, this);
6750
+ proto.AssistantConversationAssistantMessage.prototype.toObject = function(opt_includeInstance) {
6751
+ return proto.AssistantConversationAssistantMessage.toObject(opt_includeInstance, this);
7108
6752
  };
7109
- proto.talk_api.AssistantConversationAssistantMessage.toObject = function(includeInstance, msg) {
6753
+ proto.AssistantConversationAssistantMessage.toObject = function(includeInstance, msg) {
7110
6754
  var f, obj = {
7111
- audio: (f = msg.getAudio()) && proto.talk_api.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
7112
- text: (f = msg.getText()) && proto.talk_api.AssistantConversationMessageTextContent.toObject(includeInstance, f),
6755
+ audio: (f = msg.getAudio()) && proto.AssistantConversationMessageAudioContent.toObject(includeInstance, f),
6756
+ text: (f = msg.getText()) && proto.AssistantConversationMessageTextContent.toObject(includeInstance, f),
7113
6757
  id: jspb.Message.getFieldWithDefault(msg, 2, ""),
7114
6758
  completed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
7115
6759
  time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
@@ -7120,12 +6764,12 @@ var require_talk_api_pb = __commonJS({
7120
6764
  return obj;
7121
6765
  };
7122
6766
  }
7123
- proto.talk_api.AssistantConversationAssistantMessage.deserializeBinary = function(bytes) {
6767
+ proto.AssistantConversationAssistantMessage.deserializeBinary = function(bytes) {
7124
6768
  var reader = new jspb.BinaryReader(bytes);
7125
- var msg = new proto.talk_api.AssistantConversationAssistantMessage();
7126
- return proto.talk_api.AssistantConversationAssistantMessage.deserializeBinaryFromReader(msg, reader);
6769
+ var msg = new proto.AssistantConversationAssistantMessage();
6770
+ return proto.AssistantConversationAssistantMessage.deserializeBinaryFromReader(msg, reader);
7127
6771
  };
7128
- proto.talk_api.AssistantConversationAssistantMessage.deserializeBinaryFromReader = function(msg, reader) {
6772
+ proto.AssistantConversationAssistantMessage.deserializeBinaryFromReader = function(msg, reader) {
7129
6773
  while (reader.nextField()) {
7130
6774
  if (reader.isEndGroup()) {
7131
6775
  break;
@@ -7133,13 +6777,13 @@ var require_talk_api_pb = __commonJS({
7133
6777
  var field = reader.getFieldNumber();
7134
6778
  switch (field) {
7135
6779
  case 10:
7136
- var value = new proto.talk_api.AssistantConversationMessageAudioContent();
7137
- reader.readMessage(value, proto.talk_api.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
6780
+ var value = new proto.AssistantConversationMessageAudioContent();
6781
+ reader.readMessage(value, proto.AssistantConversationMessageAudioContent.deserializeBinaryFromReader);
7138
6782
  msg.setAudio(value);
7139
6783
  break;
7140
6784
  case 11:
7141
- var value = new proto.talk_api.AssistantConversationMessageTextContent();
7142
- reader.readMessage(value, proto.talk_api.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
6785
+ var value = new proto.AssistantConversationMessageTextContent();
6786
+ reader.readMessage(value, proto.AssistantConversationMessageTextContent.deserializeBinaryFromReader);
7143
6787
  msg.setText(value);
7144
6788
  break;
7145
6789
  case 2:
@@ -7168,19 +6812,19 @@ var require_talk_api_pb = __commonJS({
7168
6812
  }
7169
6813
  return msg;
7170
6814
  };
7171
- proto.talk_api.AssistantConversationAssistantMessage.prototype.serializeBinary = function() {
6815
+ proto.AssistantConversationAssistantMessage.prototype.serializeBinary = function() {
7172
6816
  var writer = new jspb.BinaryWriter();
7173
- proto.talk_api.AssistantConversationAssistantMessage.serializeBinaryToWriter(this, writer);
6817
+ proto.AssistantConversationAssistantMessage.serializeBinaryToWriter(this, writer);
7174
6818
  return writer.getResultBuffer();
7175
6819
  };
7176
- proto.talk_api.AssistantConversationAssistantMessage.serializeBinaryToWriter = function(message, writer) {
6820
+ proto.AssistantConversationAssistantMessage.serializeBinaryToWriter = function(message, writer) {
7177
6821
  var f = void 0;
7178
6822
  f = message.getAudio();
7179
6823
  if (f != null) {
7180
6824
  writer.writeMessage(
7181
6825
  10,
7182
6826
  f,
7183
- proto.talk_api.AssistantConversationMessageAudioContent.serializeBinaryToWriter
6827
+ proto.AssistantConversationMessageAudioContent.serializeBinaryToWriter
7184
6828
  );
7185
6829
  }
7186
6830
  f = message.getText();
@@ -7188,7 +6832,7 @@ var require_talk_api_pb = __commonJS({
7188
6832
  writer.writeMessage(
7189
6833
  11,
7190
6834
  f,
7191
- proto.talk_api.AssistantConversationMessageTextContent.serializeBinaryToWriter
6835
+ proto.AssistantConversationMessageTextContent.serializeBinaryToWriter
7192
6836
  );
7193
6837
  }
7194
6838
  f = message.getId();
@@ -7214,69 +6858,175 @@ var require_talk_api_pb = __commonJS({
7214
6858
  );
7215
6859
  }
7216
6860
  };
7217
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getAudio = function() {
6861
+ proto.AssistantConversationAssistantMessage.prototype.getAudio = function() {
7218
6862
  return (
7219
- /** @type{?proto.talk_api.AssistantConversationMessageAudioContent} */
7220
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationMessageAudioContent, 10)
6863
+ /** @type{?proto.AssistantConversationMessageAudioContent} */
6864
+ jspb.Message.getWrapperField(this, proto.AssistantConversationMessageAudioContent, 10)
7221
6865
  );
7222
6866
  };
7223
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setAudio = function(value) {
7224
- return jspb.Message.setOneofWrapperField(this, 10, proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_[0], value);
6867
+ proto.AssistantConversationAssistantMessage.prototype.setAudio = function(value) {
6868
+ return jspb.Message.setOneofWrapperField(this, 10, proto.AssistantConversationAssistantMessage.oneofGroups_[0], value);
7225
6869
  };
7226
- proto.talk_api.AssistantConversationAssistantMessage.prototype.clearAudio = function() {
6870
+ proto.AssistantConversationAssistantMessage.prototype.clearAudio = function() {
7227
6871
  return this.setAudio(void 0);
7228
6872
  };
7229
- proto.talk_api.AssistantConversationAssistantMessage.prototype.hasAudio = function() {
6873
+ proto.AssistantConversationAssistantMessage.prototype.hasAudio = function() {
7230
6874
  return jspb.Message.getField(this, 10) != null;
7231
6875
  };
7232
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getText = function() {
6876
+ proto.AssistantConversationAssistantMessage.prototype.getText = function() {
7233
6877
  return (
7234
- /** @type{?proto.talk_api.AssistantConversationMessageTextContent} */
7235
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationMessageTextContent, 11)
6878
+ /** @type{?proto.AssistantConversationMessageTextContent} */
6879
+ jspb.Message.getWrapperField(this, proto.AssistantConversationMessageTextContent, 11)
7236
6880
  );
7237
6881
  };
7238
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setText = function(value) {
7239
- return jspb.Message.setOneofWrapperField(this, 11, proto.talk_api.AssistantConversationAssistantMessage.oneofGroups_[0], value);
6882
+ proto.AssistantConversationAssistantMessage.prototype.setText = function(value) {
6883
+ return jspb.Message.setOneofWrapperField(this, 11, proto.AssistantConversationAssistantMessage.oneofGroups_[0], value);
7240
6884
  };
7241
- proto.talk_api.AssistantConversationAssistantMessage.prototype.clearText = function() {
6885
+ proto.AssistantConversationAssistantMessage.prototype.clearText = function() {
7242
6886
  return this.setText(void 0);
7243
6887
  };
7244
- proto.talk_api.AssistantConversationAssistantMessage.prototype.hasText = function() {
6888
+ proto.AssistantConversationAssistantMessage.prototype.hasText = function() {
7245
6889
  return jspb.Message.getField(this, 11) != null;
7246
6890
  };
7247
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getId = function() {
6891
+ proto.AssistantConversationAssistantMessage.prototype.getId = function() {
7248
6892
  return (
7249
6893
  /** @type {string} */
7250
6894
  jspb.Message.getFieldWithDefault(this, 2, "")
7251
6895
  );
7252
6896
  };
7253
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setId = function(value) {
6897
+ proto.AssistantConversationAssistantMessage.prototype.setId = function(value) {
7254
6898
  return jspb.Message.setProto3StringField(this, 2, value);
7255
6899
  };
7256
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getCompleted = function() {
6900
+ proto.AssistantConversationAssistantMessage.prototype.getCompleted = function() {
7257
6901
  return (
7258
6902
  /** @type {boolean} */
7259
6903
  jspb.Message.getBooleanFieldWithDefault(this, 3, false)
7260
6904
  );
7261
6905
  };
7262
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setCompleted = function(value) {
6906
+ proto.AssistantConversationAssistantMessage.prototype.setCompleted = function(value) {
7263
6907
  return jspb.Message.setProto3BooleanField(this, 3, value);
7264
6908
  };
7265
- proto.talk_api.AssistantConversationAssistantMessage.prototype.getTime = function() {
6909
+ proto.AssistantConversationAssistantMessage.prototype.getTime = function() {
7266
6910
  return (
7267
6911
  /** @type{?proto.google.protobuf.Timestamp} */
7268
6912
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)
7269
6913
  );
7270
6914
  };
7271
- proto.talk_api.AssistantConversationAssistantMessage.prototype.setTime = function(value) {
6915
+ proto.AssistantConversationAssistantMessage.prototype.setTime = function(value) {
7272
6916
  return jspb.Message.setWrapperField(this, 4, value);
7273
6917
  };
7274
- proto.talk_api.AssistantConversationAssistantMessage.prototype.clearTime = function() {
6918
+ proto.AssistantConversationAssistantMessage.prototype.clearTime = function() {
7275
6919
  return this.setTime(void 0);
7276
6920
  };
7277
- proto.talk_api.AssistantConversationAssistantMessage.prototype.hasTime = function() {
6921
+ proto.AssistantConversationAssistantMessage.prototype.hasTime = function() {
7278
6922
  return jspb.Message.getField(this, 4) != null;
7279
6923
  };
6924
+ proto.Source = {
6925
+ WEB_PLUGIN: 0,
6926
+ DEBUGGER: 1,
6927
+ SDK: 2,
6928
+ PHONE_CALL: 3,
6929
+ WHATSAPP: 4
6930
+ };
6931
+ goog.object.extend(exports, proto);
6932
+ }
6933
+ });
6934
+
6935
+ // src/clients/protos/talk-api_pb.js
6936
+ var require_talk_api_pb = __commonJS({
6937
+ "src/clients/protos/talk-api_pb.js"(exports) {
6938
+ "use strict";
6939
+ var jspb = __require("google-protobuf");
6940
+ var goog = jspb;
6941
+ var global = function() {
6942
+ return this || window || global || self || Function("return this")();
6943
+ }.call(null);
6944
+ var google_protobuf_any_pb = __require("google-protobuf/google/protobuf/any_pb.js");
6945
+ goog.object.extend(proto, google_protobuf_any_pb);
6946
+ var common_pb = require_common_pb();
6947
+ goog.object.extend(proto, common_pb);
6948
+ goog.exportSymbol("proto.talk_api.AssistantMessagingRequest", null, global);
6949
+ goog.exportSymbol("proto.talk_api.AssistantMessagingRequest.RequestCase", null, global);
6950
+ goog.exportSymbol("proto.talk_api.AssistantMessagingResponse", null, global);
6951
+ goog.exportSymbol("proto.talk_api.AssistantMessagingResponse.DataCase", null, global);
6952
+ goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallRequest", null, global);
6953
+ goog.exportSymbol("proto.talk_api.CreateBulkPhoneCallResponse", null, global);
6954
+ goog.exportSymbol("proto.talk_api.CreateConversationMetricRequest", null, global);
6955
+ goog.exportSymbol("proto.talk_api.CreateConversationMetricResponse", null, global);
6956
+ goog.exportSymbol("proto.talk_api.CreateMessageMetricRequest", null, global);
6957
+ goog.exportSymbol("proto.talk_api.CreateMessageMetricResponse", null, global);
6958
+ goog.exportSymbol("proto.talk_api.CreatePhoneCallRequest", null, global);
6959
+ goog.exportSymbol("proto.talk_api.CreatePhoneCallResponse", null, global);
6960
+ proto.talk_api.AssistantMessagingRequest = function(opt_data) {
6961
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingRequest.oneofGroups_);
6962
+ };
6963
+ goog.inherits(proto.talk_api.AssistantMessagingRequest, jspb.Message);
6964
+ if (goog.DEBUG && !COMPILED) {
6965
+ proto.talk_api.AssistantMessagingRequest.displayName = "proto.talk_api.AssistantMessagingRequest";
6966
+ }
6967
+ proto.talk_api.AssistantMessagingResponse = function(opt_data) {
6968
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.talk_api.AssistantMessagingResponse.oneofGroups_);
6969
+ };
6970
+ goog.inherits(proto.talk_api.AssistantMessagingResponse, jspb.Message);
6971
+ if (goog.DEBUG && !COMPILED) {
6972
+ proto.talk_api.AssistantMessagingResponse.displayName = "proto.talk_api.AssistantMessagingResponse";
6973
+ }
6974
+ proto.talk_api.CreateMessageMetricRequest = function(opt_data) {
6975
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricRequest.repeatedFields_, null);
6976
+ };
6977
+ goog.inherits(proto.talk_api.CreateMessageMetricRequest, jspb.Message);
6978
+ if (goog.DEBUG && !COMPILED) {
6979
+ proto.talk_api.CreateMessageMetricRequest.displayName = "proto.talk_api.CreateMessageMetricRequest";
6980
+ }
6981
+ proto.talk_api.CreateMessageMetricResponse = function(opt_data) {
6982
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateMessageMetricResponse.repeatedFields_, null);
6983
+ };
6984
+ goog.inherits(proto.talk_api.CreateMessageMetricResponse, jspb.Message);
6985
+ if (goog.DEBUG && !COMPILED) {
6986
+ proto.talk_api.CreateMessageMetricResponse.displayName = "proto.talk_api.CreateMessageMetricResponse";
6987
+ }
6988
+ proto.talk_api.CreateConversationMetricRequest = function(opt_data) {
6989
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricRequest.repeatedFields_, null);
6990
+ };
6991
+ goog.inherits(proto.talk_api.CreateConversationMetricRequest, jspb.Message);
6992
+ if (goog.DEBUG && !COMPILED) {
6993
+ proto.talk_api.CreateConversationMetricRequest.displayName = "proto.talk_api.CreateConversationMetricRequest";
6994
+ }
6995
+ proto.talk_api.CreateConversationMetricResponse = function(opt_data) {
6996
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateConversationMetricResponse.repeatedFields_, null);
6997
+ };
6998
+ goog.inherits(proto.talk_api.CreateConversationMetricResponse, jspb.Message);
6999
+ if (goog.DEBUG && !COMPILED) {
7000
+ proto.talk_api.CreateConversationMetricResponse.displayName = "proto.talk_api.CreateConversationMetricResponse";
7001
+ }
7002
+ proto.talk_api.CreatePhoneCallRequest = function(opt_data) {
7003
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7004
+ };
7005
+ goog.inherits(proto.talk_api.CreatePhoneCallRequest, jspb.Message);
7006
+ if (goog.DEBUG && !COMPILED) {
7007
+ proto.talk_api.CreatePhoneCallRequest.displayName = "proto.talk_api.CreatePhoneCallRequest";
7008
+ }
7009
+ proto.talk_api.CreatePhoneCallResponse = function(opt_data) {
7010
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7011
+ };
7012
+ goog.inherits(proto.talk_api.CreatePhoneCallResponse, jspb.Message);
7013
+ if (goog.DEBUG && !COMPILED) {
7014
+ proto.talk_api.CreatePhoneCallResponse.displayName = "proto.talk_api.CreatePhoneCallResponse";
7015
+ }
7016
+ proto.talk_api.CreateBulkPhoneCallRequest = function(opt_data) {
7017
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallRequest.repeatedFields_, null);
7018
+ };
7019
+ goog.inherits(proto.talk_api.CreateBulkPhoneCallRequest, jspb.Message);
7020
+ if (goog.DEBUG && !COMPILED) {
7021
+ proto.talk_api.CreateBulkPhoneCallRequest.displayName = "proto.talk_api.CreateBulkPhoneCallRequest";
7022
+ }
7023
+ proto.talk_api.CreateBulkPhoneCallResponse = function(opt_data) {
7024
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.talk_api.CreateBulkPhoneCallResponse.repeatedFields_, null);
7025
+ };
7026
+ goog.inherits(proto.talk_api.CreateBulkPhoneCallResponse, jspb.Message);
7027
+ if (goog.DEBUG && !COMPILED) {
7028
+ proto.talk_api.CreateBulkPhoneCallResponse.displayName = "proto.talk_api.CreateBulkPhoneCallResponse";
7029
+ }
7280
7030
  proto.talk_api.AssistantMessagingRequest.oneofGroups_ = [[2, 3]];
7281
7031
  proto.talk_api.AssistantMessagingRequest.RequestCase = {
7282
7032
  REQUEST_NOT_SET: 0,
@@ -7295,8 +7045,8 @@ var require_talk_api_pb = __commonJS({
7295
7045
  };
7296
7046
  proto.talk_api.AssistantMessagingRequest.toObject = function(includeInstance, msg) {
7297
7047
  var f, obj = {
7298
- configuration: (f = msg.getConfiguration()) && proto.talk_api.AssistantConversationConfiguration.toObject(includeInstance, f),
7299
- message: (f = msg.getMessage()) && proto.talk_api.AssistantConversationUserMessage.toObject(includeInstance, f)
7048
+ configuration: (f = msg.getConfiguration()) && common_pb.AssistantConversationConfiguration.toObject(includeInstance, f),
7049
+ message: (f = msg.getMessage()) && common_pb.AssistantConversationUserMessage.toObject(includeInstance, f)
7300
7050
  };
7301
7051
  if (includeInstance) {
7302
7052
  obj.$jspbMessageInstance = msg;
@@ -7317,13 +7067,13 @@ var require_talk_api_pb = __commonJS({
7317
7067
  var field = reader.getFieldNumber();
7318
7068
  switch (field) {
7319
7069
  case 2:
7320
- var value = new proto.talk_api.AssistantConversationConfiguration();
7321
- reader.readMessage(value, proto.talk_api.AssistantConversationConfiguration.deserializeBinaryFromReader);
7070
+ var value = new common_pb.AssistantConversationConfiguration();
7071
+ reader.readMessage(value, common_pb.AssistantConversationConfiguration.deserializeBinaryFromReader);
7322
7072
  msg.setConfiguration(value);
7323
7073
  break;
7324
7074
  case 3:
7325
- var value = new proto.talk_api.AssistantConversationUserMessage();
7326
- reader.readMessage(value, proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader);
7075
+ var value = new common_pb.AssistantConversationUserMessage();
7076
+ reader.readMessage(value, common_pb.AssistantConversationUserMessage.deserializeBinaryFromReader);
7327
7077
  msg.setMessage(value);
7328
7078
  break;
7329
7079
  default:
@@ -7345,7 +7095,7 @@ var require_talk_api_pb = __commonJS({
7345
7095
  writer.writeMessage(
7346
7096
  2,
7347
7097
  f,
7348
- proto.talk_api.AssistantConversationConfiguration.serializeBinaryToWriter
7098
+ common_pb.AssistantConversationConfiguration.serializeBinaryToWriter
7349
7099
  );
7350
7100
  }
7351
7101
  f = message.getMessage();
@@ -7353,14 +7103,14 @@ var require_talk_api_pb = __commonJS({
7353
7103
  writer.writeMessage(
7354
7104
  3,
7355
7105
  f,
7356
- proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter
7106
+ common_pb.AssistantConversationUserMessage.serializeBinaryToWriter
7357
7107
  );
7358
7108
  }
7359
7109
  };
7360
7110
  proto.talk_api.AssistantMessagingRequest.prototype.getConfiguration = function() {
7361
7111
  return (
7362
- /** @type{?proto.talk_api.AssistantConversationConfiguration} */
7363
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationConfiguration, 2)
7112
+ /** @type{?proto.AssistantConversationConfiguration} */
7113
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationConfiguration, 2)
7364
7114
  );
7365
7115
  };
7366
7116
  proto.talk_api.AssistantMessagingRequest.prototype.setConfiguration = function(value) {
@@ -7374,8 +7124,8 @@ var require_talk_api_pb = __commonJS({
7374
7124
  };
7375
7125
  proto.talk_api.AssistantMessagingRequest.prototype.getMessage = function() {
7376
7126
  return (
7377
- /** @type{?proto.talk_api.AssistantConversationUserMessage} */
7378
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationUserMessage, 3)
7127
+ /** @type{?proto.AssistantConversationUserMessage} */
7128
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationUserMessage, 3)
7379
7129
  );
7380
7130
  };
7381
7131
  proto.talk_api.AssistantMessagingRequest.prototype.setMessage = function(value) {
@@ -7419,19 +7169,19 @@ var require_talk_api_pb = __commonJS({
7419
7169
  code: jspb.Message.getFieldWithDefault(msg, 1, 0),
7420
7170
  success: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
7421
7171
  error: (f = msg.getError()) && common_pb.Error.toObject(includeInstance, f),
7422
- configuration: (f = msg.getConfiguration()) && proto.talk_api.AssistantConversationConfiguration.toObject(includeInstance, f),
7423
- interruption: (f = msg.getInterruption()) && proto.talk_api.AssistantConversationInterruption.toObject(includeInstance, f),
7424
- user: (f = msg.getUser()) && proto.talk_api.AssistantConversationUserMessage.toObject(includeInstance, f),
7425
- assistant: (f = msg.getAssistant()) && proto.talk_api.AssistantConversationAssistantMessage.toObject(includeInstance, f),
7172
+ configuration: (f = msg.getConfiguration()) && common_pb.AssistantConversationConfiguration.toObject(includeInstance, f),
7173
+ interruption: (f = msg.getInterruption()) && common_pb.AssistantConversationInterruption.toObject(includeInstance, f),
7174
+ user: (f = msg.getUser()) && common_pb.AssistantConversationUserMessage.toObject(includeInstance, f),
7175
+ assistant: (f = msg.getAssistant()) && common_pb.AssistantConversationAssistantMessage.toObject(includeInstance, f),
7426
7176
  message: (f = msg.getMessage()) && common_pb.AssistantConversationMessage.toObject(includeInstance, f),
7427
- disconnectaction: (f = msg.getDisconnectaction()) && proto.talk_api.AssistantConversationDisconnectAction.toObject(includeInstance, f),
7428
- holdaction: (f = msg.getHoldaction()) && proto.talk_api.AssistantConverstationHoldAction.toObject(includeInstance, f),
7429
- knowledgeretrievalaction: (f = msg.getKnowledgeretrievalaction()) && proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.toObject(includeInstance, f),
7430
- apirequestaction: (f = msg.getApirequestaction()) && proto.talk_api.AssistantConverstationApiRequestAction.toObject(includeInstance, f),
7431
- endpointaction: (f = msg.getEndpointaction()) && proto.talk_api.AssistantConverstationEndpointAction.toObject(includeInstance, f),
7432
- deviationaction: (f = msg.getDeviationaction()) && proto.talk_api.AssistantConversationDeviationAction.toObject(includeInstance, f),
7433
- assistanttransferaction: (f = msg.getAssistanttransferaction()) && proto.talk_api.AssistantConversationAssistantTransferAction.toObject(includeInstance, f),
7434
- phonecalltransferaction: (f = msg.getPhonecalltransferaction()) && proto.talk_api.AssistantConversationPhoneCallTransferAction.toObject(includeInstance, f)
7177
+ disconnectaction: (f = msg.getDisconnectaction()) && common_pb.AssistantConversationDisconnectAction.toObject(includeInstance, f),
7178
+ holdaction: (f = msg.getHoldaction()) && common_pb.AssistantConverstationHoldAction.toObject(includeInstance, f),
7179
+ knowledgeretrievalaction: (f = msg.getKnowledgeretrievalaction()) && common_pb.AssistantConverstationKnowledgeRetrievalAction.toObject(includeInstance, f),
7180
+ apirequestaction: (f = msg.getApirequestaction()) && common_pb.AssistantConverstationApiRequestAction.toObject(includeInstance, f),
7181
+ endpointaction: (f = msg.getEndpointaction()) && common_pb.AssistantConverstationEndpointAction.toObject(includeInstance, f),
7182
+ deviationaction: (f = msg.getDeviationaction()) && common_pb.AssistantConversationDeviationAction.toObject(includeInstance, f),
7183
+ assistanttransferaction: (f = msg.getAssistanttransferaction()) && common_pb.AssistantConversationAssistantTransferAction.toObject(includeInstance, f),
7184
+ phonecalltransferaction: (f = msg.getPhonecalltransferaction()) && common_pb.AssistantConversationPhoneCallTransferAction.toObject(includeInstance, f)
7435
7185
  };
7436
7186
  if (includeInstance) {
7437
7187
  obj.$jspbMessageInstance = msg;
@@ -7471,23 +7221,23 @@ var require_talk_api_pb = __commonJS({
7471
7221
  msg.setError(value);
7472
7222
  break;
7473
7223
  case 9:
7474
- var value = new proto.talk_api.AssistantConversationConfiguration();
7475
- reader.readMessage(value, proto.talk_api.AssistantConversationConfiguration.deserializeBinaryFromReader);
7224
+ var value = new common_pb.AssistantConversationConfiguration();
7225
+ reader.readMessage(value, common_pb.AssistantConversationConfiguration.deserializeBinaryFromReader);
7476
7226
  msg.setConfiguration(value);
7477
7227
  break;
7478
7228
  case 10:
7479
- var value = new proto.talk_api.AssistantConversationInterruption();
7480
- reader.readMessage(value, proto.talk_api.AssistantConversationInterruption.deserializeBinaryFromReader);
7229
+ var value = new common_pb.AssistantConversationInterruption();
7230
+ reader.readMessage(value, common_pb.AssistantConversationInterruption.deserializeBinaryFromReader);
7481
7231
  msg.setInterruption(value);
7482
7232
  break;
7483
7233
  case 11:
7484
- var value = new proto.talk_api.AssistantConversationUserMessage();
7485
- reader.readMessage(value, proto.talk_api.AssistantConversationUserMessage.deserializeBinaryFromReader);
7234
+ var value = new common_pb.AssistantConversationUserMessage();
7235
+ reader.readMessage(value, common_pb.AssistantConversationUserMessage.deserializeBinaryFromReader);
7486
7236
  msg.setUser(value);
7487
7237
  break;
7488
7238
  case 12:
7489
- var value = new proto.talk_api.AssistantConversationAssistantMessage();
7490
- reader.readMessage(value, proto.talk_api.AssistantConversationAssistantMessage.deserializeBinaryFromReader);
7239
+ var value = new common_pb.AssistantConversationAssistantMessage();
7240
+ reader.readMessage(value, common_pb.AssistantConversationAssistantMessage.deserializeBinaryFromReader);
7491
7241
  msg.setAssistant(value);
7492
7242
  break;
7493
7243
  case 13:
@@ -7496,43 +7246,43 @@ var require_talk_api_pb = __commonJS({
7496
7246
  msg.setMessage(value);
7497
7247
  break;
7498
7248
  case 14:
7499
- var value = new proto.talk_api.AssistantConversationDisconnectAction();
7500
- reader.readMessage(value, proto.talk_api.AssistantConversationDisconnectAction.deserializeBinaryFromReader);
7249
+ var value = new common_pb.AssistantConversationDisconnectAction();
7250
+ reader.readMessage(value, common_pb.AssistantConversationDisconnectAction.deserializeBinaryFromReader);
7501
7251
  msg.setDisconnectaction(value);
7502
7252
  break;
7503
7253
  case 15:
7504
- var value = new proto.talk_api.AssistantConverstationHoldAction();
7505
- reader.readMessage(value, proto.talk_api.AssistantConverstationHoldAction.deserializeBinaryFromReader);
7254
+ var value = new common_pb.AssistantConverstationHoldAction();
7255
+ reader.readMessage(value, common_pb.AssistantConverstationHoldAction.deserializeBinaryFromReader);
7506
7256
  msg.setHoldaction(value);
7507
7257
  break;
7508
7258
  case 16:
7509
- var value = new proto.talk_api.AssistantConverstationKnowledgeRetrievalAction();
7510
- reader.readMessage(value, proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader);
7259
+ var value = new common_pb.AssistantConverstationKnowledgeRetrievalAction();
7260
+ reader.readMessage(value, common_pb.AssistantConverstationKnowledgeRetrievalAction.deserializeBinaryFromReader);
7511
7261
  msg.setKnowledgeretrievalaction(value);
7512
7262
  break;
7513
7263
  case 17:
7514
- var value = new proto.talk_api.AssistantConverstationApiRequestAction();
7515
- reader.readMessage(value, proto.talk_api.AssistantConverstationApiRequestAction.deserializeBinaryFromReader);
7264
+ var value = new common_pb.AssistantConverstationApiRequestAction();
7265
+ reader.readMessage(value, common_pb.AssistantConverstationApiRequestAction.deserializeBinaryFromReader);
7516
7266
  msg.setApirequestaction(value);
7517
7267
  break;
7518
7268
  case 18:
7519
- var value = new proto.talk_api.AssistantConverstationEndpointAction();
7520
- reader.readMessage(value, proto.talk_api.AssistantConverstationEndpointAction.deserializeBinaryFromReader);
7269
+ var value = new common_pb.AssistantConverstationEndpointAction();
7270
+ reader.readMessage(value, common_pb.AssistantConverstationEndpointAction.deserializeBinaryFromReader);
7521
7271
  msg.setEndpointaction(value);
7522
7272
  break;
7523
7273
  case 19:
7524
- var value = new proto.talk_api.AssistantConversationDeviationAction();
7525
- reader.readMessage(value, proto.talk_api.AssistantConversationDeviationAction.deserializeBinaryFromReader);
7274
+ var value = new common_pb.AssistantConversationDeviationAction();
7275
+ reader.readMessage(value, common_pb.AssistantConversationDeviationAction.deserializeBinaryFromReader);
7526
7276
  msg.setDeviationaction(value);
7527
7277
  break;
7528
7278
  case 20:
7529
- var value = new proto.talk_api.AssistantConversationAssistantTransferAction();
7530
- reader.readMessage(value, proto.talk_api.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader);
7279
+ var value = new common_pb.AssistantConversationAssistantTransferAction();
7280
+ reader.readMessage(value, common_pb.AssistantConversationAssistantTransferAction.deserializeBinaryFromReader);
7531
7281
  msg.setAssistanttransferaction(value);
7532
7282
  break;
7533
7283
  case 21:
7534
- var value = new proto.talk_api.AssistantConversationPhoneCallTransferAction();
7535
- reader.readMessage(value, proto.talk_api.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader);
7284
+ var value = new common_pb.AssistantConversationPhoneCallTransferAction();
7285
+ reader.readMessage(value, common_pb.AssistantConversationPhoneCallTransferAction.deserializeBinaryFromReader);
7536
7286
  msg.setPhonecalltransferaction(value);
7537
7287
  break;
7538
7288
  default:
@@ -7576,7 +7326,7 @@ var require_talk_api_pb = __commonJS({
7576
7326
  writer.writeMessage(
7577
7327
  9,
7578
7328
  f,
7579
- proto.talk_api.AssistantConversationConfiguration.serializeBinaryToWriter
7329
+ common_pb.AssistantConversationConfiguration.serializeBinaryToWriter
7580
7330
  );
7581
7331
  }
7582
7332
  f = message.getInterruption();
@@ -7584,7 +7334,7 @@ var require_talk_api_pb = __commonJS({
7584
7334
  writer.writeMessage(
7585
7335
  10,
7586
7336
  f,
7587
- proto.talk_api.AssistantConversationInterruption.serializeBinaryToWriter
7337
+ common_pb.AssistantConversationInterruption.serializeBinaryToWriter
7588
7338
  );
7589
7339
  }
7590
7340
  f = message.getUser();
@@ -7592,7 +7342,7 @@ var require_talk_api_pb = __commonJS({
7592
7342
  writer.writeMessage(
7593
7343
  11,
7594
7344
  f,
7595
- proto.talk_api.AssistantConversationUserMessage.serializeBinaryToWriter
7345
+ common_pb.AssistantConversationUserMessage.serializeBinaryToWriter
7596
7346
  );
7597
7347
  }
7598
7348
  f = message.getAssistant();
@@ -7600,7 +7350,7 @@ var require_talk_api_pb = __commonJS({
7600
7350
  writer.writeMessage(
7601
7351
  12,
7602
7352
  f,
7603
- proto.talk_api.AssistantConversationAssistantMessage.serializeBinaryToWriter
7353
+ common_pb.AssistantConversationAssistantMessage.serializeBinaryToWriter
7604
7354
  );
7605
7355
  }
7606
7356
  f = message.getMessage();
@@ -7616,7 +7366,7 @@ var require_talk_api_pb = __commonJS({
7616
7366
  writer.writeMessage(
7617
7367
  14,
7618
7368
  f,
7619
- proto.talk_api.AssistantConversationDisconnectAction.serializeBinaryToWriter
7369
+ common_pb.AssistantConversationDisconnectAction.serializeBinaryToWriter
7620
7370
  );
7621
7371
  }
7622
7372
  f = message.getHoldaction();
@@ -7624,7 +7374,7 @@ var require_talk_api_pb = __commonJS({
7624
7374
  writer.writeMessage(
7625
7375
  15,
7626
7376
  f,
7627
- proto.talk_api.AssistantConverstationHoldAction.serializeBinaryToWriter
7377
+ common_pb.AssistantConverstationHoldAction.serializeBinaryToWriter
7628
7378
  );
7629
7379
  }
7630
7380
  f = message.getKnowledgeretrievalaction();
@@ -7632,7 +7382,7 @@ var require_talk_api_pb = __commonJS({
7632
7382
  writer.writeMessage(
7633
7383
  16,
7634
7384
  f,
7635
- proto.talk_api.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter
7385
+ common_pb.AssistantConverstationKnowledgeRetrievalAction.serializeBinaryToWriter
7636
7386
  );
7637
7387
  }
7638
7388
  f = message.getApirequestaction();
@@ -7640,7 +7390,7 @@ var require_talk_api_pb = __commonJS({
7640
7390
  writer.writeMessage(
7641
7391
  17,
7642
7392
  f,
7643
- proto.talk_api.AssistantConverstationApiRequestAction.serializeBinaryToWriter
7393
+ common_pb.AssistantConverstationApiRequestAction.serializeBinaryToWriter
7644
7394
  );
7645
7395
  }
7646
7396
  f = message.getEndpointaction();
@@ -7648,7 +7398,7 @@ var require_talk_api_pb = __commonJS({
7648
7398
  writer.writeMessage(
7649
7399
  18,
7650
7400
  f,
7651
- proto.talk_api.AssistantConverstationEndpointAction.serializeBinaryToWriter
7401
+ common_pb.AssistantConverstationEndpointAction.serializeBinaryToWriter
7652
7402
  );
7653
7403
  }
7654
7404
  f = message.getDeviationaction();
@@ -7656,7 +7406,7 @@ var require_talk_api_pb = __commonJS({
7656
7406
  writer.writeMessage(
7657
7407
  19,
7658
7408
  f,
7659
- proto.talk_api.AssistantConversationDeviationAction.serializeBinaryToWriter
7409
+ common_pb.AssistantConversationDeviationAction.serializeBinaryToWriter
7660
7410
  );
7661
7411
  }
7662
7412
  f = message.getAssistanttransferaction();
@@ -7664,7 +7414,7 @@ var require_talk_api_pb = __commonJS({
7664
7414
  writer.writeMessage(
7665
7415
  20,
7666
7416
  f,
7667
- proto.talk_api.AssistantConversationAssistantTransferAction.serializeBinaryToWriter
7417
+ common_pb.AssistantConversationAssistantTransferAction.serializeBinaryToWriter
7668
7418
  );
7669
7419
  }
7670
7420
  f = message.getPhonecalltransferaction();
@@ -7672,7 +7422,7 @@ var require_talk_api_pb = __commonJS({
7672
7422
  writer.writeMessage(
7673
7423
  21,
7674
7424
  f,
7675
- proto.talk_api.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter
7425
+ common_pb.AssistantConversationPhoneCallTransferAction.serializeBinaryToWriter
7676
7426
  );
7677
7427
  }
7678
7428
  };
@@ -7711,8 +7461,8 @@ var require_talk_api_pb = __commonJS({
7711
7461
  };
7712
7462
  proto.talk_api.AssistantMessagingResponse.prototype.getConfiguration = function() {
7713
7463
  return (
7714
- /** @type{?proto.talk_api.AssistantConversationConfiguration} */
7715
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationConfiguration, 9)
7464
+ /** @type{?proto.AssistantConversationConfiguration} */
7465
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationConfiguration, 9)
7716
7466
  );
7717
7467
  };
7718
7468
  proto.talk_api.AssistantMessagingResponse.prototype.setConfiguration = function(value) {
@@ -7726,8 +7476,8 @@ var require_talk_api_pb = __commonJS({
7726
7476
  };
7727
7477
  proto.talk_api.AssistantMessagingResponse.prototype.getInterruption = function() {
7728
7478
  return (
7729
- /** @type{?proto.talk_api.AssistantConversationInterruption} */
7730
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationInterruption, 10)
7479
+ /** @type{?proto.AssistantConversationInterruption} */
7480
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationInterruption, 10)
7731
7481
  );
7732
7482
  };
7733
7483
  proto.talk_api.AssistantMessagingResponse.prototype.setInterruption = function(value) {
@@ -7741,8 +7491,8 @@ var require_talk_api_pb = __commonJS({
7741
7491
  };
7742
7492
  proto.talk_api.AssistantMessagingResponse.prototype.getUser = function() {
7743
7493
  return (
7744
- /** @type{?proto.talk_api.AssistantConversationUserMessage} */
7745
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationUserMessage, 11)
7494
+ /** @type{?proto.AssistantConversationUserMessage} */
7495
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationUserMessage, 11)
7746
7496
  );
7747
7497
  };
7748
7498
  proto.talk_api.AssistantMessagingResponse.prototype.setUser = function(value) {
@@ -7756,8 +7506,8 @@ var require_talk_api_pb = __commonJS({
7756
7506
  };
7757
7507
  proto.talk_api.AssistantMessagingResponse.prototype.getAssistant = function() {
7758
7508
  return (
7759
- /** @type{?proto.talk_api.AssistantConversationAssistantMessage} */
7760
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationAssistantMessage, 12)
7509
+ /** @type{?proto.AssistantConversationAssistantMessage} */
7510
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationAssistantMessage, 12)
7761
7511
  );
7762
7512
  };
7763
7513
  proto.talk_api.AssistantMessagingResponse.prototype.setAssistant = function(value) {
@@ -7786,8 +7536,8 @@ var require_talk_api_pb = __commonJS({
7786
7536
  };
7787
7537
  proto.talk_api.AssistantMessagingResponse.prototype.getDisconnectaction = function() {
7788
7538
  return (
7789
- /** @type{?proto.talk_api.AssistantConversationDisconnectAction} */
7790
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationDisconnectAction, 14)
7539
+ /** @type{?proto.AssistantConversationDisconnectAction} */
7540
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationDisconnectAction, 14)
7791
7541
  );
7792
7542
  };
7793
7543
  proto.talk_api.AssistantMessagingResponse.prototype.setDisconnectaction = function(value) {
@@ -7801,8 +7551,8 @@ var require_talk_api_pb = __commonJS({
7801
7551
  };
7802
7552
  proto.talk_api.AssistantMessagingResponse.prototype.getHoldaction = function() {
7803
7553
  return (
7804
- /** @type{?proto.talk_api.AssistantConverstationHoldAction} */
7805
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConverstationHoldAction, 15)
7554
+ /** @type{?proto.AssistantConverstationHoldAction} */
7555
+ jspb.Message.getWrapperField(this, common_pb.AssistantConverstationHoldAction, 15)
7806
7556
  );
7807
7557
  };
7808
7558
  proto.talk_api.AssistantMessagingResponse.prototype.setHoldaction = function(value) {
@@ -7816,8 +7566,8 @@ var require_talk_api_pb = __commonJS({
7816
7566
  };
7817
7567
  proto.talk_api.AssistantMessagingResponse.prototype.getKnowledgeretrievalaction = function() {
7818
7568
  return (
7819
- /** @type{?proto.talk_api.AssistantConverstationKnowledgeRetrievalAction} */
7820
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConverstationKnowledgeRetrievalAction, 16)
7569
+ /** @type{?proto.AssistantConverstationKnowledgeRetrievalAction} */
7570
+ jspb.Message.getWrapperField(this, common_pb.AssistantConverstationKnowledgeRetrievalAction, 16)
7821
7571
  );
7822
7572
  };
7823
7573
  proto.talk_api.AssistantMessagingResponse.prototype.setKnowledgeretrievalaction = function(value) {
@@ -7831,8 +7581,8 @@ var require_talk_api_pb = __commonJS({
7831
7581
  };
7832
7582
  proto.talk_api.AssistantMessagingResponse.prototype.getApirequestaction = function() {
7833
7583
  return (
7834
- /** @type{?proto.talk_api.AssistantConverstationApiRequestAction} */
7835
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConverstationApiRequestAction, 17)
7584
+ /** @type{?proto.AssistantConverstationApiRequestAction} */
7585
+ jspb.Message.getWrapperField(this, common_pb.AssistantConverstationApiRequestAction, 17)
7836
7586
  );
7837
7587
  };
7838
7588
  proto.talk_api.AssistantMessagingResponse.prototype.setApirequestaction = function(value) {
@@ -7846,8 +7596,8 @@ var require_talk_api_pb = __commonJS({
7846
7596
  };
7847
7597
  proto.talk_api.AssistantMessagingResponse.prototype.getEndpointaction = function() {
7848
7598
  return (
7849
- /** @type{?proto.talk_api.AssistantConverstationEndpointAction} */
7850
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConverstationEndpointAction, 18)
7599
+ /** @type{?proto.AssistantConverstationEndpointAction} */
7600
+ jspb.Message.getWrapperField(this, common_pb.AssistantConverstationEndpointAction, 18)
7851
7601
  );
7852
7602
  };
7853
7603
  proto.talk_api.AssistantMessagingResponse.prototype.setEndpointaction = function(value) {
@@ -7861,8 +7611,8 @@ var require_talk_api_pb = __commonJS({
7861
7611
  };
7862
7612
  proto.talk_api.AssistantMessagingResponse.prototype.getDeviationaction = function() {
7863
7613
  return (
7864
- /** @type{?proto.talk_api.AssistantConversationDeviationAction} */
7865
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationDeviationAction, 19)
7614
+ /** @type{?proto.AssistantConversationDeviationAction} */
7615
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationDeviationAction, 19)
7866
7616
  );
7867
7617
  };
7868
7618
  proto.talk_api.AssistantMessagingResponse.prototype.setDeviationaction = function(value) {
@@ -7876,8 +7626,8 @@ var require_talk_api_pb = __commonJS({
7876
7626
  };
7877
7627
  proto.talk_api.AssistantMessagingResponse.prototype.getAssistanttransferaction = function() {
7878
7628
  return (
7879
- /** @type{?proto.talk_api.AssistantConversationAssistantTransferAction} */
7880
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationAssistantTransferAction, 20)
7629
+ /** @type{?proto.AssistantConversationAssistantTransferAction} */
7630
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationAssistantTransferAction, 20)
7881
7631
  );
7882
7632
  };
7883
7633
  proto.talk_api.AssistantMessagingResponse.prototype.setAssistanttransferaction = function(value) {
@@ -7891,8 +7641,8 @@ var require_talk_api_pb = __commonJS({
7891
7641
  };
7892
7642
  proto.talk_api.AssistantMessagingResponse.prototype.getPhonecalltransferaction = function() {
7893
7643
  return (
7894
- /** @type{?proto.talk_api.AssistantConversationPhoneCallTransferAction} */
7895
- jspb.Message.getWrapperField(this, proto.talk_api.AssistantConversationPhoneCallTransferAction, 21)
7644
+ /** @type{?proto.AssistantConversationPhoneCallTransferAction} */
7645
+ jspb.Message.getWrapperField(this, common_pb.AssistantConversationPhoneCallTransferAction, 21)
7896
7646
  );
7897
7647
  };
7898
7648
  proto.talk_api.AssistantMessagingResponse.prototype.setPhonecalltransferaction = function(value) {
@@ -27567,7 +27317,7 @@ var DeviceManager = class _DeviceManager {
27567
27317
  };
27568
27318
 
27569
27319
  // src/agents/voice-agent.ts
27570
- var import_talk_api_pb4 = __toESM(require_talk_api_pb());
27320
+ var import_talk_api_pb2 = __toESM(require_talk_api_pb());
27571
27321
 
27572
27322
  // src/types/agent-event.ts
27573
27323
  var AgentEvent = /* @__PURE__ */ ((AgentEvent2) => {
@@ -27582,6 +27332,9 @@ var AgentEvent = /* @__PURE__ */ ((AgentEvent2) => {
27582
27332
  return AgentEvent2;
27583
27333
  })(AgentEvent || {});
27584
27334
 
27335
+ // src/agents/voice-agent.ts
27336
+ var import_common_pb9 = __toESM(require_common_pb());
27337
+
27585
27338
  // src/types/message.ts
27586
27339
  var MessageRole = /* @__PURE__ */ ((MessageRole2) => {
27587
27340
  MessageRole2["System"] = "system";
@@ -28481,7 +28234,7 @@ function GetAllAssistantToolLog(clientCfg, request, auth) {
28481
28234
  }
28482
28235
 
28483
28236
  // src/agents/index.ts
28484
- var import_talk_api_pb2 = __toESM(require_talk_api_pb());
28237
+ var import_common_pb6 = __toESM(require_common_pb());
28485
28238
  var Agent = class extends EventEmitter {
28486
28239
  // Connection and State Management
28487
28240
  connectionState = "disconnected" /* Disconnected */;
@@ -28712,8 +28465,8 @@ var Agent = class extends EventEmitter {
28712
28465
  */
28713
28466
  createAssistantTextMessage(content) {
28714
28467
  const request = new import_talk_api_pb.AssistantMessagingRequest();
28715
- const userMessage = new import_talk_api_pb.AssistantConversationUserMessage();
28716
- const message = new import_talk_api_pb.AssistantConversationMessageTextContent();
28468
+ const userMessage = new import_common_pb6.AssistantConversationUserMessage();
28469
+ const message = new import_common_pb6.AssistantConversationMessageTextContent();
28717
28470
  message.setContent(content);
28718
28471
  userMessage.setText(message);
28719
28472
  request.setMessage(userMessage);
@@ -28726,8 +28479,8 @@ var Agent = class extends EventEmitter {
28726
28479
  */
28727
28480
  createAssistantAudioMessage(content) {
28728
28481
  const request = new import_talk_api_pb.AssistantMessagingRequest();
28729
- const userMessage = new import_talk_api_pb.AssistantConversationUserMessage();
28730
- const message = new import_talk_api_pb2.AssistantConversationMessageAudioContent();
28482
+ const userMessage = new import_common_pb6.AssistantConversationUserMessage();
28483
+ const message = new import_common_pb6.AssistantConversationMessageAudioContent();
28731
28484
  message.setContent(content);
28732
28485
  userMessage.setAudio(message);
28733
28486
  request.setMessage(userMessage);
@@ -28764,7 +28517,7 @@ var Agent = class extends EventEmitter {
28764
28517
  */
28765
28518
  _createAssistantConfigureRequest(definition, args, metadatas, options) {
28766
28519
  const request = new import_talk_api_pb.AssistantMessagingRequest();
28767
- const assistantConfiguration = new import_talk_api_pb.AssistantConversationConfiguration();
28520
+ const assistantConfiguration = new import_common_pb6.AssistantConversationConfiguration();
28768
28521
  if (this._conversationId) {
28769
28522
  assistantConfiguration.setAssistantconversationid(this._conversationId);
28770
28523
  }
@@ -29261,14 +29014,14 @@ function arrayBufferToUint8(arrayBuffer) {
29261
29014
  }
29262
29015
 
29263
29016
  // src/types/agent-callback.ts
29264
- var import_talk_api_pb3 = __toESM(require_talk_api_pb());
29017
+ var import_common_pb8 = __toESM(require_common_pb());
29265
29018
 
29266
29019
  // src/utils/rapida_content.ts
29267
- var import_common_pb6 = __toESM(require_common_pb());
29020
+ var import_common_pb7 = __toESM(require_common_pb());
29268
29021
  var TEXT_CONTENT_FORMAT_RAW = "raw";
29269
29022
  var AUDIO_CONTENT_FORMAT_CHUNK = "chunk";
29270
29023
  var toTextContent = (str, format) => {
29271
- const cnt = new import_common_pb6.Content();
29024
+ const cnt = new import_common_pb7.Content();
29272
29025
  if (format) cnt.setContentformat(format);
29273
29026
  else cnt.setContentformat(TEXT_CONTENT_FORMAT_RAW);
29274
29027
  cnt.setContenttype("text" /* TEXT_CONTENT */);
@@ -29276,7 +29029,7 @@ var toTextContent = (str, format) => {
29276
29029
  return cnt;
29277
29030
  };
29278
29031
  var toStreamAudioContent = (raw) => {
29279
- const cnt = new import_common_pb6.Content();
29032
+ const cnt = new import_common_pb7.Content();
29280
29033
  cnt.setContentformat(AUDIO_CONTENT_FORMAT_CHUNK);
29281
29034
  cnt.setContenttype("audio" /* AUDIO_CONTENT */);
29282
29035
  cnt.setContent(raw);
@@ -29299,9 +29052,9 @@ var ConversationUserMessage = class {
29299
29052
  if (config) {
29300
29053
  Object.assign(this, config.toObject());
29301
29054
  switch (config.getMessageCase()) {
29302
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
29303
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.AUDIO:
29304
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.TEXT:
29055
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
29056
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
29057
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
29305
29058
  this.messageText = config.getText()?.getContent();
29306
29059
  }
29307
29060
  }
@@ -29312,9 +29065,9 @@ var ConversationAssistantMessage = class {
29312
29065
  if (config) {
29313
29066
  Object.assign(this, config.toObject());
29314
29067
  switch (config.getMessageCase()) {
29315
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
29316
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.AUDIO:
29317
- case import_talk_api_pb3.AssistantConversationUserMessage.MessageCase.TEXT:
29068
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
29069
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.AUDIO:
29070
+ case import_common_pb8.AssistantConversationUserMessage.MessageCase.TEXT:
29318
29071
  this.messageText = config.getText()?.getContent();
29319
29072
  }
29320
29073
  }
@@ -29581,13 +29334,13 @@ var VoiceAgent = class extends Agent {
29581
29334
  onHandleInterruption = (interruptionData) => {
29582
29335
  if (interruptionData) {
29583
29336
  switch (interruptionData.getType()) {
29584
- case import_talk_api_pb4.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_UNSPECIFIED:
29337
+ case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_UNSPECIFIED:
29585
29338
  console.log("Unspecified interruption type");
29586
29339
  break;
29587
- case import_talk_api_pb4.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_VAD:
29340
+ case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_VAD:
29588
29341
  this.fadeOutAudio();
29589
29342
  break;
29590
- case import_talk_api_pb4.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_WORD:
29343
+ case import_common_pb9.AssistantConversationInterruption.InterruptionType.INTERRUPTION_TYPE_WORD:
29591
29344
  if (this.agentMessages.length > 0) {
29592
29345
  const lastIndex = this.agentMessages.length - 1;
29593
29346
  this.agentMessages[lastIndex] = {
@@ -29602,7 +29355,7 @@ var VoiceAgent = class extends Agent {
29602
29355
  }
29603
29356
  this.emit(
29604
29357
  "onConversationEvent" /* ConversationEvent */,
29605
- import_talk_api_pb4.AssistantMessagingResponse.DataCase.INTERRUPTION,
29358
+ import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION,
29606
29359
  interruptionData
29607
29360
  );
29608
29361
  }
@@ -29610,9 +29363,9 @@ var VoiceAgent = class extends Agent {
29610
29363
  onHandleUser = (userContent) => {
29611
29364
  if (userContent) {
29612
29365
  switch (userContent.getMessageCase()) {
29613
- case import_talk_api_pb4.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
29614
- case import_talk_api_pb4.AssistantConversationUserMessage.MessageCase.AUDIO:
29615
- case import_talk_api_pb4.AssistantConversationUserMessage.MessageCase.TEXT:
29366
+ case import_common_pb9.AssistantConversationUserMessage.MessageCase.MESSAGE_NOT_SET:
29367
+ case import_common_pb9.AssistantConversationUserMessage.MessageCase.AUDIO:
29368
+ case import_common_pb9.AssistantConversationUserMessage.MessageCase.TEXT:
29616
29369
  const agentTranscript = userContent.getText()?.getContent();
29617
29370
  if (agentTranscript) {
29618
29371
  if (this.agentMessages.length > 0) {
@@ -29632,7 +29385,7 @@ var VoiceAgent = class extends Agent {
29632
29385
  }
29633
29386
  this.emit(
29634
29387
  "onConversationEvent" /* ConversationEvent */,
29635
- import_talk_api_pb4.AssistantMessagingResponse.DataCase.USER,
29388
+ import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER,
29636
29389
  userContent
29637
29390
  );
29638
29391
  }
@@ -29640,14 +29393,14 @@ var VoiceAgent = class extends Agent {
29640
29393
  onHandleAssistant = (systemContent) => {
29641
29394
  if (systemContent) {
29642
29395
  switch (systemContent.getMessageCase()) {
29643
- case import_talk_api_pb4.AssistantConversationAssistantMessage.MessageCase.MESSAGE_NOT_SET:
29644
- case import_talk_api_pb4.AssistantConversationAssistantMessage.MessageCase.AUDIO:
29396
+ case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.MESSAGE_NOT_SET:
29397
+ case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.AUDIO:
29645
29398
  const content = systemContent.getAudio();
29646
29399
  if (content) {
29647
29400
  const audioData = content.getContent_asU8();
29648
29401
  this.addAudioChunk(new Uint8Array(audioData).buffer);
29649
29402
  }
29650
- case import_talk_api_pb4.AssistantConversationAssistantMessage.MessageCase.TEXT:
29403
+ case import_common_pb9.AssistantConversationAssistantMessage.MessageCase.TEXT:
29651
29404
  const systemTranscript = systemContent.getText()?.getContent();
29652
29405
  if (systemTranscript) {
29653
29406
  if (systemContent.getCompleted()) {
@@ -29704,7 +29457,7 @@ var VoiceAgent = class extends Agent {
29704
29457
  }
29705
29458
  this.emit(
29706
29459
  "onConversationEvent" /* ConversationEvent */,
29707
- import_talk_api_pb4.AssistantMessagingResponse.DataCase.ASSISTANT,
29460
+ import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT,
29708
29461
  systemContent
29709
29462
  );
29710
29463
  }
@@ -29716,22 +29469,22 @@ var VoiceAgent = class extends Agent {
29716
29469
  */
29717
29470
  onRecieve = async (response) => {
29718
29471
  switch (response.getDataCase()) {
29719
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
29472
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
29720
29473
  break;
29721
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.INTERRUPTION:
29474
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
29722
29475
  this.onHandleInterruption(response.getInterruption());
29723
29476
  break;
29724
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.USER:
29477
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
29725
29478
  this.onHandleUser(response.getUser());
29726
29479
  break;
29727
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.ASSISTANT:
29480
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
29728
29481
  this.onHandleAssistant(response.getAssistant());
29729
29482
  break;
29730
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.CONFIGURATION:
29483
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
29731
29484
  const conversation = response.getConfiguration();
29732
29485
  if (!conversation?.getAssistantconversationid()) return;
29733
29486
  break;
29734
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.MESSAGE:
29487
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
29735
29488
  break;
29736
29489
  default:
29737
29490
  break;
@@ -29744,39 +29497,39 @@ var VoiceAgent = class extends Agent {
29744
29497
  onCallback = async (response) => {
29745
29498
  for (const agentCallback of this.agentCallbacks) {
29746
29499
  switch (response.getDataCase()) {
29747
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
29500
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DATA_NOT_SET:
29748
29501
  break;
29749
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.APIREQUESTACTION:
29502
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.APIREQUESTACTION:
29750
29503
  if (agentCallback && agentCallback?.onAction) {
29751
29504
  agentCallback.onAction(response.getApirequestaction()?.toObject());
29752
29505
  }
29753
29506
  break;
29754
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.DISCONNECTACTION:
29507
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.DISCONNECTACTION:
29755
29508
  if (agentCallback && agentCallback?.onAction) {
29756
29509
  agentCallback.onAction(response.getDisconnectaction()?.toObject());
29757
29510
  }
29758
29511
  await this.disconnect();
29759
29512
  break;
29760
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.INTERRUPTION:
29513
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.INTERRUPTION:
29761
29514
  if (agentCallback && agentCallback?.onInterrupt) {
29762
29515
  agentCallback.onInterrupt(response.getInterruption()?.toObject());
29763
29516
  }
29764
29517
  break;
29765
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.USER:
29518
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.USER:
29766
29519
  if (agentCallback && agentCallback?.onUserMessage) {
29767
29520
  agentCallback.onUserMessage(
29768
29521
  new ConversationUserMessage(response.getUser())
29769
29522
  );
29770
29523
  }
29771
29524
  break;
29772
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.ASSISTANT:
29525
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.ASSISTANT:
29773
29526
  if (agentCallback && agentCallback?.onAssistantMessage) {
29774
29527
  agentCallback.onAssistantMessage(
29775
29528
  new ConversationAssistantMessage(response.getAssistant())
29776
29529
  );
29777
29530
  }
29778
29531
  break;
29779
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.CONFIGURATION:
29532
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.CONFIGURATION:
29780
29533
  if (agentCallback && agentCallback?.onConfiguration) {
29781
29534
  agentCallback.onConfiguration(
29782
29535
  response.getConfiguration()?.toObject()
@@ -29785,7 +29538,7 @@ var VoiceAgent = class extends Agent {
29785
29538
  const cnvId = response.getConfiguration()?.getAssistantconversationid();
29786
29539
  if (cnvId) this.changeConversation(cnvId);
29787
29540
  break;
29788
- case import_talk_api_pb4.AssistantMessagingResponse.DataCase.MESSAGE:
29541
+ case import_talk_api_pb2.AssistantMessagingResponse.DataCase.MESSAGE:
29789
29542
  if (agentCallback && agentCallback?.onMessage) {
29790
29543
  agentCallback.onMessage(
29791
29544
  new ConversationMessage(response.getMessage())
@@ -30189,4 +29942,4 @@ export {
30189
29942
  useSelectInputDeviceAgent,
30190
29943
  DeviceSelectorComponent
30191
29944
  };
30192
- //# sourceMappingURL=chunk-QQVXG47Q.mjs.map
29945
+ //# sourceMappingURL=chunk-TYICJNMK.mjs.map