@seven.io/client
    Preparing search index...

    Class Client

    Index

    Constructors

    Properties

    options: ClientOptions
    BASE_URL: "https://gateway.seven.io/api" = 'https://gateway.seven.io/api'
    CONTENT_TYPE_URLENCODED: "application/x-www-form-urlencoded" = 'application/x-www-form-urlencoded'

    Methods

    • Type Parameters

      • R extends unknown
      • P extends { [p: string]: any } = {}

      Parameters

      • method: "delete" | "get" | "post" | "patch"
      • endpoint: string
      • payload: P
      • contentType: string = 'application/json'

      Returns Promise<R>