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 - npm Package Compare versions

Comparing version 0.13.1 to 0.14.0

dist/chunk-FQNUM6LL.js

2

dist/cli.js
#!/usr/bin/env node
import{a as r}from"./chunk-N42O6IYV.js";import"./chunk-ERKZHHIF.js";r.parseAsync(process.argv);
import{a as r}from"./chunk-FQNUM6LL.js";import"./chunk-TABBSZEO.js";r.parseAsync(process.argv);
import { Command } from 'commander';
import { C as Client } from '../index-DjN2GOPn.js';
import { C as Client } from '../index-aks6RIxX.js';
import { Options as Options$1 } from 'ora';

@@ -4,0 +4,0 @@ import 'ky';

@@ -1,1 +0,1 @@

import{a}from"../chunk-N42O6IYV.js";import"../chunk-ERKZHHIF.js";export{a as default};
import{a}from"../chunk-FQNUM6LL.js";import"../chunk-TABBSZEO.js";export{a as default};

@@ -1,3 +0,3 @@

import { A as Account, a as Conversation } from './index-DjN2GOPn.js';
export { d as AccountAccessToken, g as AccountConversationSettings, j as Action, B as BasicAuthentication, c as BearerAuthentication, l as Boilerplate, r as BoilerplateCategory, w as Channel, C as Client, F as CompositionSection, N as Contact, e as CreateAccountAccessTokenResponse, s as CreateBoilerplateCategoryResponse, m as CreateBoilerplateResponse, E as CreateChannelResponse, J as CreateCompositionSectionResponse, ak as CreateContactNoteResponse, au as CreateContactNotificationSubscriptionResponse, Q as CreateContactResponse, al as CreateConversationNoteResponse, ah as CreateCorrectionResponse, a3 as CreateLabelResponse, ai as CreateResponseResponse, aw as CreateUploadResponse, D as DeleteAccountAccessTokenResponse, a4 as DeleteLabelResponse, ay as DeleteUploadResponse, f as GetAccountAccessTokenResponse, h as GetAccountConversationSettingsResponse, G as GetAccountResponse, t as GetBoilerplateCategoryResponse, o as GetBoilerplateResponse, y as GetChannelResponse, H as GetCompositionSectionResponse, S as GetContactResponse, Z as GetConversationResponse, a5 as GetLabelResponse, af as GetModelResponse, am as GetNoteResponse, az as GetNotificationWellKnownResponse, ar as GetSourceResponse, ax as GetUploadResponse, B as KeyAuthentication, a2 as Label, L as ListAccountAccessTokensResponse, k as ListActionsResponse, u as ListBoilerplateCategoriesResponse, n as ListBoilerplateCategoryBoilerplatesResponse, p as ListBoilerplatesResponse, K as ListChannelCompositionSectionsResponse, ad as ListChannelMessagesResponse, x as ListChannelsResponse, I as ListCompositionSectionsResponse, a1 as ListContactConversationsResponse, a9 as ListContactLabelsResponse, an as ListContactNotesResponse, V as ListContactsResponse, a8 as ListConversationLabelsResponse, ab as ListConversationMessagesResponse, ao as ListConversationNotesResponse, _ as ListConversationsResponse, X as ListLabelContactsResponse, $ as ListLabelConversationsResponse, a6 as ListLabelsResponse, ac as ListMessagesResponse, ag as ListModelsResponse, as as ListSourcesResponse, aa as Message, ae as Model, aj as Note, at as NotificationSubscription, O as Options, P as PublicAuthentication, R as RequestFilterable, aq as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, i as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, v as UpdateBoilerplateCategoryResponse, q as UpdateBoilerplateResponse, z as UpdateChannelResponse, M as UpdateCompositionSectionResponse, Y as UpdateContactResponse, a0 as UpdateConversationResponse, a7 as UpdateLabelResponse, ap as UpdateNoteResponse, av as Upload, W as WebhookResponse, C as default } from './index-DjN2GOPn.js';
import { A as Account, a as Conversation } from './index-aks6RIxX.js';
export { d as AccountAccessToken, g as AccountConversationSettings, j as Action, B as BasicAuthentication, c as BearerAuthentication, r as BoilerplateCategory, l as BoilerplateContent, w as Channel, C as Client, F as CompositionSection, N as Contact, e as CreateAccountAccessTokenResponse, s as CreateBoilerplateCategoryResponse, m as CreateBoilerplateContentResponse, E as CreateChannelResponse, J as CreateCompositionSectionResponse, ak as CreateContactNoteResponse, au as CreateContactNotificationSubscriptionResponse, Q as CreateContactResponse, al as CreateConversationNoteResponse, ah as CreateCorrectionResponse, a3 as CreateLabelResponse, ai as CreateResponseResponse, aw as CreateUploadResponse, D as DeleteAccountAccessTokenResponse, a4 as DeleteLabelResponse, ay as DeleteUploadResponse, f as GetAccountAccessTokenResponse, h as GetAccountConversationSettingsResponse, G as GetAccountResponse, t as GetBoilerplateCategoryResponse, o as GetBoilerplateContentResponse, y as GetChannelResponse, H as GetCompositionSectionResponse, S as GetContactResponse, Z as GetConversationResponse, a5 as GetLabelResponse, af as GetModelResponse, am as GetNoteResponse, az as GetNotificationWellKnownResponse, ar as GetSourceResponse, ax as GetUploadResponse, B as KeyAuthentication, a2 as Label, L as ListAccountAccessTokensResponse, k as ListActionsResponse, u as ListBoilerplateCategoriesResponse, n as ListBoilerplateCategoryBoilerplateContentsResponse, p as ListBoilerplateContentsResponse, K as ListChannelCompositionSectionsResponse, ad as ListChannelMessagesResponse, x as ListChannelsResponse, I as ListCompositionSectionsResponse, a1 as ListContactConversationsResponse, a9 as ListContactLabelsResponse, an as ListContactNotesResponse, V as ListContactsResponse, a8 as ListConversationLabelsResponse, ab as ListConversationMessagesResponse, ao as ListConversationNotesResponse, _ as ListConversationsResponse, X as ListLabelContactsResponse, $ as ListLabelConversationsResponse, a6 as ListLabelsResponse, ac as ListMessagesResponse, ag as ListModelsResponse, as as ListSourcesResponse, aa as Message, ae as Model, aj as Note, at as NotificationSubscription, O as Options, P as PublicAuthentication, R as RequestFilterable, aq as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, i as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, v as UpdateBoilerplateCategoryResponse, q as UpdateBoilerplateContentResponse, z as UpdateChannelResponse, M as UpdateCompositionSectionResponse, Y as UpdateContactResponse, a0 as UpdateConversationResponse, a7 as UpdateLabelResponse, ap as UpdateNoteResponse, av as Upload, W as WebhookResponse, C as default } from './index-aks6RIxX.js';
import 'ky';

