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
148
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.16.1 to 0.16.2

dist/chunk-CBX4D3XB.js

2

dist/cli.js
#!/usr/bin/env node
import{a as r}from"./chunk-PS4YVHTA.js";import"./chunk-R3BOF7IE.js";r.parseAsync(process.argv);
import{a as r}from"./chunk-MTQCQH5K.js";import"./chunk-CBX4D3XB.js";r.parseAsync(process.argv);
import { Command } from 'commander';
import { C as Client } from '../Client-Cxq3elvC.js';
import { C as Client } from '../Client-DKNuv_mB.js';
import { Options as Options$1 } from 'ora';

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

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

import{a}from"../chunk-PS4YVHTA.js";import"../chunk-R3BOF7IE.js";export{a as default};
import{a}from"../chunk-MTQCQH5K.js";import"../chunk-CBX4D3XB.js";export{a as default};

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

import { A as AccountID, N as Nullable, R as ResponseTimestamp, S as SendOptions } from './Client-Cxq3elvC.js';
export { c as Account, j as AccountAccessToken, k as AccountAccessTokenID, t as Action, u as ActionID, W as BoilerplateCategory, X as BoilerplateCategoryID, B as BoilerplateContent, y as BoilerplateContentID, a7 as Channel, a8 as ChannelID, C as Client, ao as CompositionSection, ap as CompositionSectionID, aC as Contact, aD as ContactID, aS as Conversation, aT as ConversationID, m as CreateAccountAccessTokenOptions, l as CreateAccountAccessTokenPayload, n as CreateAccountAccessTokenResponse, e as CreateAccountOptions, d as CreateAccountPayload, f as CreateAccountResponse, Z as CreateBoilerplateCategoryOptions, Y as CreateBoilerplateCategoryPayload, _ as CreateBoilerplateCategoryResponse, E as CreateBoilerplateContentOptions, z as CreateBoilerplateContentPayload, F as CreateBoilerplateContentResponse, aa as CreateChannelOptions, a9 as CreateChannelPayload, ab as CreateChannelResponse, ar as CreateCompositionSectionOptions, aq as CreateCompositionSectionPayload, as as CreateCompositionSectionResponse, b_ as CreateContactNoteOptions, bZ as CreateContactNotePayload, b$ as CreateContactNoteResponse, cl as CreateContactNotificationSubscriptionOptions, ck as CreateContactNotificationSubscriptionPayload, cm as CreateContactNotificationSubscriptionResponse, aF as CreateContactOptions, aE as CreateContactPayload, aG as CreateContactResponse, c1 as CreateConversationNoteOptions, c0 as CreateConversationNotePayload, c2 as CreateConversationNoteResponse, aV as CreateConversationOptions, aU as CreateConversationPayload, aW as CreateConversationResponse, bO as CreateCorrectionModelOptions, bN as CreateCorrectionModelPayload, bP as CreateCorrectionResponse, bd as CreateLabelOptions, bc as CreateLabelPayload, be as CreateLabelResponse, bw as CreateMessageOptions, bv as CreateMessagePayload, bx as CreateMessageResponse, bR as CreateResponseModelOptions, bQ as CreateResponseModelPayload, bS as CreateResponseResponse, cp as CreateUploadOptions, cq as CreateUploadResponse, o as DeleteAccountAccessTokenOptions, D as DeleteAccountAccessTokenPayload, p as DeleteAccountAccessTokenResponse, aX as DeleteConversationOptions, aY as DeleteConversationResponse, bf as DeleteLabelOptions, bg as DeleteLabelResponse, by as DeleteMessageOptions, bz as DeleteMessageResponse, cr as DeleteUploadOptions, cs as DeleteUploadResponse, b3 as FilterOptions, q as GetAccountAccessTokenOptions, r as GetAccountAccessTokenResponse, G as GetAccountOptions, g as GetAccountResponse, $ as GetBoilerplateCategoryOptions, a0 as GetBoilerplateCategoryResponse, H as GetBoilerplateContentOptions, I as GetBoilerplateContentResponse, ac as GetChannelOptions, ad as GetChannelResponse, at as GetCompositionSectionOptions, au as GetCompositionSectionResponse, aH as GetContactIncludeOptions, aI as GetContactOptions, aJ as GetContactResponse, aK as GetContactVCFOptions, aZ as GetConversationIncludeOptions, a_ as GetConversationOptions, a$ as GetConversationResponse, bh as GetLabelOptions, bi as GetLabelResponse, bT as GetModelOptions, bU as GetModelResponse, c3 as GetNoteOptions, c4 as GetNoteResponse, cx as GetNotificationWellKnownResponse, ce as GetSourceOptions, cf as GetSourceResponse, ct as GetUploadOptions, cu as GetUploadResponse, bb as Label, bj as LabelID, L as ListAccountAccessTokensOptions, s as ListAccountAccessTokensResponse, w as ListActionsOptions, x as ListActionsResponse, a1 as ListBoilerplateCategoriesIncludeOptions, a2 as ListBoilerplateCategoriesOptions, a3 as ListBoilerplateCategoriesResponse, J as ListBoilerplateCategoryBoilerplateContentsOptions, K as ListBoilerplateCategoryBoilerplateContentsResponse, M as ListBoilerplateContentsOptions, P as ListBoilerplateContentsResponse, av as ListChannelCompositionSectionsOptions, aw as ListChannelCompositionSectionsResponse, bA as ListChannelMessagesIncludeOptions, bB as ListChannelMessagesOptions, bC as ListChannelMessagesResponse, ae as ListChannelsOptions, af as ListChannelsResponse, ax as ListCompositionSectionsOptions, ay as ListCompositionSectionsResponse, b0 as ListContactConversationsOptions, b1 as ListContactConversationsResponse, bk as ListContactLabelsOptions, bl as ListContactLabelsResponse, c5 as ListContactNotesOptions, c6 as ListContactNotesResponse, aL as ListContactsOptions, aM as ListContactsResponse, bm as ListConversationLabelsOptions, bn as ListConversationLabelsResponse, bD as ListConversationMessagesIncludeOptions, bE as ListConversationMessagesOptions, bF as ListConversationMessagesResponse, c7 as ListConversationNotesOptions, c8 as ListConversationNotesResponse, b4 as ListConversationOptions, b2 as ListConversationsIncludeOptions, b5 as ListConversationsResponse, aN as ListLabelContactsOptions, aO as ListLabelContactsResponse, b6 as ListLabelConversationsOptions, b7 as ListLabelConversationsResponse, bo as ListLabelsIncludeOptions, bp as ListLabelsOptions, bq as ListLabelsResponse, bG as ListMessagesIncludeOptions, bH as ListMessagesOptions, bI as ListMessagesResponse, bV as ListModelsOptions, bW as ListModelsResponse, cg as ListSourcesOptions, ch as ListSourcesResponse, bu as Message, bJ as MessageID, bK as MessageRole, bL as MessageStatus, ag as MetaWhatsappChannelGetBusinessProfileOptions, ah as MetaWhatsappChannelGetBusinessProfileResponse, bM as Model, bX as ModelID, bY as Note, c9 as NoteID, cj as NotificationSubscription, cn as NotificationSubscriptionID, O as Options, a as RequestFilterable, v as SortOptions, cd as Source, ci as SourceID, b as TransportOptions, ai as TwilioSendChannelSyncPayload, aj as TwilioSendgridChannelSyncOptions, ak as TwilioSendgridChannelSyncResponse, h as UpdateAccountOptions, U as UpdateAccountPayload, i as UpdateAccountResponse, a5 as UpdateBoilerplateCategoryOptions, a4 as UpdateBoilerplateCategoryPayload, a6 as UpdateBoilerplateCategoryResponse, T as UpdateBoilerplateContentOptions, Q as UpdateBoilerplateContentPayload, V as UpdateBoilerplateContentResponse, am as UpdateChannelOptions, al as UpdateChannelPayload, an as UpdateChannelResponse, aA as UpdateCompositionSectionOptions, az as UpdateCompositionSectionPayload, aB as UpdateCompositionSectionResponse, aQ as UpdateContactOptions, aP as UpdateContactPayload, aR as UpdateContactResponse, b9 as UpdateConversationOptions, b8 as UpdateConversationPayload, ba as UpdateConversationResponse, bs as UpdateLabelOptions, br as UpdateLabelPayload, bt as UpdateLabelResponse, cb as UpdateNoteOptions, ca as UpdateNotePayload, cc as UpdateNoteResponse, co as Upload, cv as UploadID, cw as WebhookResponse, C as default } from './Client-Cxq3elvC.js';
export { A as Account, i as AccountAccessToken, j as AccountAccessTokenID, s as AccountConversationSettings, b as AccountID, y as Action, z as ActionID, Z as BoilerplateCategory, _ as BoilerplateCategoryID, F as BoilerplateContent, H as BoilerplateContentID, aa as Channel, ab as ChannelID, C as Client, ar as CompositionSection, as as CompositionSectionID, aF as Contact, aG as ContactID, aV as Conversation, aW as ConversationID, l as CreateAccountAccessTokenOptions, k as CreateAccountAccessTokenPayload, m as CreateAccountAccessTokenResponse, d as CreateAccountOptions, c as CreateAccountPayload, e as CreateAccountResponse, a0 as CreateBoilerplateCategoryOptions, $ as CreateBoilerplateCategoryPayload, a1 as CreateBoilerplateCategoryResponse, J as CreateBoilerplateContentOptions, I as CreateBoilerplateContentPayload, K as CreateBoilerplateContentResponse, ad as CreateChannelOptions, ac as CreateChannelPayload, ae as CreateChannelResponse, au as CreateCompositionSectionOptions, at as CreateCompositionSectionPayload, av as CreateCompositionSectionResponse, c1 as CreateContactNoteOptions, c0 as CreateContactNotePayload, c2 as CreateContactNoteResponse, co as CreateContactNotificationSubscriptionOptions, cn as CreateContactNotificationSubscriptionPayload, cp as CreateContactNotificationSubscriptionResponse, aI as CreateContactOptions, aH as CreateContactPayload, aJ as CreateContactResponse, c4 as CreateConversationNoteOptions, c3 as CreateConversationNotePayload, c5 as CreateConversationNoteResponse, aY as CreateConversationOptions, aX as CreateConversationPayload, aZ as CreateConversationResponse, bR as CreateCorrectionModelOptions, bQ as CreateCorrectionModelPayload, bS as CreateCorrectionResponse, bg as CreateLabelOptions, bf as CreateLabelPayload, bh as CreateLabelResponse, bz as CreateMessageOptions, by as CreateMessagePayload, bA as CreateMessageResponse, bU as CreateResponseModelOptions, bT as CreateResponseModelPayload, bV as CreateResponseResponse, cs as CreateUploadOptions, ct as CreateUploadResponse, n as DeleteAccountAccessTokenOptions, D as DeleteAccountAccessTokenPayload, o as DeleteAccountAccessTokenResponse, a_ as DeleteConversationOptions, a$ as DeleteConversationResponse, bi as DeleteLabelOptions, bj as DeleteLabelResponse, bB as DeleteMessageOptions, bC as DeleteMessageResponse, cu as DeleteUploadOptions, cv as DeleteUploadResponse, b6 as FilterOptions, p as GetAccountAccessTokenOptions, q as GetAccountAccessTokenResponse, t as GetAccountConversationSettingsOptions, u as GetAccountConversationSettingsResponse, G as GetAccountOptions, f as GetAccountResponse, a2 as GetBoilerplateCategoryOptions, a3 as GetBoilerplateCategoryResponse, M as GetBoilerplateContentOptions, N as GetBoilerplateContentResponse, af as GetChannelOptions, ag as GetChannelResponse, aw as GetCompositionSectionOptions, ax as GetCompositionSectionResponse, aK as GetContactIncludeOptions, aL as GetContactOptions, aM as GetContactResponse, aN as GetContactVCFOptions, b0 as GetConversationIncludeOptions, b1 as GetConversationOptions, b2 as GetConversationResponse, bk as GetLabelOptions, bl as GetLabelResponse, bW as GetModelOptions, bX as GetModelResponse, c6 as GetNoteOptions, c7 as GetNoteResponse, cA as GetNotificationWellKnownResponse, ch as GetSourceOptions, ci as GetSourceResponse, cw as GetUploadOptions, cx as GetUploadResponse, be as Label, bm as LabelID, L as ListAccountAccessTokensOptions, r as ListAccountAccessTokensResponse, B as ListActionsOptions, E as ListActionsResponse, a4 as ListBoilerplateCategoriesIncludeOptions, a5 as ListBoilerplateCategoriesOptions, a6 as ListBoilerplateCategoriesResponse, P as ListBoilerplateCategoryBoilerplateContentsOptions, Q as ListBoilerplateCategoryBoilerplateContentsResponse, T as ListBoilerplateContentsOptions, V as ListBoilerplateContentsResponse, ay as ListChannelCompositionSectionsOptions, az as ListChannelCompositionSectionsResponse, bD as ListChannelMessagesIncludeOptions, bE as ListChannelMessagesOptions, bF as ListChannelMessagesResponse, ah as ListChannelsOptions, ai as ListChannelsResponse, aA as ListCompositionSectionsOptions, aB as ListCompositionSectionsResponse, b3 as ListContactConversationsOptions, b4 as ListContactConversationsResponse, bn as ListContactLabelsOptions, bo as ListContactLabelsResponse, c8 as ListContactNotesOptions, c9 as ListContactNotesResponse, aO as ListContactsOptions, aP as ListContactsResponse, bp as ListConversationLabelsOptions, bq as ListConversationLabelsResponse, bG as ListConversationMessagesIncludeOptions, bH as ListConversationMessagesOptions, bI as ListConversationMessagesResponse, ca as ListConversationNotesOptions, cb as ListConversationNotesResponse, b7 as ListConversationOptions, b5 as ListConversationsIncludeOptions, b8 as ListConversationsResponse, aQ as ListLabelContactsOptions, aR as ListLabelContactsResponse, b9 as ListLabelConversationsOptions, ba as ListLabelConversationsResponse, br as ListLabelsIncludeOptions, bs as ListLabelsOptions, bt as ListLabelsResponse, bJ as ListMessagesIncludeOptions, bK as ListMessagesOptions, bL as ListMessagesResponse, bY as ListModelsOptions, bZ as ListModelsResponse, cj as ListSourcesOptions, ck as ListSourcesResponse, bx as Message, bM as MessageID, bN as MessageRole, bO as MessageStatus, aj as MetaWhatsappChannelGetBusinessProfileOptions, ak as MetaWhatsappChannelGetBusinessProfileResponse, bP as Model, b_ as ModelID, b$ as Note, cc as NoteID, cm as NotificationSubscription, cq as NotificationSubscriptionID, O as Options, R as RequestFilterable, S as SortOptions, cg as Source, cl as SourceID, a as TransportOptions, al as TwilioSendChannelSyncPayload, am as TwilioSendgridChannelSyncOptions, an as TwilioSendgridChannelSyncResponse, w as UpdateAccountConversationSettingsOptions, v as UpdateAccountConversationSettingsPayload, x as UpdateAccountConversationSettingsResponse, g as UpdateAccountOptions, U as UpdateAccountPayload, h as UpdateAccountResponse, a8 as UpdateBoilerplateCategoryOptions, a7 as UpdateBoilerplateCategoryPayload, a9 as UpdateBoilerplateCategoryResponse, X as UpdateBoilerplateContentOptions, W as UpdateBoilerplateContentPayload, Y as UpdateBoilerplateContentResponse, ap as UpdateChannelOptions, ao as UpdateChannelPayload, aq as UpdateChannelResponse, aD as UpdateCompositionSectionOptions, aC as UpdateCompositionSectionPayload, aE as UpdateCompositionSectionResponse, aT as UpdateContactOptions, aS as UpdateContactPayload, aU as UpdateContactResponse, bc as UpdateConversationOptions, bb as UpdateConversationPayload, bd as UpdateConversationResponse, bv as UpdateLabelOptions, bu as UpdateLabelPayload, bw as UpdateLabelResponse, ce as UpdateNoteOptions, cd as UpdateNotePayload, cf as UpdateNoteResponse, cr as Upload, cy as UploadID, cz as WebhookResponse, C as default } from './Client-DKNuv_mB.js';
import 'ky';

