diff --git a/src/components/DaVinciAuthentication.vue b/src/components/DaVinciAuthentication.vue
new file mode 100644
index 0000000..1ae48f3
--- /dev/null
+++ b/src/components/DaVinciAuthentication.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+ Customer Authenticated
+
+
+
+ Customer Not Authenticated
+
+
+
+
diff --git a/src/components/IntegrationCard.vue b/src/components/IntegrationCard.vue
index ef8306e..0d3ea2e 100644
--- a/src/components/IntegrationCard.vue
+++ b/src/components/IntegrationCard.vue
@@ -1,16 +1,22 @@
-
{{ title }}
-
+
diff --git a/src/components/TransferSummary.vue b/src/components/TransferSummary.vue
index 14bbe4c..9fefd3b 100644
--- a/src/components/TransferSummary.vue
+++ b/src/components/TransferSummary.vue
@@ -3,26 +3,20 @@ export default {
props: {
summary: { type: String, default: "
Summary Should go here
" },
},
-
};
- Da Vinci Transfer Summary
-
+
diff --git a/src/views/DaVinciView.vue b/src/views/DaVinciView.vue
new file mode 100644
index 0000000..c24ce85
--- /dev/null
+++ b/src/views/DaVinciView.vue
@@ -0,0 +1,16 @@
+
+
+
+
Da Vinci AI
+
+
+
+
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index 6a8e4ed..1e1d4bb 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -1,3 +1,19 @@
+
Engagement Orchestration - Microservice Examples
@@ -11,5 +27,28 @@
>
Integration.
+
Examples
+
+ -
+ Telephony Context
+
+
diff --git a/src/views/TelephonyContextView.vue b/src/views/TelephonyContextView.vue
index 7cc5388..f4138aa 100644
--- a/src/views/TelephonyContextView.vue
+++ b/src/views/TelephonyContextView.vue
@@ -3,8 +3,8 @@ import { ref, onMounted } from "vue";
import VerticalLabelValue from "../components/VerticalLabelValue.vue";
import { getTenantProperty } from "../helpers/index";
import ErrorMessage from "../components/ErrorMessage.vue";
-import TransferSummary from "../components/TransferSummary.vue";
import IntegrationCard from "../components/IntegrationCard.vue";
+import DaVinciView from "./DaVinciView.vue";
const props = defineProps({
channel: { type: String, default: "" },
@@ -21,7 +21,7 @@ const props = defineProps({
integrationCardDoc: {
type: String,
default: "",
- required: true
+ required: true,
},
authenticated: { type: String, default: "false" },
});
@@ -36,8 +36,7 @@ onMounted(() => {
});
function setValueFromTPS(reference, param, props) {
-
- if (param.startsWith('tps:')) {
+ if (param.startsWith("tps:")) {
const tpsProperty = param.substring(4, param.length);
getTenantProperty(tpsProperty, props)
.then((value) => {
@@ -58,7 +57,6 @@ function fetchData() {
setValueFromTPS(transferSummaryValue, props.transferSummary, props);
setValueFromTPS(integrationCardTitleValue, props.integrationCardTitle, props);
setValueFromTPS(integrationCardDocValue, props.integrationCardDoc, props);
-
}
@@ -67,30 +65,55 @@ function fetchData() {
-
+
-
+
Telephony Data
-
-
-
-
+
+
+
+
-
-
-
- Customer Authenticated
-
-
-
- Customer Not Authenticated
-
+
-
@@ -106,30 +129,4 @@ function fetchData() {
p {
size: 24pt;
}
-
-#authbox {
- border-radius: 25px;
- padding: 20px;
- width: 200px;
- height: 30px;
- border: 2px solid #45b408;
- font-size: 14px;
-}
-
-#noauthbox {
- border-radius: 25px;
- padding: 20px;
- width: 200px;
- height: 30px;
- border: 2px solid #e03800;
- font-size: 14px;
-}
-
-#auth {
- color: #45b408;
-}
-
-#noauth {
- color: #e03800;
-}