@@ -4,0 +4,0 @@ import 'zod';

@@ -1,1 +0,1 @@

import{a as s,b as i,c as r,d as l,e as n,f as o,g as t,h as e,i as f,j as p,k as a,l as m,m as x}from"./chunk-ERKZHHIF.js";var u={};s(u,{AuthError:()=>t,AuthenticationError:()=>e,AuthorizationError:()=>f,LogicError:()=>p,NetworkError:()=>a,SupportError:()=>o,ValidationError:()=>m});export{r as BasicAuthentication,l as BearerAuthentication,x as Client,n as DEFAULT_SUPPORT_BASE_URL,u as Error,r as KeyAuthentication,i as PublicAuthentication,x as default};
import{a as s,b as i,c as r,d as l,e as n,f as o,g as t,h as e,i as f,j as p,k as a,l as m,m as x}from"./chunk-TABBSZEO.js";var u={};s(u,{AuthError:()=>t,AuthenticationError:()=>e,AuthorizationError:()=>f,LogicError:()=>p,NetworkError:()=>a,SupportError:()=>o,ValidationError:()=>m});export{r as BasicAuthentication,l as BearerAuthentication,x as Client,n as DEFAULT_SUPPORT_BASE_URL,u as Error,r as KeyAuthentication,i as PublicAuthentication,x as default};
{
"name": "@great-detail/support-sdk",
"version": "0.13.1",
"version": "0.14.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "JavaScript SDK for the Great Detail Support System",

@@ -42,3 +42,3 @@ # Great Detail Support System SDK - JS

### Token Authentication
### Basic Authentication

@@ -49,22 +49,10 @@ > Note: This is the primary authentication method intended to be used with this

```typescript
import { TokenAuthentication } from "@great-detail/support-sdk";
import { BasicAuthentication } 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.
```typescript
import { KeyAuthentication } from "@great-detail/support-sdk";
// Note: This api key should not be hardcoded into your use-case
process.env.SUPPORT_API_KEY = "...";
process.env.SUPPORT_KEY_NAME = "...";
process.env.SUPPORT_KEY_PASSWORD = "...";
// Set api key in environment variable: SUPPORT_API_KEY
const auth = new KeyAuthentication();
const auth = new BasicAuthentication();
```

@@ -71,0 +59,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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