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.2.2 to 0.2.3

dist/chunk-ALRXWW2N.js

2

dist/cli.js
#!/usr/bin/env node
import{a as r}from"./chunk-YQ6LXSV4.js";import"./chunk-WAY6IGDK.js";r.parseAsync(process.argv);
import{a as r}from"./chunk-JLXFVLGR.js";import"./chunk-ALRXWW2N.js";r.parseAsync(process.argv);
import { Command } from 'commander';
import { C as Client } from '../index-BwsedLC7.js';
import { C as Client } from '../index-cTKZe1yJ.js';
import { Options as Options$1 } from 'ora';

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

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

import{a}from"../chunk-YQ6LXSV4.js";import"../chunk-WAY6IGDK.js";export{a as default};
import{a}from"../chunk-JLXFVLGR.js";import"../chunk-ALRXWW2N.js";export{a as default};

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

import { A as Authentication } from './index-BwsedLC7.js';
export { C as Client, e as CreateContactResponsePayload, r as CreateCorrectionResponsePayload, j as CreateLabelResponsePayload, s as CreateResponseResponsePayload, D as DeleteLabelResponsePayload, G as GetContactResponsePayload, f as GetConversationResponsePayload, k as GetLabelResponsePayload, p as GetModelResponsePayload, t as GetNoteResponsePayload, v as GetSourceResponsePayload, L as ListActionsResponsePayload, b as ListChannelsResponsePayload, c as ListContactsResponsePayload, n as ListConversationMessagesResponsePayload, g as ListConversationsResponsePayload, d as ListLabelContactsResponsePayload, h as ListLabelConversationsResponsePayload, l as ListLabelsResponsePayload, o as ListMessagesResponsePayload, q as ListModelsResponsePayload, w as ListSourcesResponsePayload, O as Options, R as RequestFilterable, a as TransportOptions, U as UpdateContactResponsePayload, i as UpdateConversationResponsePayload, m as UpdateLabelResponsePayload, u as UpdateNoteResponsePayload, C as default } from './index-BwsedLC7.js';
import { A as Authentication } from './index-cTKZe1yJ.js';
export { C as Client, e as CreateContactResponsePayload, r as CreateCorrectionResponsePayload, j as CreateLabelResponsePayload, s as CreateResponseResponsePayload, D as DeleteLabelResponsePayload, G as GetContactResponsePayload, f as GetConversationResponsePayload, k as GetLabelResponsePayload, p as GetModelResponsePayload, t as GetNoteResponsePayload, w as GetSourceResponsePayload, L as ListActionsResponsePayload, b as ListChannelsResponsePayload, c as ListContactsResponsePayload, n as ListConversationMessagesResponsePayload, v as ListConversationNotesResponsePayload, g as ListConversationsResponsePayload, d as ListLabelContactsResponsePayload, h as ListLabelConversationsResponsePayload, l as ListLabelsResponsePayload, o as ListMessagesResponsePayload, q as ListModelsResponsePayload, x as ListSourcesResponsePayload, O as Options, R as RequestFilterable, a as TransportOptions, U as UpdateContactResponsePayload, i as UpdateConversationResponsePayload, m as UpdateLabelResponsePayload, u as UpdateNoteResponsePayload, C as default } from './index-cTKZe1yJ.js';
import 'zod';

@@ -4,0 +4,0 @@

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

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

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

@@ -37,2 +37,3 @@ /**

import GetNote from "../Note/GetNote.js";
import ListConversationNotes from "../Note/ListConversationNotes.js";
import UpdateNote from "../Note/UpdateNote.js";

@@ -100,2 +101,5 @@ import RequestStandardHeaders from "../Request/RequestStandardHeaders.js";

},
note: {
list: new ListConversationNotes(this._transport),
},
};

@@ -102,0 +106,0 @@ }

@@ -66,2 +66,3 @@ /**

export { type UpdateNoteResponsePayload } from "./Note/UpdateNote.js";
export { type ListConversationNotesResponsePayload } from "./Note/ListConversationNotes.js";

@@ -68,0 +69,0 @@ // Sources

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