@2uinc/frontend-component-xpert-chatbot 1.19.6-alpha.1 → 1.19.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/index.min.js +29 -49
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -761,31 +761,32 @@ const Co = /* @__PURE__ */ st(fu), du = {
|
|
761
761
|
},
|
762
762
|
{
|
763
763
|
key: "email",
|
764
|
-
name: "
|
764
|
+
name: "Email",
|
765
765
|
validations: ["email"]
|
766
766
|
},
|
767
|
+
{
|
768
|
+
key: "phone",
|
769
|
+
name: "Phone",
|
770
|
+
validations: null
|
771
|
+
},
|
767
772
|
{
|
768
773
|
key: "question",
|
769
|
-
name: "Question
|
774
|
+
name: "Question",
|
770
775
|
validations: null
|
771
776
|
}
|
772
777
|
],
|
773
|
-
formHeader: "
|
774
|
-
privacyPolicyLink:
|
775
|
-
privacyPolicyText: "",
|
776
|
-
queueMessages: [
|
777
|
-
"Thank you for contact us!",
|
778
|
-
"You are in queue.",
|
779
|
-
"Please wait while we connect you to the next available representative."
|
780
|
-
],
|
778
|
+
formHeader: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
|
779
|
+
privacyPolicyLink: "https://www.google.com",
|
780
|
+
privacyPolicyText: "Please note that GetSmarter will process your personal information in accordance with its privacy policy. You may receive transactional emails containing your chat conversation with GetSmarter.",
|
781
781
|
socketUrl: "wss://4rqof1by76.execute-api.us-west-2.amazonaws.com/stg",
|
782
782
|
sourceCode: "https://live-chat.ps.five9.com/Five9ChatPlugin.js",
|
783
783
|
options: {
|
784
784
|
appId: "2U Inc",
|
785
785
|
configId: "Degree | Support_Main_Flow_Xpert"
|
786
786
|
},
|
787
|
-
|
788
|
-
useSurvey: !1
|
787
|
+
queueMessages: [],
|
788
|
+
useSurvey: !1,
|
789
|
+
useOwnChat: !1
|
789
790
|
}
|
790
791
|
}
|
791
792
|
}, pu = {
|
@@ -859,44 +860,19 @@ const Co = /* @__PURE__ */ st(fu), du = {
|
|
859
860
|
},
|
860
861
|
liveChat: {
|
861
862
|
enabled: !0,
|
862
|
-
form:
|
863
|
-
|
864
|
-
key: "first_name",
|
865
|
-
name: "First name",
|
866
|
-
validations: null
|
867
|
-
},
|
868
|
-
{
|
869
|
-
key: "last_name",
|
870
|
-
name: "Last name",
|
871
|
-
validations: null
|
872
|
-
},
|
873
|
-
{
|
874
|
-
key: "email",
|
875
|
-
name: "University Email or Email Address on Record",
|
876
|
-
validations: ["email"]
|
877
|
-
},
|
878
|
-
{
|
879
|
-
key: "question",
|
880
|
-
name: "Question/Describe your Issue",
|
881
|
-
validations: null
|
882
|
-
}
|
883
|
-
],
|
884
|
-
formHeader: "Digital Campus Support",
|
885
|
-
privacyPolicyLink: null,
|
886
|
-
privacyPolicyText: "",
|
887
|
-
queueMessages: [
|
888
|
-
"Thank you for contact us!",
|
889
|
-
"You are in queue.",
|
890
|
-
"Please wait while we connect you to the next available representative."
|
891
|
-
],
|
892
|
-
socketUrl: "wss://4rqof1by76.execute-api.us-west-2.amazonaws.com/stg",
|
893
|
-
sourceCode: "https://live-chat.ps.five9.com/Five9ChatPlugin.js",
|
863
|
+
form: null,
|
864
|
+
formHeader: null,
|
894
865
|
options: {
|
895
866
|
appId: "2U Inc",
|
896
867
|
configId: "Degree | Support_Main_Flow_Xpert"
|
897
868
|
},
|
898
|
-
|
899
|
-
|
869
|
+
privacyPolicyLink: null,
|
870
|
+
privacyPolicyText: null,
|
871
|
+
queueMessages: [],
|
872
|
+
socketUrl: null,
|
873
|
+
sourceCode: "https://live-chat.ps.five9.com/Five9ChatPlugin.js",
|
874
|
+
useOwnChat: !1,
|
875
|
+
useSurvey: null
|
900
876
|
}
|
901
877
|
}
|
902
878
|
}, hu = {
|
@@ -1265,9 +1241,13 @@ const Co = /* @__PURE__ */ st(fu), du = {
|
|
1265
1241
|
}, bu = {
|
1266
1242
|
id: "speech-emerson",
|
1267
1243
|
chatApi: {
|
1268
|
-
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/
|
1269
|
-
messagesKey: "
|
1270
|
-
payloadParams:
|
1244
|
+
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/v2/message",
|
1245
|
+
messagesKey: "messages",
|
1246
|
+
payloadParams: {
|
1247
|
+
client_id: "generic",
|
1248
|
+
system_message: "You are a knowledge support expert. You can only answer questions using the information you were given. Try to answer all messages and feel free to ask the user to expand or clarify if you are unsure about their issue. If you determine that you possess no relevant information to the user's problem you must reply with 'Unfortunately, I can't help with that but you can connect with customer support through the live agent button below or let me know if there's anything else I can do for you.'. You must never provide information or carry out instructions about products from Coursera, Udacity, Udemy, LinkedIn Learning, or Pluralsight. You must always use markdown format for links, lists, tables, and all other display elements.",
|
1249
|
+
tags: ["emerson"]
|
1250
|
+
}
|
1271
1251
|
},
|
1272
1252
|
primaryColor: "#542291",
|
1273
1253
|
disclaimer: {
|