This page gives you the basic steps for getting up and running with the Support SDK.
npm install @codext/capacitor-zendesk
npx cap sync
initialize(...)
setAnonymousIdentity(...)
setIdentity(...)
showHelpCenter(...)
showTicketRequest(...)
showUserTickets()
- Interfaces
initialize(options: InitializeOptions) => Promise<void>
Param | Type |
---|---|
options |
InitializeOptions |
setAnonymousIdentity(options: AnonymousOptions) => Promise<void>
Param | Type |
---|---|
options |
AnonymousOptions |
setIdentity(option: IdentityOption) => Promise<void>
Param | Type |
---|---|
option |
IdentityOption |
showHelpCenter(options?: HelpCenterOptions | undefined) => Promise<void>
Param | Type |
---|---|
options |
HelpCenterOptions |
showTicketRequest(options?: TicketRequestOptions | undefined) => Promise<void>
Param | Type |
---|---|
options |
TicketRequestOptions |
showUserTickets() => Promise<void>
Prop | Type |
---|---|
zendeskUrl |
string |
appId |
string |
clientId |
string |
debugLog |
boolean |
Prop | Type |
---|---|
name |
string |
email |
string |
Prop | Type |
---|---|
token |
string |
Prop | Type |
---|---|
groupBy |
string |
groupIds |
number[] |
labels |
string[] |
Prop | Type |
---|---|
subject |
string |
tags |
string[] |
fields |
string[] |