Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@great-detail/support-sdk

Package Overview
Dependencies
Maintainers
0
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@great-detail/support-sdk

JavaScript SDK for the Great Detail Support System

  • 0.10.17
  • npm
  • Socket score

Version published
Weekly downloads
435
decreased by-40.41%
Maintainers
0
Weekly downloads
 
Created
Source

Great Detail Support System SDK - JS

Getting Started

// ESM

import Client, { TokenAuthentication } from "@great-detail/support-sdk";

// Note: CJS dist files are also published

const auth = new TokenAuthentication();
const sdk = new Client(auth);

// List the stored contacts
const result = await sdk.contact.list.send().json();
console.log(result);

Installation

npm install @great-detail/support-sdk

Authentication

The following authentication methods are supported with this SDK.

Token Authentication

Note: This is the primary authentication method intended to be used with this SDK.

import { TokenAuthentication } from "@great-detail/support-sdk";

// Note: This token should not be hardcoded into your use-case
process.env.SUPPORT_ACCESS_TOKEN = "...";

const auth = new TokenAuthentication();

Key Authentication

Note: Not all of the APIs will work with the key authentication method.

import { KeyAuthentication } from "@great-detail/support-sdk";

// Note: This api key should not be hardcoded into your use-case
process.env.SUPPORT_API_KEY = "...";

// Set api key in environment variable: SUPPORT_API_KEY
const auth = new KeyAuthentication();

Public Authentication

Note: Not all of the APIs will work with the public authentication method.

import { PublicAuthentication } from "@great-detail/support-sdk";

const auth = new PublicAuthentication();

License

Proprietary © 2024 Great Detail Ltd

Contact

Great Detail Ltd: <info@greatdetail.com>

Dom Webber: https://domwebber.dev <dom.webber@greatdetail.com>

Keywords

FAQs

Package last updated on 30 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc