@great-detail/support-sdk
Advanced tools
Comparing version 0.10.8 to 0.10.9
#!/usr/bin/env node | ||
import{a as r}from"./chunk-WWEXNIIV.js";import"./chunk-NSQETRTT.js";r.parseAsync(process.argv); | ||
import{a as r}from"./chunk-6MHKGWE2.js";import"./chunk-3DJFA5TP.js";r.parseAsync(process.argv); |
import { Command } from 'commander'; | ||
import { C as Client } from '../index-ylqKeL9v.js'; | ||
import { C as Client } from '../index-DREeHTDQ.js'; | ||
import { Options as Options$1 } from 'ora'; | ||
@@ -4,0 +4,0 @@ import 'ky'; |
@@ -1,1 +0,1 @@ | ||
import{a}from"../chunk-WWEXNIIV.js";import"../chunk-NSQETRTT.js";export{a as default}; | ||
import{a}from"../chunk-6MHKGWE2.js";import"../chunk-3DJFA5TP.js";export{a as default}; |
@@ -1,3 +0,3 @@ | ||
import { A as Authentication, a as Conversation } from './index-ylqKeL9v.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, a7 as CreateContactNoteResponse, ah as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a8 as CreateConversationNoteResponse, a4 as CreateCorrectionResponse, N as CreateLabelResponse, a5 as CreateResponseResponse, aj as CreateUploadResponse, P as DeleteLabelResponse, al as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a2 as GetModelResponse, a9 as GetNoteResponse, am as GetNotificationWellKnownResponse, ae as GetSourceResponse, ak as GetUploadResponse, M as Label, L as ListActionsResponse, j as ListBoilerplateCategoriesResponse, e as ListBoilerplateCategoryBoilerplatesResponse, f as ListBoilerplatesResponse, u as ListChannelCompositionSectionsResponse, a0 as ListChannelMessagesResponse, m as ListChannelsResponse, s as ListCompositionSectionsResponse, K as ListContactConversationsResponse, Y as ListContactLabelsResponse, aa as ListContactNotesResponse, z as ListContactsResponse, X as ListConversationLabelsResponse, _ as ListConversationMessagesResponse, ab as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, $ as ListMessagesResponse, a3 as ListModelsResponse, af as ListSourcesResponse, Z as Message, a1 as Model, a6 as Note, ag as NotificationSubscription, O as Options, R as RequestFilterable, ad 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, ac as UpdateNoteResponse, ai as Upload, W as WebhookResponse, C as default } from './index-ylqKeL9v.js'; | ||
import { A as Authentication, a as Conversation } from './index-DREeHTDQ.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, a7 as CreateContactNoteResponse, ah as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a8 as CreateConversationNoteResponse, a4 as CreateCorrectionResponse, N as CreateLabelResponse, a5 as CreateResponseResponse, aj as CreateUploadResponse, P as DeleteLabelResponse, al as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a2 as GetModelResponse, a9 as GetNoteResponse, am as GetNotificationWellKnownResponse, ae as GetSourceResponse, ak as GetUploadResponse, M as Label, L as ListActionsResponse, j as ListBoilerplateCategoriesResponse, e as ListBoilerplateCategoryBoilerplatesResponse, f as ListBoilerplatesResponse, u as ListChannelCompositionSectionsResponse, a0 as ListChannelMessagesResponse, m as ListChannelsResponse, s as ListCompositionSectionsResponse, K as ListContactConversationsResponse, Y as ListContactLabelsResponse, aa as ListContactNotesResponse, z as ListContactsResponse, X as ListConversationLabelsResponse, _ as ListConversationMessagesResponse, ab as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, $ as ListMessagesResponse, a3 as ListModelsResponse, af as ListSourcesResponse, Z as Message, a1 as Model, a6 as Note, ag as NotificationSubscription, O as Options, R as RequestFilterable, ad 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, ac as UpdateNoteResponse, ai as Upload, W as WebhookResponse, C as default } from './index-DREeHTDQ.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-NSQETRTT.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-3DJFA5TP.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.10.8", | ||
"version": "0.10.9", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
225966