@vendasta/conversation 0.61.0 → 0.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2020 → esm2022}/lib/_generated/host.service.mjs +4 -4
- package/esm2022/lib/_internal/conversation.api.service.mjs +232 -0
- package/{esm2020 → esm2022}/lib/_internal/enums/conversation.enum.mjs +2 -1
- package/esm2022/lib/_internal/inbox.api.service.mjs +53 -0
- package/esm2022/lib/_internal/interfaces/api.interface.mjs +2 -0
- package/{esm2020 → esm2022}/lib/_internal/interfaces/configuration.interface.mjs +1 -1
- package/{esm2020 → esm2022}/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2022/lib/_internal/objects/annotations.mjs +32 -0
- package/esm2022/lib/_internal/objects/api.mjs +2764 -0
- package/esm2022/lib/_internal/objects/common.mjs +64 -0
- package/esm2022/lib/_internal/objects/configuration.mjs +123 -0
- package/esm2022/lib/_internal/objects/conversation-view.mjs +35 -0
- package/esm2022/lib/_internal/objects/conversation.mjs +173 -0
- package/esm2022/lib/_internal/objects/field-mask.mjs +28 -0
- package/esm2022/lib/_internal/objects/index.mjs +18 -0
- package/esm2022/lib/_internal/objects/message-template.mjs +43 -0
- package/esm2022/lib/_internal/objects/message.mjs +169 -0
- package/esm2022/lib/_internal/objects/participant.mjs +224 -0
- package/esm2022/lib/_internal/objects/widget.mjs +107 -0
- package/{fesm2020 → fesm2022}/vendasta-conversation.mjs +408 -32
- package/fesm2022/vendasta-conversation.mjs.map +1 -0
- package/lib/_internal/conversation.api.service.d.ts +6 -7
- package/lib/_internal/enums/conversation.enum.d.ts +2 -1
- package/lib/_internal/inbox.api.service.d.ts +2 -5
- package/lib/_internal/interfaces/api.interface.d.ts +9 -3
- package/lib/_internal/interfaces/configuration.interface.d.ts +2 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +19 -7
- package/lib/_internal/objects/configuration.d.ts +2 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/package.json +7 -13
- package/esm2020/lib/_internal/conversation.api.service.mjs +0 -230
- package/esm2020/lib/_internal/inbox.api.service.mjs +0 -56
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +0 -2
- package/esm2020/lib/_internal/objects/annotations.mjs +0 -30
- package/esm2020/lib/_internal/objects/api.mjs +0 -2512
- package/esm2020/lib/_internal/objects/common.mjs +0 -60
- package/esm2020/lib/_internal/objects/configuration.mjs +0 -99
- package/esm2020/lib/_internal/objects/conversation-view.mjs +0 -33
- package/esm2020/lib/_internal/objects/conversation.mjs +0 -153
- package/esm2020/lib/_internal/objects/field-mask.mjs +0 -27
- package/esm2020/lib/_internal/objects/index.mjs +0 -18
- package/esm2020/lib/_internal/objects/message-template.mjs +0 -39
- package/esm2020/lib/_internal/objects/message.mjs +0 -149
- package/esm2020/lib/_internal/objects/participant.mjs +0 -192
- package/esm2020/lib/_internal/objects/widget.mjs +0 -93
- package/fesm2015/vendasta-conversation.mjs +0 -3852
- package/fesm2015/vendasta-conversation.mjs.map +0 -1
- package/fesm2020/vendasta-conversation.mjs.map +0 -1
- /package/{esm2020 → esm2022}/lib/_internal/enums/api.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/enums/common.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/enums/conversation-view.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/enums/evaluation.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/enums/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/enums/message.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/enums/participant.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/enums/widget.enum.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/interfaces/annotations.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/interfaces/common.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/interfaces/conversation-view.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/interfaces/conversation.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/interfaces/field-mask.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/interfaces/message-template.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/interfaces/message.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/interfaces/participant.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/_internal/interfaces/widget.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/index.mjs +0 -0
- /package/{esm2020 → esm2022}/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/vendasta-conversation.mjs +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import
|
|
4
|
-
import { HttpHeaders } from '@angular/common/http';
|
|
2
|
+
import { Injectable, inject } from '@angular/core';
|
|
3
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
5
4
|
import { map } from 'rxjs/operators';
|
|
6
5
|
|
|
7
6
|
// *********************************
|
|
@@ -47,6 +46,7 @@ var ConversationChannel;
|
|
|
47
46
|
ConversationChannel[ConversationChannel["CONVERSATION_CHANNEL_EMAIL"] = 6] = "CONVERSATION_CHANNEL_EMAIL";
|
|
48
47
|
ConversationChannel[ConversationChannel["CONVERSATION_CHANNEL_GOOGLE_BUSINESS_COMMUNICATIONS"] = 7] = "CONVERSATION_CHANNEL_GOOGLE_BUSINESS_COMMUNICATIONS";
|
|
49
48
|
ConversationChannel[ConversationChannel["CONVERSATION_CHANNEL_WEB_CHAT"] = 8] = "CONVERSATION_CHANNEL_WEB_CHAT";
|
|
49
|
+
ConversationChannel[ConversationChannel["CONVERSATION_CHANNEL_INSTAGRAM"] = 9] = "CONVERSATION_CHANNEL_INSTAGRAM";
|
|
50
50
|
})(ConversationChannel || (ConversationChannel = {}));
|
|
51
51
|
var PlatformLocation;
|
|
52
52
|
(function (PlatformLocation) {
|
|
@@ -174,6 +174,8 @@ function enumStringToValue$a(enumRef, value) {
|
|
|
174
174
|
return enumRef[value];
|
|
175
175
|
}
|
|
176
176
|
class NamespaceDetail {
|
|
177
|
+
participantType;
|
|
178
|
+
internalParticipantId;
|
|
177
179
|
static fromProto(proto) {
|
|
178
180
|
let m = new NamespaceDetail();
|
|
179
181
|
m = Object.assign(m, proto);
|
|
@@ -200,6 +202,8 @@ class NamespaceDetail {
|
|
|
200
202
|
}
|
|
201
203
|
}
|
|
202
204
|
class SubjectParticipant {
|
|
205
|
+
participantType;
|
|
206
|
+
internalParticipantId;
|
|
203
207
|
static fromProto(proto) {
|
|
204
208
|
let m = new SubjectParticipant();
|
|
205
209
|
m = Object.assign(m, proto);
|
|
@@ -233,6 +237,21 @@ function enumStringToValue$9(enumRef, value) {
|
|
|
233
237
|
return enumRef[value];
|
|
234
238
|
}
|
|
235
239
|
class Conversation {
|
|
240
|
+
conversationId;
|
|
241
|
+
channel;
|
|
242
|
+
externalConversationId;
|
|
243
|
+
created;
|
|
244
|
+
updated;
|
|
245
|
+
deleted;
|
|
246
|
+
participantIds;
|
|
247
|
+
latestMsgSentTime;
|
|
248
|
+
originLocation;
|
|
249
|
+
originLocationExternalId;
|
|
250
|
+
lastSeenByParticipant;
|
|
251
|
+
conversationViewIds;
|
|
252
|
+
subjectParticipantsKey;
|
|
253
|
+
subjectParticipants;
|
|
254
|
+
isOpen;
|
|
236
255
|
static fromProto(proto) {
|
|
237
256
|
let m = new Conversation();
|
|
238
257
|
m = Object.assign(m, proto);
|
|
@@ -319,6 +338,9 @@ class Conversation {
|
|
|
319
338
|
}
|
|
320
339
|
}
|
|
321
340
|
class ConversationKey {
|
|
341
|
+
subjectParticipants;
|
|
342
|
+
channel;
|
|
343
|
+
originLocationExternalId;
|
|
322
344
|
static fromProto(proto) {
|
|
323
345
|
let m = new ConversationKey();
|
|
324
346
|
m = Object.assign(m, proto);
|
|
@@ -351,6 +373,8 @@ class ConversationKey {
|
|
|
351
373
|
}
|
|
352
374
|
}
|
|
353
375
|
class LastSeenByParticipant {
|
|
376
|
+
participantId;
|
|
377
|
+
lastSeenTime;
|
|
354
378
|
static fromProto(proto) {
|
|
355
379
|
let m = new LastSeenByParticipant();
|
|
356
380
|
m = Object.assign(m, proto);
|
|
@@ -384,6 +408,19 @@ function enumStringToValue$8(enumRef, value) {
|
|
|
384
408
|
return enumRef[value];
|
|
385
409
|
}
|
|
386
410
|
class Message {
|
|
411
|
+
messageId;
|
|
412
|
+
externalMessageId;
|
|
413
|
+
conversationId;
|
|
414
|
+
participantId;
|
|
415
|
+
type;
|
|
416
|
+
body;
|
|
417
|
+
error;
|
|
418
|
+
created;
|
|
419
|
+
updated;
|
|
420
|
+
deleted;
|
|
421
|
+
media;
|
|
422
|
+
sendStatus;
|
|
423
|
+
channel;
|
|
387
424
|
static fromProto(proto) {
|
|
388
425
|
let m = new Message();
|
|
389
426
|
m = Object.assign(m, proto);
|
|
@@ -458,6 +495,10 @@ class Message {
|
|
|
458
495
|
}
|
|
459
496
|
}
|
|
460
497
|
class ParticipantMessageStatus {
|
|
498
|
+
participantId;
|
|
499
|
+
messageId;
|
|
500
|
+
status;
|
|
501
|
+
updated;
|
|
461
502
|
static fromProto(proto) {
|
|
462
503
|
let m = new ParticipantMessageStatus();
|
|
463
504
|
m = Object.assign(m, proto);
|
|
@@ -493,6 +534,9 @@ class ParticipantMessageStatus {
|
|
|
493
534
|
}
|
|
494
535
|
}
|
|
495
536
|
class SendStatus {
|
|
537
|
+
status;
|
|
538
|
+
reason;
|
|
539
|
+
created;
|
|
496
540
|
static fromProto(proto) {
|
|
497
541
|
let m = new SendStatus();
|
|
498
542
|
m = Object.assign(m, proto);
|
|
@@ -532,6 +576,12 @@ function enumStringToValue$7(enumRef, value) {
|
|
|
532
576
|
return enumRef[value];
|
|
533
577
|
}
|
|
534
578
|
class Address {
|
|
579
|
+
firstLineAddress;
|
|
580
|
+
secondLineAddress;
|
|
581
|
+
city;
|
|
582
|
+
state;
|
|
583
|
+
country;
|
|
584
|
+
zipCode;
|
|
535
585
|
static fromProto(proto) {
|
|
536
586
|
let m = new Address();
|
|
537
587
|
m = Object.assign(m, proto);
|
|
@@ -567,6 +617,25 @@ class Address {
|
|
|
567
617
|
}
|
|
568
618
|
}
|
|
569
619
|
class Participant {
|
|
620
|
+
participantId;
|
|
621
|
+
internalParticipantId;
|
|
622
|
+
partnerId;
|
|
623
|
+
accountGroupId;
|
|
624
|
+
location;
|
|
625
|
+
channel;
|
|
626
|
+
externalParticipantId;
|
|
627
|
+
name;
|
|
628
|
+
created;
|
|
629
|
+
updated;
|
|
630
|
+
deleted;
|
|
631
|
+
participantType;
|
|
632
|
+
email;
|
|
633
|
+
phoneNumber;
|
|
634
|
+
address;
|
|
635
|
+
isSubjectParticipant;
|
|
636
|
+
isParticipantInternalInfoDeleted;
|
|
637
|
+
profileImageUrl;
|
|
638
|
+
namespaceHierarchy;
|
|
570
639
|
static fromProto(proto) {
|
|
571
640
|
let m = new Participant();
|
|
572
641
|
m = Object.assign(m, proto);
|
|
@@ -665,6 +734,13 @@ class Participant {
|
|
|
665
734
|
}
|
|
666
735
|
}
|
|
667
736
|
class ParticipantKey {
|
|
737
|
+
internalParticipantId;
|
|
738
|
+
partnerId;
|
|
739
|
+
accountGroupId;
|
|
740
|
+
location;
|
|
741
|
+
channels;
|
|
742
|
+
participantType;
|
|
743
|
+
namespaceHierarchy;
|
|
668
744
|
static fromProto(proto) {
|
|
669
745
|
let m = new ParticipantKey();
|
|
670
746
|
m = Object.assign(m, proto);
|
|
@@ -722,6 +798,8 @@ function enumStringToValue$6(enumRef, value) {
|
|
|
722
798
|
return enumRef[value];
|
|
723
799
|
}
|
|
724
800
|
class Access {
|
|
801
|
+
scope;
|
|
802
|
+
public;
|
|
725
803
|
static fromProto(proto) {
|
|
726
804
|
let m = new Access();
|
|
727
805
|
m = Object.assign(m, proto);
|
|
@@ -752,6 +830,18 @@ function enumStringToValue$5(enumRef, value) {
|
|
|
752
830
|
return enumRef[value];
|
|
753
831
|
}
|
|
754
832
|
class Configuration {
|
|
833
|
+
subjectParticipant;
|
|
834
|
+
createdAt;
|
|
835
|
+
updatedAt;
|
|
836
|
+
availabilityMessage;
|
|
837
|
+
showAvailabilityMessage;
|
|
838
|
+
googleBusinessMessagesEnabled;
|
|
839
|
+
smsEnabled;
|
|
840
|
+
inboxProEnabled;
|
|
841
|
+
webChatEnabled;
|
|
842
|
+
facebookMessengerEnabled;
|
|
843
|
+
multiLocationEnabled;
|
|
844
|
+
instagramMessagingEnabled;
|
|
755
845
|
static fromProto(proto) {
|
|
756
846
|
let m = new Configuration();
|
|
757
847
|
m = Object.assign(m, proto);
|
|
@@ -807,10 +897,19 @@ class Configuration {
|
|
|
807
897
|
if (typeof this.multiLocationEnabled !== 'undefined') {
|
|
808
898
|
toReturn['multiLocationEnabled'] = this.multiLocationEnabled;
|
|
809
899
|
}
|
|
900
|
+
if (typeof this.instagramMessagingEnabled !== 'undefined') {
|
|
901
|
+
toReturn['instagramMessagingEnabled'] = this.instagramMessagingEnabled;
|
|
902
|
+
}
|
|
810
903
|
return toReturn;
|
|
811
904
|
}
|
|
812
905
|
}
|
|
813
906
|
class ProductFeature {
|
|
907
|
+
googleBusinessMessagesEnabled;
|
|
908
|
+
smsEnabled;
|
|
909
|
+
multiLocationEnabled;
|
|
910
|
+
webChatEnabled;
|
|
911
|
+
facebookMessengerEnabled;
|
|
912
|
+
instagramMessagingEnabled;
|
|
814
913
|
static fromProto(proto) {
|
|
815
914
|
let m = new ProductFeature();
|
|
816
915
|
m = Object.assign(m, proto);
|
|
@@ -839,6 +938,9 @@ class ProductFeature {
|
|
|
839
938
|
if (typeof this.facebookMessengerEnabled !== 'undefined') {
|
|
840
939
|
toReturn['facebookMessengerEnabled'] = this.facebookMessengerEnabled;
|
|
841
940
|
}
|
|
941
|
+
if (typeof this.instagramMessagingEnabled !== 'undefined') {
|
|
942
|
+
toReturn['instagramMessagingEnabled'] = this.instagramMessagingEnabled;
|
|
943
|
+
}
|
|
842
944
|
return toReturn;
|
|
843
945
|
}
|
|
844
946
|
}
|
|
@@ -850,6 +952,8 @@ function enumStringToValue$4(enumRef, value) {
|
|
|
850
952
|
return enumRef[value];
|
|
851
953
|
}
|
|
852
954
|
class View {
|
|
955
|
+
viewId;
|
|
956
|
+
created;
|
|
853
957
|
static fromProto(proto) {
|
|
854
958
|
let m = new View();
|
|
855
959
|
m = Object.assign(m, proto);
|
|
@@ -883,6 +987,7 @@ function enumStringToValue$3(enumRef, value) {
|
|
|
883
987
|
return enumRef[value];
|
|
884
988
|
}
|
|
885
989
|
class DataSources {
|
|
990
|
+
businessProfile;
|
|
886
991
|
static fromProto(proto) {
|
|
887
992
|
let m = new DataSources();
|
|
888
993
|
m = Object.assign(m, proto);
|
|
@@ -903,6 +1008,19 @@ class DataSources {
|
|
|
903
1008
|
}
|
|
904
1009
|
}
|
|
905
1010
|
class Widget {
|
|
1011
|
+
widgetId;
|
|
1012
|
+
name;
|
|
1013
|
+
namespace;
|
|
1014
|
+
color;
|
|
1015
|
+
allowedUrls;
|
|
1016
|
+
position;
|
|
1017
|
+
created;
|
|
1018
|
+
updated;
|
|
1019
|
+
isEnabled;
|
|
1020
|
+
welcomeMessage;
|
|
1021
|
+
textColor;
|
|
1022
|
+
accentColor;
|
|
1023
|
+
accentTextColor;
|
|
906
1024
|
static fromProto(proto) {
|
|
907
1025
|
let m = new Widget();
|
|
908
1026
|
m = Object.assign(m, proto);
|
|
@@ -975,6 +1093,7 @@ function enumStringToValue$2(enumRef, value) {
|
|
|
975
1093
|
return enumRef[value];
|
|
976
1094
|
}
|
|
977
1095
|
class FieldMask {
|
|
1096
|
+
paths;
|
|
978
1097
|
static fromProto(proto) {
|
|
979
1098
|
let m = new FieldMask();
|
|
980
1099
|
m = Object.assign(m, proto);
|
|
@@ -1002,6 +1121,10 @@ function enumStringToValue$1(enumRef, value) {
|
|
|
1002
1121
|
return enumRef[value];
|
|
1003
1122
|
}
|
|
1004
1123
|
class MessageTemplate {
|
|
1124
|
+
templateId;
|
|
1125
|
+
name;
|
|
1126
|
+
content;
|
|
1127
|
+
created;
|
|
1005
1128
|
static fromProto(proto) {
|
|
1006
1129
|
let m = new MessageTemplate();
|
|
1007
1130
|
m = Object.assign(m, proto);
|
|
@@ -1041,6 +1164,9 @@ function enumStringToValue(enumRef, value) {
|
|
|
1041
1164
|
return enumRef[value];
|
|
1042
1165
|
}
|
|
1043
1166
|
class AddConversationToConversationViewRequest {
|
|
1167
|
+
viewId;
|
|
1168
|
+
conversationId;
|
|
1169
|
+
participantId;
|
|
1044
1170
|
static fromProto(proto) {
|
|
1045
1171
|
let m = new AddConversationToConversationViewRequest();
|
|
1046
1172
|
m = Object.assign(m, proto);
|
|
@@ -1067,6 +1193,8 @@ class AddConversationToConversationViewRequest {
|
|
|
1067
1193
|
}
|
|
1068
1194
|
}
|
|
1069
1195
|
class AddMultiParticipantsRequest {
|
|
1196
|
+
conversationId;
|
|
1197
|
+
participants;
|
|
1070
1198
|
static fromProto(proto) {
|
|
1071
1199
|
let m = new AddMultiParticipantsRequest();
|
|
1072
1200
|
m = Object.assign(m, proto);
|
|
@@ -1093,6 +1221,7 @@ class AddMultiParticipantsRequest {
|
|
|
1093
1221
|
}
|
|
1094
1222
|
}
|
|
1095
1223
|
class AddMultiParticipantsResponse {
|
|
1224
|
+
participants;
|
|
1096
1225
|
static fromProto(proto) {
|
|
1097
1226
|
let m = new AddMultiParticipantsResponse();
|
|
1098
1227
|
m = Object.assign(m, proto);
|
|
@@ -1116,6 +1245,8 @@ class AddMultiParticipantsResponse {
|
|
|
1116
1245
|
}
|
|
1117
1246
|
}
|
|
1118
1247
|
class ConversationMessageCount {
|
|
1248
|
+
conversationId;
|
|
1249
|
+
count;
|
|
1119
1250
|
static fromProto(proto) {
|
|
1120
1251
|
let m = new ConversationMessageCount();
|
|
1121
1252
|
m = Object.assign(m, proto);
|
|
@@ -1142,6 +1273,8 @@ class ConversationMessageCount {
|
|
|
1142
1273
|
}
|
|
1143
1274
|
}
|
|
1144
1275
|
class LookupConversationsResponseConversations {
|
|
1276
|
+
conversation;
|
|
1277
|
+
participants;
|
|
1145
1278
|
static fromProto(proto) {
|
|
1146
1279
|
let m = new LookupConversationsResponseConversations();
|
|
1147
1280
|
m = Object.assign(m, proto);
|
|
@@ -1171,6 +1304,8 @@ class LookupConversationsResponseConversations {
|
|
|
1171
1304
|
}
|
|
1172
1305
|
}
|
|
1173
1306
|
class GetMultiConversationMessageCountResponseCountsEntry {
|
|
1307
|
+
key;
|
|
1308
|
+
value;
|
|
1174
1309
|
static fromProto(proto) {
|
|
1175
1310
|
let m = new GetMultiConversationMessageCountResponseCountsEntry();
|
|
1176
1311
|
m = Object.assign(m, proto);
|
|
@@ -1197,6 +1332,13 @@ class GetMultiConversationMessageCountResponseCountsEntry {
|
|
|
1197
1332
|
}
|
|
1198
1333
|
}
|
|
1199
1334
|
class CreateConversationRequest {
|
|
1335
|
+
participants;
|
|
1336
|
+
channel;
|
|
1337
|
+
externalConversationId;
|
|
1338
|
+
created;
|
|
1339
|
+
updated;
|
|
1340
|
+
originLocation;
|
|
1341
|
+
originLocationExternalId;
|
|
1200
1342
|
static fromProto(proto) {
|
|
1201
1343
|
let m = new CreateConversationRequest();
|
|
1202
1344
|
m = Object.assign(m, proto);
|
|
@@ -1250,6 +1392,8 @@ class CreateConversationRequest {
|
|
|
1250
1392
|
}
|
|
1251
1393
|
}
|
|
1252
1394
|
class CreateConversationResponse {
|
|
1395
|
+
conversation;
|
|
1396
|
+
participants;
|
|
1253
1397
|
static fromProto(proto) {
|
|
1254
1398
|
let m = new CreateConversationResponse();
|
|
1255
1399
|
m = Object.assign(m, proto);
|
|
@@ -1279,6 +1423,8 @@ class CreateConversationResponse {
|
|
|
1279
1423
|
}
|
|
1280
1424
|
}
|
|
1281
1425
|
class CreateMessageTemplateRequest {
|
|
1426
|
+
template;
|
|
1427
|
+
subjectParticipant;
|
|
1282
1428
|
static fromProto(proto) {
|
|
1283
1429
|
let m = new CreateMessageTemplateRequest();
|
|
1284
1430
|
m = Object.assign(m, proto);
|
|
@@ -1308,6 +1454,7 @@ class CreateMessageTemplateRequest {
|
|
|
1308
1454
|
}
|
|
1309
1455
|
}
|
|
1310
1456
|
class CreateMessageTemplateResponse {
|
|
1457
|
+
template;
|
|
1311
1458
|
static fromProto(proto) {
|
|
1312
1459
|
let m = new CreateMessageTemplateResponse();
|
|
1313
1460
|
m = Object.assign(m, proto);
|
|
@@ -1331,6 +1478,8 @@ class CreateMessageTemplateResponse {
|
|
|
1331
1478
|
}
|
|
1332
1479
|
}
|
|
1333
1480
|
class CreateMultiMessagesRequest {
|
|
1481
|
+
messages;
|
|
1482
|
+
lastSeen;
|
|
1334
1483
|
static fromProto(proto) {
|
|
1335
1484
|
let m = new CreateMultiMessagesRequest();
|
|
1336
1485
|
m = Object.assign(m, proto);
|
|
@@ -1360,6 +1509,8 @@ class CreateMultiMessagesRequest {
|
|
|
1360
1509
|
}
|
|
1361
1510
|
}
|
|
1362
1511
|
class CreateWidgetConversationRequest {
|
|
1512
|
+
widgetId;
|
|
1513
|
+
chatSourceUrl;
|
|
1363
1514
|
static fromProto(proto) {
|
|
1364
1515
|
let m = new CreateWidgetConversationRequest();
|
|
1365
1516
|
m = Object.assign(m, proto);
|
|
@@ -1383,6 +1534,8 @@ class CreateWidgetConversationRequest {
|
|
|
1383
1534
|
}
|
|
1384
1535
|
}
|
|
1385
1536
|
class CreateWidgetConversationResponse {
|
|
1537
|
+
widgetParticipantToken;
|
|
1538
|
+
conversation;
|
|
1386
1539
|
static fromProto(proto) {
|
|
1387
1540
|
let m = new CreateWidgetConversationResponse();
|
|
1388
1541
|
m = Object.assign(m, proto);
|
|
@@ -1409,6 +1562,15 @@ class CreateWidgetConversationResponse {
|
|
|
1409
1562
|
}
|
|
1410
1563
|
}
|
|
1411
1564
|
class CreateWidgetRequest {
|
|
1565
|
+
name;
|
|
1566
|
+
namespace;
|
|
1567
|
+
color;
|
|
1568
|
+
allowedUrls;
|
|
1569
|
+
welcomeMessage;
|
|
1570
|
+
dataSources;
|
|
1571
|
+
textColor;
|
|
1572
|
+
accentColor;
|
|
1573
|
+
accentTextColor;
|
|
1412
1574
|
static fromProto(proto) {
|
|
1413
1575
|
let m = new CreateWidgetRequest();
|
|
1414
1576
|
m = Object.assign(m, proto);
|
|
@@ -1456,6 +1618,7 @@ class CreateWidgetRequest {
|
|
|
1456
1618
|
}
|
|
1457
1619
|
}
|
|
1458
1620
|
class CreateWidgetResponse {
|
|
1621
|
+
widget;
|
|
1459
1622
|
static fromProto(proto) {
|
|
1460
1623
|
let m = new CreateWidgetResponse();
|
|
1461
1624
|
m = Object.assign(m, proto);
|
|
@@ -1479,6 +1642,8 @@ class CreateWidgetResponse {
|
|
|
1479
1642
|
}
|
|
1480
1643
|
}
|
|
1481
1644
|
class MetadataDataEntry {
|
|
1645
|
+
key;
|
|
1646
|
+
value;
|
|
1482
1647
|
static fromProto(proto) {
|
|
1483
1648
|
let m = new MetadataDataEntry();
|
|
1484
1649
|
m = Object.assign(m, proto);
|
|
@@ -1502,6 +1667,7 @@ class MetadataDataEntry {
|
|
|
1502
1667
|
}
|
|
1503
1668
|
}
|
|
1504
1669
|
class DeleteConversationRequest {
|
|
1670
|
+
conversationId;
|
|
1505
1671
|
static fromProto(proto) {
|
|
1506
1672
|
let m = new DeleteConversationRequest();
|
|
1507
1673
|
m = Object.assign(m, proto);
|
|
@@ -1522,6 +1688,7 @@ class DeleteConversationRequest {
|
|
|
1522
1688
|
}
|
|
1523
1689
|
}
|
|
1524
1690
|
class DeleteMessageRequest {
|
|
1691
|
+
messageId;
|
|
1525
1692
|
static fromProto(proto) {
|
|
1526
1693
|
let m = new DeleteMessageRequest();
|
|
1527
1694
|
m = Object.assign(m, proto);
|
|
@@ -1542,6 +1709,7 @@ class DeleteMessageRequest {
|
|
|
1542
1709
|
}
|
|
1543
1710
|
}
|
|
1544
1711
|
class DeleteMessageTemplateRequest {
|
|
1712
|
+
templateId;
|
|
1545
1713
|
static fromProto(proto) {
|
|
1546
1714
|
let m = new DeleteMessageTemplateRequest();
|
|
1547
1715
|
m = Object.assign(m, proto);
|
|
@@ -1562,6 +1730,7 @@ class DeleteMessageTemplateRequest {
|
|
|
1562
1730
|
}
|
|
1563
1731
|
}
|
|
1564
1732
|
class DeleteWidgetRequest {
|
|
1733
|
+
widgetId;
|
|
1565
1734
|
static fromProto(proto) {
|
|
1566
1735
|
let m = new DeleteWidgetRequest();
|
|
1567
1736
|
m = Object.assign(m, proto);
|
|
@@ -1581,9 +1750,13 @@ class DeleteWidgetRequest {
|
|
|
1581
1750
|
return toReturn;
|
|
1582
1751
|
}
|
|
1583
1752
|
}
|
|
1584
|
-
class
|
|
1753
|
+
class GetMultiConversationDetailsResponseDetailedConversation {
|
|
1754
|
+
conversation;
|
|
1755
|
+
latestMessage;
|
|
1756
|
+
participants;
|
|
1757
|
+
summary;
|
|
1585
1758
|
static fromProto(proto) {
|
|
1586
|
-
let m = new
|
|
1759
|
+
let m = new GetMultiConversationDetailsResponseDetailedConversation();
|
|
1587
1760
|
m = Object.assign(m, proto);
|
|
1588
1761
|
if (proto.conversation) {
|
|
1589
1762
|
m.conversation = Conversation.fromProto(proto.conversation);
|
|
@@ -1613,12 +1786,18 @@ class SearchConversationsResponseDetailedConversation {
|
|
|
1613
1786
|
if (typeof this.participants !== 'undefined' && this.participants !== null) {
|
|
1614
1787
|
toReturn['participants'] = 'toApiJson' in this.participants ? this.participants.toApiJson() : this.participants;
|
|
1615
1788
|
}
|
|
1789
|
+
if (typeof this.summary !== 'undefined') {
|
|
1790
|
+
toReturn['summary'] = this.summary;
|
|
1791
|
+
}
|
|
1616
1792
|
return toReturn;
|
|
1617
1793
|
}
|
|
1618
1794
|
}
|
|
1619
|
-
class
|
|
1795
|
+
class SearchConversationsResponseDetailedConversation {
|
|
1796
|
+
conversation;
|
|
1797
|
+
latestMessage;
|
|
1798
|
+
participants;
|
|
1620
1799
|
static fromProto(proto) {
|
|
1621
|
-
let m = new
|
|
1800
|
+
let m = new SearchConversationsResponseDetailedConversation();
|
|
1622
1801
|
m = Object.assign(m, proto);
|
|
1623
1802
|
if (proto.conversation) {
|
|
1624
1803
|
m.conversation = Conversation.fromProto(proto.conversation);
|
|
@@ -1648,13 +1827,13 @@ class GetMultiConversationDetailsResponseDetailedConversation {
|
|
|
1648
1827
|
if (typeof this.participants !== 'undefined' && this.participants !== null) {
|
|
1649
1828
|
toReturn['participants'] = 'toApiJson' in this.participants ? this.participants.toApiJson() : this.participants;
|
|
1650
1829
|
}
|
|
1651
|
-
if (typeof this.summary !== 'undefined') {
|
|
1652
|
-
toReturn['summary'] = this.summary;
|
|
1653
|
-
}
|
|
1654
1830
|
return toReturn;
|
|
1655
1831
|
}
|
|
1656
1832
|
}
|
|
1657
1833
|
class EvaluateResponseRequest {
|
|
1834
|
+
messageId;
|
|
1835
|
+
sentiment;
|
|
1836
|
+
comment;
|
|
1658
1837
|
static fromProto(proto) {
|
|
1659
1838
|
let m = new EvaluateResponseRequest();
|
|
1660
1839
|
m = Object.assign(m, proto);
|
|
@@ -1684,6 +1863,7 @@ class EvaluateResponseRequest {
|
|
|
1684
1863
|
}
|
|
1685
1864
|
}
|
|
1686
1865
|
class GetAvailableChannelsForConversationRequest {
|
|
1866
|
+
conversationId;
|
|
1687
1867
|
static fromProto(proto) {
|
|
1688
1868
|
let m = new GetAvailableChannelsForConversationRequest();
|
|
1689
1869
|
m = Object.assign(m, proto);
|
|
@@ -1704,6 +1884,8 @@ class GetAvailableChannelsForConversationRequest {
|
|
|
1704
1884
|
}
|
|
1705
1885
|
}
|
|
1706
1886
|
class GetAvailableChannelsForConversationResponse {
|
|
1887
|
+
channels;
|
|
1888
|
+
preferredChannel;
|
|
1707
1889
|
static fromProto(proto) {
|
|
1708
1890
|
let m = new GetAvailableChannelsForConversationResponse();
|
|
1709
1891
|
m = Object.assign(m, proto);
|
|
@@ -1733,6 +1915,7 @@ class GetAvailableChannelsForConversationResponse {
|
|
|
1733
1915
|
}
|
|
1734
1916
|
}
|
|
1735
1917
|
class GetConfigurationRequest {
|
|
1918
|
+
subjectParticipant;
|
|
1736
1919
|
static fromProto(proto) {
|
|
1737
1920
|
let m = new GetConfigurationRequest();
|
|
1738
1921
|
m = Object.assign(m, proto);
|
|
@@ -1756,6 +1939,7 @@ class GetConfigurationRequest {
|
|
|
1756
1939
|
}
|
|
1757
1940
|
}
|
|
1758
1941
|
class GetConfigurationResponse {
|
|
1942
|
+
configuration;
|
|
1759
1943
|
static fromProto(proto) {
|
|
1760
1944
|
let m = new GetConfigurationResponse();
|
|
1761
1945
|
m = Object.assign(m, proto);
|
|
@@ -1779,6 +1963,7 @@ class GetConfigurationResponse {
|
|
|
1779
1963
|
}
|
|
1780
1964
|
}
|
|
1781
1965
|
class GetConversationByKeyRequest {
|
|
1966
|
+
conversationKey;
|
|
1782
1967
|
static fromProto(proto) {
|
|
1783
1968
|
let m = new GetConversationByKeyRequest();
|
|
1784
1969
|
m = Object.assign(m, proto);
|
|
@@ -1802,6 +1987,7 @@ class GetConversationByKeyRequest {
|
|
|
1802
1987
|
}
|
|
1803
1988
|
}
|
|
1804
1989
|
class GetConversationByKeyResponse {
|
|
1990
|
+
conversation;
|
|
1805
1991
|
static fromProto(proto) {
|
|
1806
1992
|
let m = new GetConversationByKeyResponse();
|
|
1807
1993
|
m = Object.assign(m, proto);
|
|
@@ -1825,6 +2011,7 @@ class GetConversationByKeyResponse {
|
|
|
1825
2011
|
}
|
|
1826
2012
|
}
|
|
1827
2013
|
class GetConversationSummaryRequest {
|
|
2014
|
+
conversationId;
|
|
1828
2015
|
static fromProto(proto) {
|
|
1829
2016
|
let m = new GetConversationSummaryRequest();
|
|
1830
2017
|
m = Object.assign(m, proto);
|
|
@@ -1845,6 +2032,7 @@ class GetConversationSummaryRequest {
|
|
|
1845
2032
|
}
|
|
1846
2033
|
}
|
|
1847
2034
|
class GetConversationSummaryResponse {
|
|
2035
|
+
summary;
|
|
1848
2036
|
static fromProto(proto) {
|
|
1849
2037
|
let m = new GetConversationSummaryResponse();
|
|
1850
2038
|
m = Object.assign(m, proto);
|
|
@@ -1865,6 +2053,7 @@ class GetConversationSummaryResponse {
|
|
|
1865
2053
|
}
|
|
1866
2054
|
}
|
|
1867
2055
|
class GetConversationViewsRequest {
|
|
2056
|
+
participantId;
|
|
1868
2057
|
static fromProto(proto) {
|
|
1869
2058
|
let m = new GetConversationViewsRequest();
|
|
1870
2059
|
m = Object.assign(m, proto);
|
|
@@ -1885,6 +2074,7 @@ class GetConversationViewsRequest {
|
|
|
1885
2074
|
}
|
|
1886
2075
|
}
|
|
1887
2076
|
class GetConversationViewsResponse {
|
|
2077
|
+
views;
|
|
1888
2078
|
static fromProto(proto) {
|
|
1889
2079
|
let m = new GetConversationViewsResponse();
|
|
1890
2080
|
m = Object.assign(m, proto);
|
|
@@ -1907,7 +2097,53 @@ class GetConversationViewsResponse {
|
|
|
1907
2097
|
return toReturn;
|
|
1908
2098
|
}
|
|
1909
2099
|
}
|
|
2100
|
+
class GetForwardingEmailRequest {
|
|
2101
|
+
subjectParticipant;
|
|
2102
|
+
static fromProto(proto) {
|
|
2103
|
+
let m = new GetForwardingEmailRequest();
|
|
2104
|
+
m = Object.assign(m, proto);
|
|
2105
|
+
if (proto.subjectParticipant) {
|
|
2106
|
+
m.subjectParticipant = SubjectParticipant.fromProto(proto.subjectParticipant);
|
|
2107
|
+
}
|
|
2108
|
+
return m;
|
|
2109
|
+
}
|
|
2110
|
+
constructor(kwargs) {
|
|
2111
|
+
if (!kwargs) {
|
|
2112
|
+
return;
|
|
2113
|
+
}
|
|
2114
|
+
Object.assign(this, kwargs);
|
|
2115
|
+
}
|
|
2116
|
+
toApiJson() {
|
|
2117
|
+
const toReturn = {};
|
|
2118
|
+
if (typeof this.subjectParticipant !== 'undefined' && this.subjectParticipant !== null) {
|
|
2119
|
+
toReturn['subjectParticipant'] = 'toApiJson' in this.subjectParticipant ? this.subjectParticipant.toApiJson() : this.subjectParticipant;
|
|
2120
|
+
}
|
|
2121
|
+
return toReturn;
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
2124
|
+
class GetForwardingEmailResponse {
|
|
2125
|
+
forwardingEmail;
|
|
2126
|
+
static fromProto(proto) {
|
|
2127
|
+
let m = new GetForwardingEmailResponse();
|
|
2128
|
+
m = Object.assign(m, proto);
|
|
2129
|
+
return m;
|
|
2130
|
+
}
|
|
2131
|
+
constructor(kwargs) {
|
|
2132
|
+
if (!kwargs) {
|
|
2133
|
+
return;
|
|
2134
|
+
}
|
|
2135
|
+
Object.assign(this, kwargs);
|
|
2136
|
+
}
|
|
2137
|
+
toApiJson() {
|
|
2138
|
+
const toReturn = {};
|
|
2139
|
+
if (typeof this.forwardingEmail !== 'undefined') {
|
|
2140
|
+
toReturn['forwardingEmail'] = this.forwardingEmail;
|
|
2141
|
+
}
|
|
2142
|
+
return toReturn;
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
1910
2145
|
class GetMessageRequest {
|
|
2146
|
+
messageId;
|
|
1911
2147
|
static fromProto(proto) {
|
|
1912
2148
|
let m = new GetMessageRequest();
|
|
1913
2149
|
m = Object.assign(m, proto);
|
|
@@ -1928,6 +2164,7 @@ class GetMessageRequest {
|
|
|
1928
2164
|
}
|
|
1929
2165
|
}
|
|
1930
2166
|
class GetMessageTemplateRequest {
|
|
2167
|
+
templateId;
|
|
1931
2168
|
static fromProto(proto) {
|
|
1932
2169
|
let m = new GetMessageTemplateRequest();
|
|
1933
2170
|
m = Object.assign(m, proto);
|
|
@@ -1948,6 +2185,7 @@ class GetMessageTemplateRequest {
|
|
|
1948
2185
|
}
|
|
1949
2186
|
}
|
|
1950
2187
|
class GetMessageTemplateResponse {
|
|
2188
|
+
template;
|
|
1951
2189
|
static fromProto(proto) {
|
|
1952
2190
|
let m = new GetMessageTemplateResponse();
|
|
1953
2191
|
m = Object.assign(m, proto);
|
|
@@ -1971,6 +2209,7 @@ class GetMessageTemplateResponse {
|
|
|
1971
2209
|
}
|
|
1972
2210
|
}
|
|
1973
2211
|
class GetMultiConfigurationRequest {
|
|
2212
|
+
subjectParticipants;
|
|
1974
2213
|
static fromProto(proto) {
|
|
1975
2214
|
let m = new GetMultiConfigurationRequest();
|
|
1976
2215
|
m = Object.assign(m, proto);
|
|
@@ -1994,6 +2233,7 @@ class GetMultiConfigurationRequest {
|
|
|
1994
2233
|
}
|
|
1995
2234
|
}
|
|
1996
2235
|
class GetMultiConfigurationResponse {
|
|
2236
|
+
configurations;
|
|
1997
2237
|
static fromProto(proto) {
|
|
1998
2238
|
let m = new GetMultiConfigurationResponse();
|
|
1999
2239
|
m = Object.assign(m, proto);
|
|
@@ -2017,6 +2257,8 @@ class GetMultiConfigurationResponse {
|
|
|
2017
2257
|
}
|
|
2018
2258
|
}
|
|
2019
2259
|
class GetMultiConversationDetailsRequest {
|
|
2260
|
+
conversationIds;
|
|
2261
|
+
options;
|
|
2020
2262
|
static fromProto(proto) {
|
|
2021
2263
|
let m = new GetMultiConversationDetailsRequest();
|
|
2022
2264
|
m = Object.assign(m, proto);
|
|
@@ -2043,6 +2285,7 @@ class GetMultiConversationDetailsRequest {
|
|
|
2043
2285
|
}
|
|
2044
2286
|
}
|
|
2045
2287
|
class GetMultiConversationDetailsResponse {
|
|
2288
|
+
conversations;
|
|
2046
2289
|
static fromProto(proto) {
|
|
2047
2290
|
let m = new GetMultiConversationDetailsResponse();
|
|
2048
2291
|
m = Object.assign(m, proto);
|
|
@@ -2066,6 +2309,7 @@ class GetMultiConversationDetailsResponse {
|
|
|
2066
2309
|
}
|
|
2067
2310
|
}
|
|
2068
2311
|
class GetMultiConversationMessageCountRequest {
|
|
2312
|
+
conversationIds;
|
|
2069
2313
|
static fromProto(proto) {
|
|
2070
2314
|
let m = new GetMultiConversationMessageCountRequest();
|
|
2071
2315
|
m = Object.assign(m, proto);
|
|
@@ -2086,6 +2330,8 @@ class GetMultiConversationMessageCountRequest {
|
|
|
2086
2330
|
}
|
|
2087
2331
|
}
|
|
2088
2332
|
class GetMultiConversationMessageCountResponse {
|
|
2333
|
+
messageCounts;
|
|
2334
|
+
counts;
|
|
2089
2335
|
static fromProto(proto) {
|
|
2090
2336
|
let m = new GetMultiConversationMessageCountResponse();
|
|
2091
2337
|
m = Object.assign(m, proto);
|
|
@@ -2115,6 +2361,9 @@ class GetMultiConversationMessageCountResponse {
|
|
|
2115
2361
|
}
|
|
2116
2362
|
}
|
|
2117
2363
|
class GetMultiMessagesRequest {
|
|
2364
|
+
messageIds;
|
|
2365
|
+
conversationId;
|
|
2366
|
+
languageCode;
|
|
2118
2367
|
static fromProto(proto) {
|
|
2119
2368
|
let m = new GetMultiMessagesRequest();
|
|
2120
2369
|
m = Object.assign(m, proto);
|
|
@@ -2141,6 +2390,7 @@ class GetMultiMessagesRequest {
|
|
|
2141
2390
|
}
|
|
2142
2391
|
}
|
|
2143
2392
|
class GetMultiMessagesResponse {
|
|
2393
|
+
messages;
|
|
2144
2394
|
static fromProto(proto) {
|
|
2145
2395
|
let m = new GetMultiMessagesResponse();
|
|
2146
2396
|
m = Object.assign(m, proto);
|
|
@@ -2164,6 +2414,8 @@ class GetMultiMessagesResponse {
|
|
|
2164
2414
|
}
|
|
2165
2415
|
}
|
|
2166
2416
|
class GetMultiParticipantsRequest {
|
|
2417
|
+
participantIds;
|
|
2418
|
+
conversationId;
|
|
2167
2419
|
static fromProto(proto) {
|
|
2168
2420
|
let m = new GetMultiParticipantsRequest();
|
|
2169
2421
|
m = Object.assign(m, proto);
|
|
@@ -2187,6 +2439,7 @@ class GetMultiParticipantsRequest {
|
|
|
2187
2439
|
}
|
|
2188
2440
|
}
|
|
2189
2441
|
class GetMultiParticipantsResponse {
|
|
2442
|
+
participants;
|
|
2190
2443
|
static fromProto(proto) {
|
|
2191
2444
|
let m = new GetMultiParticipantsResponse();
|
|
2192
2445
|
m = Object.assign(m, proto);
|
|
@@ -2210,6 +2463,7 @@ class GetMultiParticipantsResponse {
|
|
|
2210
2463
|
}
|
|
2211
2464
|
}
|
|
2212
2465
|
class GetMultiWidgetMessagesRequest {
|
|
2466
|
+
messageIds;
|
|
2213
2467
|
static fromProto(proto) {
|
|
2214
2468
|
let m = new GetMultiWidgetMessagesRequest();
|
|
2215
2469
|
m = Object.assign(m, proto);
|
|
@@ -2230,6 +2484,7 @@ class GetMultiWidgetMessagesRequest {
|
|
|
2230
2484
|
}
|
|
2231
2485
|
}
|
|
2232
2486
|
class GetMultiWidgetMessagesResponse {
|
|
2487
|
+
messages;
|
|
2233
2488
|
static fromProto(proto) {
|
|
2234
2489
|
let m = new GetMultiWidgetMessagesResponse();
|
|
2235
2490
|
m = Object.assign(m, proto);
|
|
@@ -2253,6 +2508,7 @@ class GetMultiWidgetMessagesResponse {
|
|
|
2253
2508
|
}
|
|
2254
2509
|
}
|
|
2255
2510
|
class GetParticipantsByKeyRequest {
|
|
2511
|
+
participantKey;
|
|
2256
2512
|
static fromProto(proto) {
|
|
2257
2513
|
let m = new GetParticipantsByKeyRequest();
|
|
2258
2514
|
m = Object.assign(m, proto);
|
|
@@ -2276,6 +2532,8 @@ class GetParticipantsByKeyRequest {
|
|
|
2276
2532
|
}
|
|
2277
2533
|
}
|
|
2278
2534
|
class GetParticipantsByKeyResponse {
|
|
2535
|
+
participants;
|
|
2536
|
+
participant;
|
|
2279
2537
|
static fromProto(proto) {
|
|
2280
2538
|
let m = new GetParticipantsByKeyResponse();
|
|
2281
2539
|
m = Object.assign(m, proto);
|
|
@@ -2305,6 +2563,7 @@ class GetParticipantsByKeyResponse {
|
|
|
2305
2563
|
}
|
|
2306
2564
|
}
|
|
2307
2565
|
class GetWidgetConfigRequest {
|
|
2566
|
+
widgetId;
|
|
2308
2567
|
static fromProto(proto) {
|
|
2309
2568
|
let m = new GetWidgetConfigRequest();
|
|
2310
2569
|
m = Object.assign(m, proto);
|
|
@@ -2325,6 +2584,13 @@ class GetWidgetConfigRequest {
|
|
|
2325
2584
|
}
|
|
2326
2585
|
}
|
|
2327
2586
|
class GetWidgetConfigResponse {
|
|
2587
|
+
name;
|
|
2588
|
+
color;
|
|
2589
|
+
isEnabled;
|
|
2590
|
+
welcomeMessage;
|
|
2591
|
+
textColor;
|
|
2592
|
+
accentColor;
|
|
2593
|
+
accentTextColor;
|
|
2328
2594
|
static fromProto(proto) {
|
|
2329
2595
|
let m = new GetWidgetConfigResponse();
|
|
2330
2596
|
m = Object.assign(m, proto);
|
|
@@ -2363,6 +2629,7 @@ class GetWidgetConfigResponse {
|
|
|
2363
2629
|
}
|
|
2364
2630
|
}
|
|
2365
2631
|
class GetWidgetConversationResponse {
|
|
2632
|
+
conversation;
|
|
2366
2633
|
static fromProto(proto) {
|
|
2367
2634
|
let m = new GetWidgetConversationResponse();
|
|
2368
2635
|
m = Object.assign(m, proto);
|
|
@@ -2386,6 +2653,7 @@ class GetWidgetConversationResponse {
|
|
|
2386
2653
|
}
|
|
2387
2654
|
}
|
|
2388
2655
|
class GetWidgetRequest {
|
|
2656
|
+
widgetId;
|
|
2389
2657
|
static fromProto(proto) {
|
|
2390
2658
|
let m = new GetWidgetRequest();
|
|
2391
2659
|
m = Object.assign(m, proto);
|
|
@@ -2406,6 +2674,7 @@ class GetWidgetRequest {
|
|
|
2406
2674
|
}
|
|
2407
2675
|
}
|
|
2408
2676
|
class GetWidgetResponse {
|
|
2677
|
+
widget;
|
|
2409
2678
|
static fromProto(proto) {
|
|
2410
2679
|
let m = new GetWidgetResponse();
|
|
2411
2680
|
m = Object.assign(m, proto);
|
|
@@ -2429,6 +2698,8 @@ class GetWidgetResponse {
|
|
|
2429
2698
|
}
|
|
2430
2699
|
}
|
|
2431
2700
|
class ListMessageTemplateRequest {
|
|
2701
|
+
subjectParticipant;
|
|
2702
|
+
pagingOptions;
|
|
2432
2703
|
static fromProto(proto) {
|
|
2433
2704
|
let m = new ListMessageTemplateRequest();
|
|
2434
2705
|
m = Object.assign(m, proto);
|
|
@@ -2458,6 +2729,8 @@ class ListMessageTemplateRequest {
|
|
|
2458
2729
|
}
|
|
2459
2730
|
}
|
|
2460
2731
|
class ListMessageTemplateResponse {
|
|
2732
|
+
templates;
|
|
2733
|
+
pagingMetadata;
|
|
2461
2734
|
static fromProto(proto) {
|
|
2462
2735
|
let m = new ListMessageTemplateResponse();
|
|
2463
2736
|
m = Object.assign(m, proto);
|
|
@@ -2487,6 +2760,7 @@ class ListMessageTemplateResponse {
|
|
|
2487
2760
|
}
|
|
2488
2761
|
}
|
|
2489
2762
|
class ListMessagesRequestListMessagesFilters {
|
|
2763
|
+
conversationId;
|
|
2490
2764
|
static fromProto(proto) {
|
|
2491
2765
|
let m = new ListMessagesRequestListMessagesFilters();
|
|
2492
2766
|
m = Object.assign(m, proto);
|
|
@@ -2507,6 +2781,8 @@ class ListMessagesRequestListMessagesFilters {
|
|
|
2507
2781
|
}
|
|
2508
2782
|
}
|
|
2509
2783
|
class ListMessagesRequest {
|
|
2784
|
+
filters;
|
|
2785
|
+
pagingOptions;
|
|
2510
2786
|
static fromProto(proto) {
|
|
2511
2787
|
let m = new ListMessagesRequest();
|
|
2512
2788
|
m = Object.assign(m, proto);
|
|
@@ -2536,6 +2812,8 @@ class ListMessagesRequest {
|
|
|
2536
2812
|
}
|
|
2537
2813
|
}
|
|
2538
2814
|
class ListMessagesResponse {
|
|
2815
|
+
messages;
|
|
2816
|
+
pagingMetadata;
|
|
2539
2817
|
static fromProto(proto) {
|
|
2540
2818
|
let m = new ListMessagesResponse();
|
|
2541
2819
|
m = Object.assign(m, proto);
|
|
@@ -2565,6 +2843,8 @@ class ListMessagesResponse {
|
|
|
2565
2843
|
}
|
|
2566
2844
|
}
|
|
2567
2845
|
class ListWidgetsRequest {
|
|
2846
|
+
namespace;
|
|
2847
|
+
pagingOptions;
|
|
2568
2848
|
static fromProto(proto) {
|
|
2569
2849
|
let m = new ListWidgetsRequest();
|
|
2570
2850
|
m = Object.assign(m, proto);
|
|
@@ -2591,6 +2871,8 @@ class ListWidgetsRequest {
|
|
|
2591
2871
|
}
|
|
2592
2872
|
}
|
|
2593
2873
|
class ListWidgetsResponse {
|
|
2874
|
+
widgets;
|
|
2875
|
+
pagingMetadata;
|
|
2594
2876
|
static fromProto(proto) {
|
|
2595
2877
|
let m = new ListWidgetsResponse();
|
|
2596
2878
|
m = Object.assign(m, proto);
|
|
@@ -2620,6 +2902,13 @@ class ListWidgetsResponse {
|
|
|
2620
2902
|
}
|
|
2621
2903
|
}
|
|
2622
2904
|
class LookupConversationsRequestLookupConversationsFilters {
|
|
2905
|
+
internalParticipantId;
|
|
2906
|
+
location;
|
|
2907
|
+
channel;
|
|
2908
|
+
accountGroupId;
|
|
2909
|
+
externalConversationId;
|
|
2910
|
+
originLocation;
|
|
2911
|
+
originLocationExternalId;
|
|
2623
2912
|
static fromProto(proto) {
|
|
2624
2913
|
let m = new LookupConversationsRequestLookupConversationsFilters();
|
|
2625
2914
|
m = Object.assign(m, proto);
|
|
@@ -2667,6 +2956,8 @@ class LookupConversationsRequestLookupConversationsFilters {
|
|
|
2667
2956
|
}
|
|
2668
2957
|
}
|
|
2669
2958
|
class LookupConversationsRequest {
|
|
2959
|
+
filters;
|
|
2960
|
+
pagingOptions;
|
|
2670
2961
|
static fromProto(proto) {
|
|
2671
2962
|
let m = new LookupConversationsRequest();
|
|
2672
2963
|
m = Object.assign(m, proto);
|
|
@@ -2696,6 +2987,8 @@ class LookupConversationsRequest {
|
|
|
2696
2987
|
}
|
|
2697
2988
|
}
|
|
2698
2989
|
class LookupConversationsResponse {
|
|
2990
|
+
conversations;
|
|
2991
|
+
pagingMetadata;
|
|
2699
2992
|
static fromProto(proto) {
|
|
2700
2993
|
let m = new LookupConversationsResponse();
|
|
2701
2994
|
m = Object.assign(m, proto);
|
|
@@ -2725,6 +3018,10 @@ class LookupConversationsResponse {
|
|
|
2725
3018
|
}
|
|
2726
3019
|
}
|
|
2727
3020
|
class Media {
|
|
3021
|
+
mediaContentType;
|
|
3022
|
+
mediaLocationPath;
|
|
3023
|
+
mediaFileName;
|
|
3024
|
+
fileSize;
|
|
2728
3025
|
static fromProto(proto) {
|
|
2729
3026
|
let m = new Media();
|
|
2730
3027
|
m = Object.assign(m, proto);
|
|
@@ -2757,6 +3054,8 @@ class Media {
|
|
|
2757
3054
|
}
|
|
2758
3055
|
}
|
|
2759
3056
|
class Metadata {
|
|
3057
|
+
identifier;
|
|
3058
|
+
data;
|
|
2760
3059
|
static fromProto(proto) {
|
|
2761
3060
|
let m = new Metadata();
|
|
2762
3061
|
m = Object.assign(m, proto);
|
|
@@ -2786,6 +3085,8 @@ class Metadata {
|
|
|
2786
3085
|
}
|
|
2787
3086
|
}
|
|
2788
3087
|
class ReceiveMessageRequestMetadataEntry {
|
|
3088
|
+
key;
|
|
3089
|
+
value;
|
|
2789
3090
|
static fromProto(proto) {
|
|
2790
3091
|
let m = new ReceiveMessageRequestMetadataEntry();
|
|
2791
3092
|
m = Object.assign(m, proto);
|
|
@@ -2809,6 +3110,8 @@ class ReceiveMessageRequestMetadataEntry {
|
|
|
2809
3110
|
}
|
|
2810
3111
|
}
|
|
2811
3112
|
class PagedRequestOptions {
|
|
3113
|
+
cursor;
|
|
3114
|
+
pageSize;
|
|
2812
3115
|
static fromProto(proto) {
|
|
2813
3116
|
let m = new PagedRequestOptions();
|
|
2814
3117
|
m = Object.assign(m, proto);
|
|
@@ -2832,6 +3135,9 @@ class PagedRequestOptions {
|
|
|
2832
3135
|
}
|
|
2833
3136
|
}
|
|
2834
3137
|
class PagedResponseMetadata {
|
|
3138
|
+
nextCursor;
|
|
3139
|
+
hasMore;
|
|
3140
|
+
totalResults;
|
|
2835
3141
|
static fromProto(proto) {
|
|
2836
3142
|
let m = new PagedResponseMetadata();
|
|
2837
3143
|
m = Object.assign(m, proto);
|
|
@@ -2861,6 +3167,18 @@ class PagedResponseMetadata {
|
|
|
2861
3167
|
}
|
|
2862
3168
|
}
|
|
2863
3169
|
class ReceiveMessageRequest {
|
|
3170
|
+
senderId;
|
|
3171
|
+
recipientId;
|
|
3172
|
+
conversationId;
|
|
3173
|
+
messageId;
|
|
3174
|
+
body;
|
|
3175
|
+
channel;
|
|
3176
|
+
type;
|
|
3177
|
+
location;
|
|
3178
|
+
partnerId;
|
|
3179
|
+
accountGroupId;
|
|
3180
|
+
metadata;
|
|
3181
|
+
media;
|
|
2864
3182
|
static fromProto(proto) {
|
|
2865
3183
|
let m = new ReceiveMessageRequest();
|
|
2866
3184
|
m = Object.assign(m, proto);
|
|
@@ -2926,6 +3244,9 @@ class ReceiveMessageRequest {
|
|
|
2926
3244
|
}
|
|
2927
3245
|
}
|
|
2928
3246
|
class RemoveConversationFromConversationViewRequest {
|
|
3247
|
+
viewId;
|
|
3248
|
+
conversationId;
|
|
3249
|
+
participantId;
|
|
2929
3250
|
static fromProto(proto) {
|
|
2930
3251
|
let m = new RemoveConversationFromConversationViewRequest();
|
|
2931
3252
|
m = Object.assign(m, proto);
|
|
@@ -2952,6 +3273,11 @@ class RemoveConversationFromConversationViewRequest {
|
|
|
2952
3273
|
}
|
|
2953
3274
|
}
|
|
2954
3275
|
class SearchConversationsRequest {
|
|
3276
|
+
partnerId;
|
|
3277
|
+
accountGroupId;
|
|
3278
|
+
location;
|
|
3279
|
+
searchTerm;
|
|
3280
|
+
pagingOptions;
|
|
2955
3281
|
static fromProto(proto) {
|
|
2956
3282
|
let m = new SearchConversationsRequest();
|
|
2957
3283
|
m = Object.assign(m, proto);
|
|
@@ -2990,6 +3316,8 @@ class SearchConversationsRequest {
|
|
|
2990
3316
|
}
|
|
2991
3317
|
}
|
|
2992
3318
|
class SearchConversationsResponse {
|
|
3319
|
+
conversations;
|
|
3320
|
+
pagingMetadata;
|
|
2993
3321
|
static fromProto(proto) {
|
|
2994
3322
|
let m = new SearchConversationsResponse();
|
|
2995
3323
|
m = Object.assign(m, proto);
|
|
@@ -3019,6 +3347,15 @@ class SearchConversationsResponse {
|
|
|
3019
3347
|
}
|
|
3020
3348
|
}
|
|
3021
3349
|
class SendMessageRequest {
|
|
3350
|
+
sender;
|
|
3351
|
+
recipient;
|
|
3352
|
+
conversationId;
|
|
3353
|
+
type;
|
|
3354
|
+
body;
|
|
3355
|
+
metadata;
|
|
3356
|
+
originLocation;
|
|
3357
|
+
media;
|
|
3358
|
+
channel;
|
|
3022
3359
|
static fromProto(proto) {
|
|
3023
3360
|
let m = new SendMessageRequest();
|
|
3024
3361
|
m = Object.assign(m, proto);
|
|
@@ -3084,6 +3421,8 @@ class SendMessageRequest {
|
|
|
3084
3421
|
}
|
|
3085
3422
|
}
|
|
3086
3423
|
class SendMessageResponse {
|
|
3424
|
+
workflowId;
|
|
3425
|
+
messageId;
|
|
3087
3426
|
static fromProto(proto) {
|
|
3088
3427
|
let m = new SendMessageResponse();
|
|
3089
3428
|
m = Object.assign(m, proto);
|
|
@@ -3107,6 +3446,10 @@ class SendMessageResponse {
|
|
|
3107
3446
|
}
|
|
3108
3447
|
}
|
|
3109
3448
|
class SendWidgetMessageRequest {
|
|
3449
|
+
type;
|
|
3450
|
+
body;
|
|
3451
|
+
metadata;
|
|
3452
|
+
location;
|
|
3110
3453
|
static fromProto(proto) {
|
|
3111
3454
|
let m = new SendWidgetMessageRequest();
|
|
3112
3455
|
m = Object.assign(m, proto);
|
|
@@ -3145,6 +3488,7 @@ class SendWidgetMessageRequest {
|
|
|
3145
3488
|
}
|
|
3146
3489
|
}
|
|
3147
3490
|
class SendWidgetMessageResponse {
|
|
3491
|
+
messageId;
|
|
3148
3492
|
static fromProto(proto) {
|
|
3149
3493
|
let m = new SendWidgetMessageResponse();
|
|
3150
3494
|
m = Object.assign(m, proto);
|
|
@@ -3165,6 +3509,9 @@ class SendWidgetMessageResponse {
|
|
|
3165
3509
|
}
|
|
3166
3510
|
}
|
|
3167
3511
|
class SetLastSeenRequest {
|
|
3512
|
+
conversationId;
|
|
3513
|
+
participant;
|
|
3514
|
+
status;
|
|
3168
3515
|
static fromProto(proto) {
|
|
3169
3516
|
let m = new SetLastSeenRequest();
|
|
3170
3517
|
m = Object.assign(m, proto);
|
|
@@ -3197,6 +3544,7 @@ class SetLastSeenRequest {
|
|
|
3197
3544
|
}
|
|
3198
3545
|
}
|
|
3199
3546
|
class SetLastSeenResponse {
|
|
3547
|
+
participant;
|
|
3200
3548
|
static fromProto(proto) {
|
|
3201
3549
|
let m = new SetLastSeenResponse();
|
|
3202
3550
|
m = Object.assign(m, proto);
|
|
@@ -3220,6 +3568,8 @@ class SetLastSeenResponse {
|
|
|
3220
3568
|
}
|
|
3221
3569
|
}
|
|
3222
3570
|
class UpdateConversationRequest {
|
|
3571
|
+
conversation;
|
|
3572
|
+
fieldMask;
|
|
3223
3573
|
static fromProto(proto) {
|
|
3224
3574
|
let m = new UpdateConversationRequest();
|
|
3225
3575
|
m = Object.assign(m, proto);
|
|
@@ -3249,6 +3599,7 @@ class UpdateConversationRequest {
|
|
|
3249
3599
|
}
|
|
3250
3600
|
}
|
|
3251
3601
|
class UpdateConversationResponse {
|
|
3602
|
+
conversation;
|
|
3252
3603
|
static fromProto(proto) {
|
|
3253
3604
|
let m = new UpdateConversationResponse();
|
|
3254
3605
|
m = Object.assign(m, proto);
|
|
@@ -3272,6 +3623,9 @@ class UpdateConversationResponse {
|
|
|
3272
3623
|
}
|
|
3273
3624
|
}
|
|
3274
3625
|
class UpdateMessageStatusRequest {
|
|
3626
|
+
messageId;
|
|
3627
|
+
participantId;
|
|
3628
|
+
status;
|
|
3275
3629
|
static fromProto(proto) {
|
|
3276
3630
|
let m = new UpdateMessageStatusRequest();
|
|
3277
3631
|
m = Object.assign(m, proto);
|
|
@@ -3301,6 +3655,8 @@ class UpdateMessageStatusRequest {
|
|
|
3301
3655
|
}
|
|
3302
3656
|
}
|
|
3303
3657
|
class UpdateMessageTemplateRequest {
|
|
3658
|
+
template;
|
|
3659
|
+
fieldMask;
|
|
3304
3660
|
static fromProto(proto) {
|
|
3305
3661
|
let m = new UpdateMessageTemplateRequest();
|
|
3306
3662
|
m = Object.assign(m, proto);
|
|
@@ -3330,6 +3686,7 @@ class UpdateMessageTemplateRequest {
|
|
|
3330
3686
|
}
|
|
3331
3687
|
}
|
|
3332
3688
|
class UpdateMessageTemplateResponse {
|
|
3689
|
+
template;
|
|
3333
3690
|
static fromProto(proto) {
|
|
3334
3691
|
let m = new UpdateMessageTemplateResponse();
|
|
3335
3692
|
m = Object.assign(m, proto);
|
|
@@ -3353,6 +3710,16 @@ class UpdateMessageTemplateResponse {
|
|
|
3353
3710
|
}
|
|
3354
3711
|
}
|
|
3355
3712
|
class UpdateWidgetRequest {
|
|
3713
|
+
widgetId;
|
|
3714
|
+
name;
|
|
3715
|
+
color;
|
|
3716
|
+
allowedUrls;
|
|
3717
|
+
welcomeMessage;
|
|
3718
|
+
isEnabled;
|
|
3719
|
+
fieldMask;
|
|
3720
|
+
textColor;
|
|
3721
|
+
accentColor;
|
|
3722
|
+
accentTextColor;
|
|
3356
3723
|
static fromProto(proto) {
|
|
3357
3724
|
let m = new UpdateWidgetRequest();
|
|
3358
3725
|
m = Object.assign(m, proto);
|
|
@@ -3403,6 +3770,7 @@ class UpdateWidgetRequest {
|
|
|
3403
3770
|
}
|
|
3404
3771
|
}
|
|
3405
3772
|
class UpdateWidgetResponse {
|
|
3773
|
+
widget;
|
|
3406
3774
|
static fromProto(proto) {
|
|
3407
3775
|
let m = new UpdateWidgetResponse();
|
|
3408
3776
|
m = Object.assign(m, proto);
|
|
@@ -3426,6 +3794,8 @@ class UpdateWidgetResponse {
|
|
|
3426
3794
|
}
|
|
3427
3795
|
}
|
|
3428
3796
|
class UpsertConfigurationRequest {
|
|
3797
|
+
configuration;
|
|
3798
|
+
fieldMask;
|
|
3429
3799
|
static fromProto(proto) {
|
|
3430
3800
|
let m = new UpsertConfigurationRequest();
|
|
3431
3801
|
m = Object.assign(m, proto);
|
|
@@ -3455,6 +3825,7 @@ class UpsertConfigurationRequest {
|
|
|
3455
3825
|
}
|
|
3456
3826
|
}
|
|
3457
3827
|
class UpsertConfigurationResponse {
|
|
3828
|
+
configuration;
|
|
3458
3829
|
static fromProto(proto) {
|
|
3459
3830
|
let m = new UpsertConfigurationResponse();
|
|
3460
3831
|
m = Object.assign(m, proto);
|
|
@@ -3478,6 +3849,9 @@ class UpsertConfigurationResponse {
|
|
|
3478
3849
|
}
|
|
3479
3850
|
}
|
|
3480
3851
|
class UpsertProductFeatureRequest {
|
|
3852
|
+
productFeature;
|
|
3853
|
+
fieldMask;
|
|
3854
|
+
subjectParticipant;
|
|
3481
3855
|
static fromProto(proto) {
|
|
3482
3856
|
let m = new UpsertProductFeatureRequest();
|
|
3483
3857
|
m = Object.assign(m, proto);
|
|
@@ -3513,6 +3887,7 @@ class UpsertProductFeatureRequest {
|
|
|
3513
3887
|
}
|
|
3514
3888
|
}
|
|
3515
3889
|
class UpsertProductFeatureResponse {
|
|
3890
|
+
productFeature;
|
|
3516
3891
|
static fromProto(proto) {
|
|
3517
3892
|
let m = new UpsertProductFeatureResponse();
|
|
3518
3893
|
m = Object.assign(m, proto);
|
|
@@ -3558,10 +3933,10 @@ class HostService {
|
|
|
3558
3933
|
get hostWithScheme() {
|
|
3559
3934
|
return 'https://' + this.host;
|
|
3560
3935
|
}
|
|
3936
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3937
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: HostService, providedIn: 'root' });
|
|
3561
3938
|
}
|
|
3562
|
-
|
|
3563
|
-
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, providedIn: 'root' });
|
|
3564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, decorators: [{
|
|
3939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: HostService, decorators: [{
|
|
3565
3940
|
type: Injectable,
|
|
3566
3941
|
args: [{ providedIn: 'root' }]
|
|
3567
3942
|
}] });
|
|
@@ -3573,11 +3948,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3573
3948
|
// API Service.
|
|
3574
3949
|
// *********************************
|
|
3575
3950
|
class ConversationApiService {
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
this._host = this.hostService.hostWithScheme;
|
|
3580
|
-
}
|
|
3951
|
+
hostService = inject(HostService);
|
|
3952
|
+
http = inject(HttpClient);
|
|
3953
|
+
_host = this.hostService.hostWithScheme;
|
|
3581
3954
|
apiOptions() {
|
|
3582
3955
|
return {
|
|
3583
3956
|
headers: new HttpHeaders({
|
|
@@ -3780,13 +4153,18 @@ class ConversationApiService {
|
|
|
3780
4153
|
return this.http.post(this._host + "/conversation.v1.ConversationService/GetConversationSummary", request.toApiJson(), this.apiOptions())
|
|
3781
4154
|
.pipe(map(resp => GetConversationSummaryResponse.fromProto(resp)));
|
|
3782
4155
|
}
|
|
4156
|
+
getForwardingEmail(r) {
|
|
4157
|
+
const request = (r.toApiJson) ? r : new GetForwardingEmailRequest(r);
|
|
4158
|
+
return this.http.post(this._host + "/conversation.v1.ConversationService/GetForwardingEmail", request.toApiJson(), this.apiOptions())
|
|
4159
|
+
.pipe(map(resp => GetForwardingEmailResponse.fromProto(resp)));
|
|
4160
|
+
}
|
|
4161
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: ConversationApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4162
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: ConversationApiService, providedIn: 'root' });
|
|
3783
4163
|
}
|
|
3784
|
-
|
|
3785
|
-
ConversationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConversationApiService, providedIn: 'root' });
|
|
3786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConversationApiService, decorators: [{
|
|
4164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: ConversationApiService, decorators: [{
|
|
3787
4165
|
type: Injectable,
|
|
3788
4166
|
args: [{ providedIn: 'root' }]
|
|
3789
|
-
}]
|
|
4167
|
+
}] });
|
|
3790
4168
|
|
|
3791
4169
|
// *********************************
|
|
3792
4170
|
// Code generated by sdkgen
|
|
@@ -3795,11 +4173,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3795
4173
|
// API Service.
|
|
3796
4174
|
// *********************************
|
|
3797
4175
|
class InboxApiService {
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
this._host = this.hostService.hostWithScheme;
|
|
3802
|
-
}
|
|
4176
|
+
hostService = inject(HostService);
|
|
4177
|
+
http = inject(HttpClient);
|
|
4178
|
+
_host = this.hostService.hostWithScheme;
|
|
3803
4179
|
apiOptions() {
|
|
3804
4180
|
return {
|
|
3805
4181
|
headers: new HttpHeaders({
|
|
@@ -3828,13 +4204,13 @@ class InboxApiService {
|
|
|
3828
4204
|
return this.http.post(this._host + "/conversation.v1.InboxService/UpsertProductFeature", request.toApiJson(), this.apiOptions())
|
|
3829
4205
|
.pipe(map(resp => UpsertProductFeatureResponse.fromProto(resp)));
|
|
3830
4206
|
}
|
|
4207
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: InboxApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4208
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: InboxApiService, providedIn: 'root' });
|
|
3831
4209
|
}
|
|
3832
|
-
|
|
3833
|
-
InboxApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InboxApiService, providedIn: 'root' });
|
|
3834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InboxApiService, decorators: [{
|
|
4210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: InboxApiService, decorators: [{
|
|
3835
4211
|
type: Injectable,
|
|
3836
4212
|
args: [{ providedIn: 'root' }]
|
|
3837
|
-
}]
|
|
4213
|
+
}] });
|
|
3838
4214
|
|
|
3839
4215
|
// *********************************
|
|
3840
4216
|
// Code generated by sdkgen
|
|
@@ -3847,5 +4223,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3847
4223
|
* Generated bundle index. Do not edit.
|
|
3848
4224
|
*/
|
|
3849
4225
|
|
|
3850
|
-
export { Access, AddConversationToConversationViewRequest, AddMultiParticipantsRequest, AddMultiParticipantsResponse, Address, Configuration, Conversation, ConversationApiService, ConversationChannel, ConversationKey, ConversationMessageCount, CreateConversationRequest, CreateConversationResponse, CreateMessageTemplateRequest, CreateMessageTemplateResponse, CreateMultiMessagesRequest, CreateWidgetConversationRequest, CreateWidgetConversationResponse, CreateWidgetRequest, CreateWidgetResponse, DataSources, DeleteConversationRequest, DeleteMessageRequest, DeleteMessageTemplateRequest, DeleteWidgetRequest, EvaluateResponseRequest, EvaluationSentiment, FieldMask, GetAvailableChannelsForConversationRequest, GetAvailableChannelsForConversationResponse, GetConfigurationRequest, GetConfigurationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetConversationSummaryRequest, GetConversationSummaryResponse, GetConversationViewsRequest, GetConversationViewsResponse, GetMessageRequest, GetMessageTemplateRequest, GetMessageTemplateResponse, GetMultiConfigurationRequest, GetMultiConfigurationResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationDetailsResponseDetailedConversation, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiConversationMessageCountResponseCountsEntry, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetMultiWidgetMessagesRequest, GetMultiWidgetMessagesResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, GetWidgetConfigRequest, GetWidgetConfigResponse, GetWidgetConversationResponse, GetWidgetRequest, GetWidgetResponse, GlobalParticipantType, InboxApiService, LastSeenByParticipant, ListMessageTemplateRequest, ListMessageTemplateResponse, ListMessagesRequest, ListMessagesRequestListMessagesFilters, ListMessagesResponse, ListWidgetsRequest, ListWidgetsResponse, LookupConversationsRequest, LookupConversationsRequestLookupConversationsFilters, LookupConversationsResponse, LookupConversationsResponseConversations, Media, Message, MessageStatus, MessageTemplate, MessageType, Metadata, MetadataDataEntry, MetadataIdentifier, NamespaceDetail, PagedRequestOptions, PagedResponseMetadata, Participant, ParticipantKey, ParticipantMessageStatus, ParticipantType, PlatformLocation, ProductFeature, ReceiveMessageRequest, ReceiveMessageRequestMetadataEntry, RemoveConversationFromConversationViewRequest, SearchConversationsRequest, SearchConversationsResponse, SearchConversationsResponseDetailedConversation, SendMessageRequest, SendMessageResponse, SendStatus, SendWidgetMessageRequest, SendWidgetMessageResponse, SetLastSeenRequest, SetLastSeenRequestStatus, SetLastSeenResponse, SortDirection, SubjectParticipant, UpdateConversationRequest, UpdateConversationResponse, UpdateMessageStatusRequest, UpdateMessageTemplateRequest, UpdateMessageTemplateResponse, UpdateWidgetRequest, UpdateWidgetResponse, UpsertConfigurationRequest, UpsertConfigurationResponse, UpsertProductFeatureRequest, UpsertProductFeatureResponse, View, ViewType, Widget, WidgetPosition };
|
|
4226
|
+
export { Access, AddConversationToConversationViewRequest, AddMultiParticipantsRequest, AddMultiParticipantsResponse, Address, Configuration, Conversation, ConversationApiService, ConversationChannel, ConversationKey, ConversationMessageCount, CreateConversationRequest, CreateConversationResponse, CreateMessageTemplateRequest, CreateMessageTemplateResponse, CreateMultiMessagesRequest, CreateWidgetConversationRequest, CreateWidgetConversationResponse, CreateWidgetRequest, CreateWidgetResponse, DataSources, DeleteConversationRequest, DeleteMessageRequest, DeleteMessageTemplateRequest, DeleteWidgetRequest, EvaluateResponseRequest, EvaluationSentiment, FieldMask, GetAvailableChannelsForConversationRequest, GetAvailableChannelsForConversationResponse, GetConfigurationRequest, GetConfigurationResponse, GetConversationByKeyRequest, GetConversationByKeyResponse, GetConversationSummaryRequest, GetConversationSummaryResponse, GetConversationViewsRequest, GetConversationViewsResponse, GetForwardingEmailRequest, GetForwardingEmailResponse, GetMessageRequest, GetMessageTemplateRequest, GetMessageTemplateResponse, GetMultiConfigurationRequest, GetMultiConfigurationResponse, GetMultiConversationDetailsRequest, GetMultiConversationDetailsResponse, GetMultiConversationDetailsResponseDetailedConversation, GetMultiConversationMessageCountRequest, GetMultiConversationMessageCountResponse, GetMultiConversationMessageCountResponseCountsEntry, GetMultiMessagesRequest, GetMultiMessagesResponse, GetMultiParticipantsRequest, GetMultiParticipantsResponse, GetMultiWidgetMessagesRequest, GetMultiWidgetMessagesResponse, GetParticipantsByKeyRequest, GetParticipantsByKeyResponse, GetWidgetConfigRequest, GetWidgetConfigResponse, GetWidgetConversationResponse, GetWidgetRequest, GetWidgetResponse, GlobalParticipantType, InboxApiService, LastSeenByParticipant, ListMessageTemplateRequest, ListMessageTemplateResponse, ListMessagesRequest, ListMessagesRequestListMessagesFilters, ListMessagesResponse, ListWidgetsRequest, ListWidgetsResponse, LookupConversationsRequest, LookupConversationsRequestLookupConversationsFilters, LookupConversationsResponse, LookupConversationsResponseConversations, Media, Message, MessageStatus, MessageTemplate, MessageType, Metadata, MetadataDataEntry, MetadataIdentifier, NamespaceDetail, PagedRequestOptions, PagedResponseMetadata, Participant, ParticipantKey, ParticipantMessageStatus, ParticipantType, PlatformLocation, ProductFeature, ReceiveMessageRequest, ReceiveMessageRequestMetadataEntry, RemoveConversationFromConversationViewRequest, SearchConversationsRequest, SearchConversationsResponse, SearchConversationsResponseDetailedConversation, SendMessageRequest, SendMessageResponse, SendStatus, SendWidgetMessageRequest, SendWidgetMessageResponse, SetLastSeenRequest, SetLastSeenRequestStatus, SetLastSeenResponse, SortDirection, SubjectParticipant, UpdateConversationRequest, UpdateConversationResponse, UpdateMessageStatusRequest, UpdateMessageTemplateRequest, UpdateMessageTemplateResponse, UpdateWidgetRequest, UpdateWidgetResponse, UpsertConfigurationRequest, UpsertConfigurationResponse, UpsertProductFeatureRequest, UpsertProductFeatureResponse, View, ViewType, Widget, WidgetPosition };
|
|
3851
4227
|
//# sourceMappingURL=vendasta-conversation.mjs.map
|