@great-detail/support-sdk
Advanced tools
Comparing version 0.10.5 to 0.10.6
#!/usr/bin/env node | ||
import{a as r}from"./chunk-6ZAGISJI.js";import"./chunk-FBUVV5WK.js";r.parseAsync(process.argv); | ||
import{a as r}from"./chunk-5RAK6JHI.js";import"./chunk-6UWZSZR6.js";r.parseAsync(process.argv); |
import { Command } from 'commander'; | ||
import { C as Client } from '../index-BciOGkft.js'; | ||
import { C as Client } from '../index-DKoQnN13.js'; | ||
import { Options as Options$1 } from 'ora'; | ||
@@ -4,0 +4,0 @@ import 'ky'; |
@@ -1,1 +0,1 @@ | ||
import{a}from"../chunk-6ZAGISJI.js";import"../chunk-FBUVV5WK.js";export{a as default}; | ||
import{a}from"../chunk-5RAK6JHI.js";import"../chunk-6UWZSZR6.js";export{a as default}; |
@@ -1,3 +0,3 @@ | ||
import { A as Authentication, a as Conversation } from './index-BciOGkft.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, a6 as CreateContactNoteResponse, ag as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a7 as CreateConversationNoteResponse, a3 as CreateCorrectionResponse, N as CreateLabelResponse, a4 as CreateResponseResponse, ai as CreateUploadResponse, P as DeleteLabelResponse, ak as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a1 as GetModelResponse, a8 as GetNoteResponse, al as GetNotificationWellKnownResponse, ad as GetSourceResponse, aj 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, a9 as ListContactNotesResponse, z as ListContactsResponse, X as ListConversationLabelsResponse, Z as ListConversationMessagesResponse, aa as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, _ as ListMessagesResponse, a2 as ListModelsResponse, ae as ListSourcesResponse, Y as Message, a0 as Model, a5 as Note, af as NotificationSubscription, O as Options, R as RequestFilterable, ac 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, ab as UpdateNoteResponse, ah as Upload, W as WebhookResponse, C as default } from './index-BciOGkft.js'; | ||
import { A as Authentication, a as Conversation } from './index-DKoQnN13.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, a6 as CreateContactNoteResponse, ag as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a7 as CreateConversationNoteResponse, a3 as CreateCorrectionResponse, N as CreateLabelResponse, a4 as CreateResponseResponse, ai as CreateUploadResponse, P as DeleteLabelResponse, ak as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a1 as GetModelResponse, a8 as GetNoteResponse, al as GetNotificationWellKnownResponse, ad as GetSourceResponse, aj 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, a9 as ListContactNotesResponse, z as ListContactsResponse, X as ListConversationLabelsResponse, Z as ListConversationMessagesResponse, aa as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, _ as ListMessagesResponse, a2 as ListModelsResponse, ae as ListSourcesResponse, Y as Message, a0 as Model, a5 as Note, af as NotificationSubscription, O as Options, R as RequestFilterable, ac 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, ab as UpdateNoteResponse, ah as Upload, W as WebhookResponse, C as default } from './index-DKoQnN13.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-FBUVV5WK.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-6UWZSZR6.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.5", | ||
"version": "0.10.6", | ||
"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
218900
2380