Skip to content

node-zendesk / Exports / index / ZendeskClient

Class: ZendeskClient

index.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.

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new ZendeskClient(options?): ZendeskClient

Parameters

NameTypeDescription
options?ZendeskClientOptionsConfiguration options for the client.

Returns

ZendeskClient

Constructs

ZendeskClient

Example

ts
const zendeskOptions = {
    username: 'exampleUser',
    token: 'exampleToken',
    subdomain: 'mycompany'
};
const zendeskClient = createClient(zendeskOptions);
const data = await zendeskClient.someResource.someMethod();

Defined in

index.d.ts:111

Properties

_debug

Private _debug: any

Param

Arguments for debugging.

Defined in

index.d.ts:194


_instantiate

Private _instantiate: any

Template

Param

The service class to instantiate.

Defined in

index.d.ts:123


config

config: ZendeskClientOptions

Configuration options for the client.

Defined in

index.d.ts:112


helpcenter

helpcenter: ZendeskClientHelpcenter

Defined in

index.d.ts:114


instances

Private instances: any

Defined in

index.d.ts:127


logger

logger: any

Logger for logging.

Defined in

index.d.ts:113


services

services: ZendeskClientServices

Defined in

index.d.ts:115


voice

voice: ZendeskClientVoice

Defined in

index.d.ts:116

Accessors

accountsettings

get accountsettings(): AccountSettings

Returns

AccountSettings

Defined in

index.d.ts:128


activitystream

get activitystream(): ActivityStream

Returns

ActivityStream

Defined in

index.d.ts:129


agentactivity

get agentactivity(): AgentActivity

Returns

AgentActivity

Defined in

index.d.ts:188


attachments

get attachments(): Attachments

Returns

Attachments

Defined in

index.d.ts:130


automations

get automations(): Automations

Returns

Automations

Defined in

index.d.ts:131


availabilities

get availabilities(): Availabilities

Returns

Availabilities

Defined in

index.d.ts:189


brand

get brand(): Brand

Returns

Brand

Defined in

index.d.ts:132


customagentroles

get customagentroles(): CustomAgentRoles

Returns

CustomAgentRoles

Defined in

index.d.ts:133


dynamiccontent

get dynamiccontent(): DynamicContent

Returns

DynamicContent

Defined in

index.d.ts:134


dynamiccontentvariants

get dynamiccontentvariants(): DynamicContentVariants

Returns

DynamicContentVariants

Defined in

index.d.ts:135


groupmemberships

get groupmemberships(): GroupMemberships

Returns

GroupMemberships

Defined in

index.d.ts:136


groups

get groups(): Groups

Returns

Groups

The Group client.

Defined in

index.d.ts:140


imports

get imports(): Imports

Returns

Imports

Defined in

index.d.ts:141


installations

get installations(): Installations

Returns

Installations

Defined in

index.d.ts:142


jobstatuses

get jobstatuses(): JobStatuses

Returns

JobStatuses

Defined in

index.d.ts:143


locales

get locales(): Locales

Returns

Locales

Defined in

index.d.ts:144


macros

get macros(): Macros

Returns

Macros

Defined in

index.d.ts:145


oauthclients

get oauthclients(): OAuthClients

Returns

OAuthClients

Defined in

index.d.ts:146


oauthtokens

get oauthtokens(): OAuthTokens

Returns

OAuthTokens

Defined in

index.d.ts:147


organizationfields

get organizationfields(): OrganizationFields

Returns

OrganizationFields

Defined in

index.d.ts:148


organizationmemberships

get organizationmemberships(): OrganizationMemberships

Returns

OrganizationMemberships

Defined in

index.d.ts:149


organizations

get organizations(): Organizations

Returns

Organizations

Defined in

index.d.ts:150


permissiongroups

get permissiongroups(): PermissionGroups

Returns

PermissionGroups

Defined in

index.d.ts:151


policies

get policies(): Policies

Returns

Policies

Defined in

index.d.ts:152


requests

get requests(): Requests

Returns

Requests

Defined in

index.d.ts:153


satisfactionratings

get satisfactionratings(): SatisfactionRatings

Returns

SatisfactionRatings

Defined in

index.d.ts:154


get search(): Search

Returns

Search

Defined in

index.d.ts:155


sessions

get sessions(): Sessions

Returns

Sessions

Defined in

index.d.ts:156


sharingagreement

get sharingagreement(): SharingAgreement

Returns

SharingAgreement

Defined in

index.d.ts:157


sideconversations

get sideconversations(): SideConversations

Returns

SideConversations

The SideConversations client.

Defined in

index.d.ts:161


suspendedtickets

get suspendedtickets(): SuspendedTickets

Returns

SuspendedTickets

Defined in

index.d.ts:162


tags

get tags(): Tags

Returns

Tags

Defined in

index.d.ts:163


targets

get targets(): Targets

Returns

Targets

Defined in

index.d.ts:164


ticketaudits

get ticketaudits(): TicketAudits

Returns

TicketAudits

Defined in

index.d.ts:165


ticketevents

get ticketevents(): TicketEvents

Returns

TicketEvents

Defined in

index.d.ts:166


ticketexport

get ticketexport(): TicketExport

Returns

TicketExport

Defined in

index.d.ts:167


ticketfields

get ticketfields(): TicketFields

Returns

TicketFields

Defined in

index.d.ts:168


ticketforms

get ticketforms(): TicketForms

Returns

TicketForms

Defined in

index.d.ts:169


ticketimport

get ticketimport(): TicketImport

Returns

TicketImport

Defined in

index.d.ts:170


ticketmetrics

get ticketmetrics(): TicketMetrics

Returns

TicketMetrics

The TicketMetrics client

Defined in

index.d.ts:174


tickets

get tickets(): Tickets

Returns

Tickets

The Tickets client.

Defined in

index.d.ts:178


triggers

get triggers(): Triggers

Returns

Triggers

Defined in

index.d.ts:179


userfields

get userfields(): UserFields

Returns

UserFields

Defined in

index.d.ts:180


useridentities

get useridentities(): UserIdentities

Returns

UserIdentities

Defined in

index.d.ts:181


users

get users(): Users

Returns

Users

The Users Instance

Defined in

index.d.ts:185


views

get views(): Views

Returns

Views

Defined in

index.d.ts:186


webhooks

get webhooks(): Webhooks

Returns

Webhooks

Defined in

index.d.ts:187

Released under the MIT License.