node-zendesk • Docs
node-zendesk / index / ZendeskClient
Class: ZendeskClient
Represents the main client to interface with the Zendesk API. This class acts as a high-level interface, making it easier to interact with specific Zendesk APIs. ZendeskClient
Example
const zendeskOptions = {
username: 'exampleUser',
token: 'exampleToken',
subdomain: 'mycompany'
};
const zendeskClient = createClient(zendeskOptions);
const data = await zendeskClient.someResource.someMethod();
Constructors
new ZendeskClient()
new ZendeskClient(
options
?):ZendeskClient
Parameters
• options?: ZendeskClientOptions
Configuration options for the client.
Returns
Defined in
index.d.ts:110
Properties
config
config:
ZendeskClientOptions
Configuration options for the client.
Defined in
index.d.ts:111
helpcenter
helpcenter:
ZendeskClientHelpcenter
Defined in
index.d.ts:113
logger
logger:
any
Logger for logging.
Defined in
index.d.ts:112
services
services:
ZendeskClientServices
Defined in
index.d.ts:114
voice
voice:
ZendeskClientVoice
Defined in
index.d.ts:115
Accessors
accountsettings
Get Signature
get accountsettings():
AccountSettings
Returns
Defined in
index.d.ts:123
activitystream
Get Signature
get activitystream():
ActivityStream
Returns
Defined in
index.d.ts:124
agentactivity
Get Signature
get agentactivity():
AgentActivity
Returns
Defined in
index.d.ts:183
attachments
Get Signature
get attachments():
Attachments
Returns
Defined in
index.d.ts:125
automations
Get Signature
get automations():
Automations
Returns
Defined in
index.d.ts:126
availabilities
Get Signature
get availabilities():
Availabilities
Returns
Defined in
index.d.ts:184
brand
Get Signature
get brand():
Brand
Returns
Defined in
index.d.ts:127
customagentroles
Get Signature
get customagentroles():
CustomAgentRoles
Returns
Defined in
index.d.ts:128
dynamiccontent
Get Signature
get dynamiccontent():
DynamicContent
Returns
Defined in
index.d.ts:129
dynamiccontentvariants
Get Signature
get dynamiccontentvariants():
DynamicContentVariants
Returns
Defined in
index.d.ts:130
groupmemberships
Get Signature
get groupmemberships():
GroupMemberships
Returns
Defined in
index.d.ts:131
groups
Get Signature
get groups():
Groups
Returns
The Group client.
Defined in
index.d.ts:135
imports
Get Signature
get imports():
Imports
Returns
Defined in
index.d.ts:136
installations
Get Signature
get installations():
Installations
Returns
Defined in
index.d.ts:137
jobstatuses
Get Signature
get jobstatuses():
JobStatuses
Returns
Defined in
index.d.ts:138
locales
Get Signature
get locales():
Locales
Returns
Defined in
index.d.ts:139
macros
Get Signature
get macros():
Macros
Returns
Defined in
index.d.ts:140
oauthclients
Get Signature
get oauthclients():
OAuthClients
Returns
Defined in
index.d.ts:141
oauthtokens
Get Signature
get oauthtokens():
OAuthTokens
Returns
Defined in
index.d.ts:142
organizationfields
Get Signature
get organizationfields():
OrganizationFields
Returns
Defined in
index.d.ts:143
organizationmemberships
Get Signature
get organizationmemberships():
OrganizationMemberships
Returns
Defined in
index.d.ts:144
organizations
Get Signature
get organizations():
Organizations
Returns
Defined in
index.d.ts:145
permissiongroups
Get Signature
get permissiongroups():
PermissionGroups
Returns
Defined in
index.d.ts:146
policies
Get Signature
get policies():
Policies
Returns
Defined in
index.d.ts:147
requests
Get Signature
get requests():
Requests
Returns
Defined in
index.d.ts:148
satisfactionratings
Get Signature
get satisfactionratings():
SatisfactionRatings
Returns
Defined in
index.d.ts:149
search
Get Signature
get search():
Search
Returns
Defined in
index.d.ts:150
sessions
Get Signature
get sessions():
Sessions
Returns
Defined in
index.d.ts:151
sharingagreement
Get Signature
get sharingagreement():
SharingAgreement
Returns
Defined in
index.d.ts:152
sideconversations
Get Signature
get sideconversations():
SideConversations
Returns
The SideConversations client.
Defined in
index.d.ts:156
suspendedtickets
Get Signature
get suspendedtickets():
SuspendedTickets
Returns
Defined in
index.d.ts:157
tags
Get Signature
get tags():
Tags
Returns
Defined in
index.d.ts:158
targets
Get Signature
get targets():
Targets
Returns
Defined in
index.d.ts:159
ticketaudits
Get Signature
get ticketaudits():
TicketAudits
Returns
Defined in
index.d.ts:160
ticketevents
Get Signature
get ticketevents():
TicketEvents
Returns
Defined in
index.d.ts:161
ticketexport
Get Signature
get ticketexport():
TicketExport
Returns
Defined in
index.d.ts:162
ticketfields
Get Signature
get ticketfields():
TicketFields
Returns
Defined in
index.d.ts:163
ticketforms
Get Signature
get ticketforms():
TicketForms
Returns
Defined in
index.d.ts:164
ticketimport
Get Signature
get ticketimport():
TicketImport
Returns
Defined in
index.d.ts:165
ticketmetrics
Get Signature
get ticketmetrics():
TicketMetrics
Returns
The TicketMetrics client
Defined in
index.d.ts:169
tickets
Get Signature
get tickets():
Tickets
Returns
The Tickets client.
Defined in
index.d.ts:173
triggers
Get Signature
get triggers():
Triggers
Returns
Defined in
index.d.ts:174
userfields
Get Signature
get userfields():
UserFields
Returns
Defined in
index.d.ts:175
useridentities
Get Signature
get useridentities():
UserIdentities
Returns
Defined in
index.d.ts:176
users
Get Signature
get users():
Users
Returns
The Users Instance
Defined in
index.d.ts:180
views
Get Signature
get views():
Views
Returns
Defined in
index.d.ts:181
webhooks
Get Signature
get webhooks():
Webhooks
Returns
Defined in
index.d.ts:182