@@ -140,60 +139,2 @@ import 'zod';

/**
* Great Detail Support System.
*
* @copyright 2024 Great Detail Ltd
* @author Great Detail Ltd <info@greatdetail.com>
* @author Dom Webber <dom.webber@greatdetail.com>
* @see https://greatdetail.com
*/
type AccountConversationSettings = {
account: AccountID;
defaultName?: Nullable<string>;
responseDuration?: Nullable<string>;
resolveDuration?: Nullable<string>;
} & ResponseTimestamp;
/**
* Great Detail Support System.
*
* @copyright 2024 Great Detail Ltd
* @author Great Detail Ltd <info@greatdetail.com>
* @author Dom Webber <dom.webber@greatdetail.com>
* @see https://greatdetail.com
*/
interface GetAccountConversationSettingsOptions {
request?: SendOptions;
}
type GetAccountConversationSettingsResponse = {
data: {
accountConversationSettings: AccountConversationSettings;
};
};
/**
* Great Detail Support System.
*
* @copyright 2024 Great Detail Ltd
* @author Great Detail Ltd <info@greatdetail.com>
* @author Dom Webber <dom.webber@greatdetail.com>
* @see https://greatdetail.com
*/
type UpdateAccountConversationSettingsPayload = {
defaultName?: Nullable<string>;
responseDuration?: Nullable<string>;
resolveDuration?: Nullable<string>;
};
interface UpdateAccountConversationSettingsOptions {
body: UpdateAccountConversationSettingsPayload;
request?: SendOptions;
}
type UpdateAccountConversationSettingsResponse = {
data: {
accountConversationSettings: AccountConversationSettings;
};
};
export { type AccountConversationSettings, AccountID, DEFAULT_SUPPORT_BASE_URL, index as Error, type GetAccountConversationSettingsOptions, type GetAccountConversationSettingsResponse, type UpdateAccountConversationSettingsOptions, type UpdateAccountConversationSettingsPayload, type UpdateAccountConversationSettingsResponse };
export { DEFAULT_SUPPORT_BASE_URL, index as Error };

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

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

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

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