Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebhookClient

Hierarchy

  • WebhookClient

Index

Constructors

constructor

Properties

request

request: any

Methods

_parseWebhookList

  • _parseWebhookList(response: { body: { webhooks: any } }): any
  • Parameters

    • response: { body: { webhooks: any } }
      • body: { webhooks: any }
        • webhooks: any

    Returns any

_parseWebhookTest

  • _parseWebhookTest(response: { body: { code: number; message: string } }): { code: number; message: string }
  • Parameters

    • response: { body: { code: number; message: string } }
      • body: { code: number; message: string }
        • code: number
        • message: string

    Returns { code: number; message: string }

    • code: number
    • message: string

_parseWebhookWithID

  • _parseWebhookWithID(id: string): (Anonymous function)

create

  • create(domain: string, id: string, url: string, test: boolean): any
  • Parameters

    • domain: string
    • id: string
    • url: string
    • test: boolean

    Returns any

destroy

  • destroy(domain: string, id: string): any

get

  • get(domain: string, id: string): any

list

  • list(domain: string, query: any): any

update

  • update(domain: string, id: string, url: string): any
  • Parameters

    • domain: string
    • id: string
    • url: string

    Returns any

Generated using TypeDoc