From 1c68c3c11575f34962444ac597f68913c288d362 Mon Sep 17 00:00:00 2001 From: multivoltage Date: Thu, 1 Feb 2024 08:17:07 +0000 Subject: [PATCH] deploy: bd6ce690e5d40ecd8e3c12cdd977c6431ab8c680 --- 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/{8_RzlP_VWzQupo_FB5O3n => qfSEtXSqM9CgAheIk3Bva}/_buildManifest.js (100%) rename _next/static/{8_RzlP_VWzQupo_FB5O3n => qfSEtXSqM9CgAheIk3Bva}/_ssgManifest.js (100%) diff --git a/404.html b/404.html index e4b6969..d9dcd79 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/8_RzlP_VWzQupo_FB5O3n/_buildManifest.js b/_next/static/qfSEtXSqM9CgAheIk3Bva/_buildManifest.js similarity index 100% rename from _next/static/8_RzlP_VWzQupo_FB5O3n/_buildManifest.js rename to _next/static/qfSEtXSqM9CgAheIk3Bva/_buildManifest.js diff --git a/_next/static/8_RzlP_VWzQupo_FB5O3n/_ssgManifest.js b/_next/static/qfSEtXSqM9CgAheIk3Bva/_ssgManifest.js similarity index 100% rename from _next/static/8_RzlP_VWzQupo_FB5O3n/_ssgManifest.js rename to _next/static/qfSEtXSqM9CgAheIk3Bva/_ssgManifest.js diff --git a/index.html b/index.html index c1eb881..42ad167 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 136fab0..8de1094 100644 --- a/index.txt +++ b/index.txt @@ -2,6 +2,6 @@ 3:I[3492,["931","static/chunks/app/page-b78562bd7ebaf5dd.js"],""] 4:I[2172,[],""] 5:I[2533,[],""] -0:["8_RzlP_VWzQupo_FB5O3n",[[["",{"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:["qfSEtXSqM9CgAheIk3Bva",[[["",{"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