From 0bc0c7207f627c7ce6dc495c005996f92d951ba4 Mon Sep 17 00:00:00 2001 From: multivoltage Date: Mon, 22 Jan 2024 18:10:22 +0000 Subject: [PATCH] deploy: ab87abd071369ff16fa77c0abd060b3d6a3cb8f9 --- 404.html | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 index.html | 2 +- index.txt | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename _next/static/{YgkPS9uZXcg_D0GjMYPSF => cBuTJgBmGqSs3O_Wl0Vyb}/_buildManifest.js (100%) rename _next/static/{YgkPS9uZXcg_D0GjMYPSF => cBuTJgBmGqSs3O_Wl0Vyb}/_ssgManifest.js (100%) diff --git a/404.html b/404.html index c67bdec..cca0fb5 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found.react-use-zendesk

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.react-use-zendesk

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/YgkPS9uZXcg_D0GjMYPSF/_buildManifest.js b/_next/static/cBuTJgBmGqSs3O_Wl0Vyb/_buildManifest.js similarity index 100% rename from _next/static/YgkPS9uZXcg_D0GjMYPSF/_buildManifest.js rename to _next/static/cBuTJgBmGqSs3O_Wl0Vyb/_buildManifest.js diff --git a/_next/static/YgkPS9uZXcg_D0GjMYPSF/_ssgManifest.js b/_next/static/cBuTJgBmGqSs3O_Wl0Vyb/_ssgManifest.js similarity index 100% rename from _next/static/YgkPS9uZXcg_D0GjMYPSF/_ssgManifest.js rename to _next/static/cBuTJgBmGqSs3O_Wl0Vyb/_ssgManifest.js diff --git a/index.html b/index.html index 30b1471..f32b652 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -react-use-zendesk
Show
Displays the widget. The widget is displayed by default on page load. You don't need to call show to display the widget unless you use hide.
Hide
Hides all parts of the widget from the page. You can invoke it before or after page load.
Open
Opens the messaging Web Widget. Chat become visible
Close
Closes the messaging Web Widget.
Set locale
Sets the locale of the messaging Web Widget. For a list of supported locales and associated codes, use the following Zendesk public REST API endpoint
Set zIndex
Sets the CSS property z-index on all the iframes for the messaging Web Widget.
Set cookies
The messaging Web Widget uses a mixture of cookies as well as local and session storage in order to function.
Set conversation fields
Allows values for conversation fields to be set in the client to add contextual data about the conversation. To learn more about Messaging Metadata, see Introduction to Messaging Metadata.

example fields: [{id: "123456789", value: 100.5}]
Set conversation tags
Allows custom conversation tags to be set in the client to add contextual data about the conversation. To learn more about Messaging Metadata, see Introduction to Messaging Metadata.

example tags: ["sales", "computer_accessories"]
Login
If your application has a login flow, or if a user needs to access the same conversation from multiple devices, you can use the loginUser API.

This command cannot wotk in this demo since token is xyz
Logout
Your app may have a logout function that brings users back to a login screen. In this case, revert the messaging Web Widget to a pre-login state by calling the logoutUser API.

insert API KEY

Flags:

isOpen: false

unreadMessages: undefined

\ No newline at end of file +react-use-zendesk
Show
Displays the widget. The widget is displayed by default on page load. You don't need to call show to display the widget unless you use hide.
Hide
Hides all parts of the widget from the page. You can invoke it before or after page load.
Open
Opens the messaging Web Widget. Chat become visible
Close
Closes the messaging Web Widget.
Set locale
Sets the locale of the messaging Web Widget. For a list of supported locales and associated codes, use the following Zendesk public REST API endpoint
Set zIndex
Sets the CSS property z-index on all the iframes for the messaging Web Widget.
Set cookies
The messaging Web Widget uses a mixture of cookies as well as local and session storage in order to function.
Set conversation fields
Allows values for conversation fields to be set in the client to add contextual data about the conversation. To learn more about Messaging Metadata, see Introduction to Messaging Metadata.

example fields: [{id: "123456789", value: 100.5}]
Set conversation tags
Allows custom conversation tags to be set in the client to add contextual data about the conversation. To learn more about Messaging Metadata, see Introduction to Messaging Metadata.

example tags: ["sales", "computer_accessories"]
Login
If your application has a login flow, or if a user needs to access the same conversation from multiple devices, you can use the loginUser API.

This command cannot wotk in this demo since token is xyz
Logout
Your app may have a logout function that brings users back to a login screen. In this case, revert the messaging Web Widget to a pre-login state by calling the logoutUser API.

insert API KEY

Flags:

isOpen: false

unreadMessages: undefined

\ No newline at end of file diff --git a/index.txt b/index.txt index c52b3a1..161f8bd 100644 --- a/index.txt +++ b/index.txt @@ -2,6 +2,6 @@ 3:I[3492,["931","static/chunks/app/page-4a974c8493042ce7.js"],""] 4:I[2172,[],""] 5:I[2533,[],""] -0:["YgkPS9uZXcg_D0GjMYPSF",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_4a6a44","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/react-use-zendesk/_next/static/css/693de89472fefa43.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] +0:["cBuTJgBmGqSs3O_Wl0Vyb",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_4a6a44","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/react-use-zendesk/_next/static/css/693de89472fefa43.css","precedence":"next","crossOrigin":""}]],"$L6"]]]] 6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"react-use-zendesk"}],["$","link","3",{"rel":"icon","href":"/react-use-zendesk/favicon.ico","type":"image/x-icon","sizes":"192x192"}],["$","meta","4",{"name":"next-size-adjust"}]] 1:null