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.8.0 to 0.8.1

dist/chunk-4UCA2N6P.js

2

dist/cli.js
#!/usr/bin/env node
import{a as r}from"./chunk-ZBLKAEZJ.js";import"./chunk-AIEPNO2T.js";r.parseAsync(process.argv);
import{a as r}from"./chunk-BCTHP2YX.js";import"./chunk-4UCA2N6P.js";r.parseAsync(process.argv);
import { Command } from 'commander';
import { C as Client } from '../index-CoYBLOpO.js';
import { C as Client } from '../index-DFzidwIt.js';
import { Options as Options$1 } from 'ora';

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

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

import{a}from"../chunk-ZBLKAEZJ.js";import"../chunk-AIEPNO2T.js";export{a as default};
import{a}from"../chunk-BCTHP2YX.js";import"../chunk-4UCA2N6P.js";export{a as default};

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

import { A as Authentication, a as Conversation } from './index-CoYBLOpO.js';
export { c as Action, B as Boilerplate, g as BoilerplateCategory, l as Channel, C as Client, q as CompositionSection, w as Contact, h as CreateBoilerplateCategoryResponse, d as CreateBoilerplateResponse, p as CreateChannelResponse, t as CreateCompositionSectionResponse, a5 as CreateContactNoteResponse, af as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a6 as CreateConversationNoteResponse, a2 as CreateCorrectionResponse, N as CreateLabelResponse, a3 as CreateResponseResponse, ah as CreateUploadResponse, P as DeleteLabelResponse, aj as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a0 as GetModelResponse, a7 as GetNoteResponse, ac as GetSourceResponse, ai as GetUploadResponse, M as Label, L as ListActionsResponse, j as ListBoilerplateCategoriesResponse, e as ListBoilerplateCategoryBoilerplatesResponse, f as ListBoilerplatesResponse, u as ListChannelCompositionSectionsResponse, _ as ListChannelMessagesResponse, m as ListChannelsResponse, s as ListCompositionSectionsResponse, K as ListContactConversationsResponse, a8 as ListContactNotesResponse, z as ListContactsResponse, Y as ListConversationMessagesResponse, a9 as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, Z as ListMessagesResponse, a1 as ListModelsResponse, ad as ListSourcesResponse, X as Message, $ as Model, a4 as Note, ae as NotificationSubscription, O as Options, R as RequestFilterable, ab as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, k as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, o as UpdateChannelResponse, v as UpdateCompositionSectionResponse, E as UpdateContactResponse, J as UpdateConversationResponse, V as UpdateLabelResponse, aa as UpdateNoteResponse, ag as Upload, W as WebhookResponse, C as default } from './index-CoYBLOpO.js';
import { A as Authentication, a as Conversation } from './index-DFzidwIt.js';
export { c as Action, B as Boilerplate, g as BoilerplateCategory, l as Channel, C as Client, q as CompositionSection, w as Contact, h as CreateBoilerplateCategoryResponse, d as CreateBoilerplateResponse, p as CreateChannelResponse, t as CreateCompositionSectionResponse, a5 as CreateContactNoteResponse, af as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a6 as CreateConversationNoteResponse, a2 as CreateCorrectionResponse, N as CreateLabelResponse, a3 as CreateResponseResponse, ah as CreateUploadResponse, P as DeleteLabelResponse, aj as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a0 as GetModelResponse, a7 as GetNoteResponse, ac as GetSourceResponse, ai as GetUploadResponse, M as Label, L as ListActionsResponse, j as ListBoilerplateCategoriesResponse, e as ListBoilerplateCategoryBoilerplatesResponse, f as ListBoilerplatesResponse, u as ListChannelCompositionSectionsResponse, _ as ListChannelMessagesResponse, m as ListChannelsResponse, s as ListCompositionSectionsResponse, K as ListContactConversationsResponse, a8 as ListContactNotesResponse, z as ListContactsResponse, Y as ListConversationMessagesResponse, a9 as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, Z as ListMessagesResponse, a1 as ListModelsResponse, ad as ListSourcesResponse, X as Message, $ as Model, a4 as Note, ae as NotificationSubscription, O as Options, R as RequestFilterable, ab as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, k as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, o as UpdateChannelResponse, v as UpdateCompositionSectionResponse, E as UpdateContactResponse, J as UpdateConversationResponse, V as UpdateLabelResponse, aa as UpdateNoteResponse, ag as Upload, W as WebhookResponse, C as default } from './index-DFzidwIt.js';
import 'ky';

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

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

import{a as d,b as g,c as s,d as p,e as n,f as _,g as a,h as f,i as m,j as u,k as c,l as x,m as l,n as h,o as A}from"./chunk-AIEPNO2T.js";var E={};d(E,{AuthError:()=>m,AuthenticationError:()=>u,AuthorizationError:()=>c,LogicError:()=>x,NetworkError:()=>l,SupportError:()=>f,ValidationError:()=>h});var t=class e{static DEFAULT_NAME=a;name;#r;constructor({name:r=process.env[n]??e.DEFAULT_NAME,key:i=process.env[p]}={}){if(!i)throw new Error("API Key option must be specified when using Key Authentication");this.name=r,this.#r=i}async filter(){return{headers:this.getHeaders()}}getHeaders(){return{Authorization:`Basic ${btoa(this.name+":"+this.#r)}`}}};var o=class{#r;constructor({token:r=process.env[s]}={}){if(!r)throw new Error("Access Token option must be specified when using Token Authentication");this.#r=r}async filter(){return{headers:this.getHeaders()}}getHeaders(){return{Authorization:`Bearer ${this.#r}`}}};export{A as Client,_ as DEFAULT_SUPPORT_BASE_URL,E as Error,t as KeyAuthentication,g as PublicAuthentication,o as TokenAuthentication,A as default};
import{a as d,b as g,c as s,d as p,e as n,f as _,g as a,h as f,i as m,j as u,k as c,l as x,m as l,n as h,o as A}from"./chunk-4UCA2N6P.js";var E={};d(E,{AuthError:()=>m,AuthenticationError:()=>u,AuthorizationError:()=>c,LogicError:()=>x,NetworkError:()=>l,SupportError:()=>f,ValidationError:()=>h});var t=class e{static DEFAULT_NAME=a;name;#r;constructor({name:r=process.env[n]??e.DEFAULT_NAME,key:i=process.env[p]}={}){if(!i)throw new Error("API Key option must be specified when using Key Authentication");this.name=r,this.#r=i}async filter(){return{headers:this.getHeaders()}}getHeaders(){return{Authorization:`Basic ${btoa(this.name+":"+this.#r)}`}}};var o=class{#r;constructor({token:r=process.env[s]}={}){if(!r)throw new Error("Access Token option must be specified when using Token Authentication");this.#r=r}async filter(){return{headers:this.getHeaders()}}getHeaders(){return{Authorization:`Bearer ${this.#r}`}}};export{A as Client,_ as DEFAULT_SUPPORT_BASE_URL,E as Error,t as KeyAuthentication,g as PublicAuthentication,o as TokenAuthentication,A as default};
{
"name": "@great-detail/support-sdk",
"version": "0.8.0",
"version": "0.8.1",
"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

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