@great-detail/support-sdk
Advanced tools
Comparing version 0.10.11 to 0.10.12
#!/usr/bin/env node | ||
import{a as r}from"./chunk-5ZXWERBD.js";import"./chunk-7KWFLNLZ.js";r.parseAsync(process.argv); | ||
import{a as r}from"./chunk-I6XRJUMF.js";import"./chunk-RHZD564G.js";r.parseAsync(process.argv); |
import { Command } from 'commander'; | ||
import { C as Client } from '../index-BmC6XVI7.js'; | ||
import { C as Client } from '../index-BodvlIIQ.js'; | ||
import { Options as Options$1 } from 'ora'; | ||
@@ -4,0 +4,0 @@ import 'ky'; |
@@ -1,1 +0,1 @@ | ||
import{a}from"../chunk-5ZXWERBD.js";import"../chunk-7KWFLNLZ.js";export{a as default}; | ||
import{a}from"../chunk-I6XRJUMF.js";import"../chunk-RHZD564G.js";export{a as default}; |
@@ -1,3 +0,3 @@ | ||
import { A as Authentication, a as Conversation } from './index-BmC6XVI7.js'; | ||
export { c as Account, d as Action, B as Boilerplate, i as BoilerplateCategory, n as Channel, C as Client, s as CompositionSection, y as Contact, j as CreateBoilerplateCategoryResponse, e as CreateBoilerplateResponse, r as CreateChannelResponse, v as CreateCompositionSectionResponse, a9 as CreateContactNoteResponse, aj as CreateContactNotificationSubscriptionResponse, z as CreateContactResponse, aa as CreateConversationNoteResponse, a6 as CreateCorrectionResponse, Q as CreateLabelResponse, a7 as CreateResponseResponse, al as CreateUploadResponse, S as DeleteLabelResponse, an as DeleteUploadResponse, G as GetAccountResponse, k as GetBoilerplateCategoryResponse, g as GetBoilerplateResponse, p as GetChannelResponse, t as GetCompositionSectionResponse, D as GetContactResponse, I as GetConversationResponse, V as GetLabelResponse, a4 as GetModelResponse, ab as GetNoteResponse, ao as GetNotificationWellKnownResponse, ag as GetSourceResponse, am as GetUploadResponse, P as Label, L as ListActionsResponse, l as ListBoilerplateCategoriesResponse, f as ListBoilerplateCategoryBoilerplatesResponse, h as ListBoilerplatesResponse, w as ListChannelCompositionSectionsResponse, a2 as ListChannelMessagesResponse, o as ListChannelsResponse, u as ListCompositionSectionsResponse, N as ListContactConversationsResponse, _ as ListContactLabelsResponse, ac as ListContactNotesResponse, E as ListContactsResponse, Z as ListConversationLabelsResponse, a0 as ListConversationMessagesResponse, ad as ListConversationNotesResponse, J as ListConversationsResponse, F as ListLabelContactsResponse, K as ListLabelConversationsResponse, X as ListLabelsResponse, a1 as ListMessagesResponse, a5 as ListModelsResponse, ah as ListSourcesResponse, $ as Message, a3 as Model, a8 as Note, ai as NotificationSubscription, O as Options, R as RequestFilterable, af as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, m as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, q as UpdateChannelResponse, x as UpdateCompositionSectionResponse, H as UpdateContactResponse, M as UpdateConversationResponse, Y as UpdateLabelResponse, ae as UpdateNoteResponse, ak as Upload, W as WebhookResponse, C as default } from './index-BmC6XVI7.js'; | ||
import { A as Authentication, a as Conversation } from './index-BodvlIIQ.js'; | ||
export { c as Account, d as Action, B as Boilerplate, j as BoilerplateCategory, o as Channel, C as Client, t as CompositionSection, z as Contact, k as CreateBoilerplateCategoryResponse, e as CreateBoilerplateResponse, s as CreateChannelResponse, w as CreateCompositionSectionResponse, aa as CreateContactNoteResponse, ak as CreateContactNotificationSubscriptionResponse, D as CreateContactResponse, ab as CreateConversationNoteResponse, a7 as CreateCorrectionResponse, S as CreateLabelResponse, a8 as CreateResponseResponse, am as CreateUploadResponse, V as DeleteLabelResponse, ao as DeleteUploadResponse, G as GetAccountResponse, l as GetBoilerplateCategoryResponse, g as GetBoilerplateResponse, q as GetChannelResponse, u as GetCompositionSectionResponse, E as GetContactResponse, J as GetConversationResponse, X as GetLabelResponse, a5 as GetModelResponse, ac as GetNoteResponse, ap as GetNotificationWellKnownResponse, ah as GetSourceResponse, an as GetUploadResponse, Q as Label, L as ListActionsResponse, m as ListBoilerplateCategoriesResponse, f as ListBoilerplateCategoryBoilerplatesResponse, h as ListBoilerplatesResponse, x as ListChannelCompositionSectionsResponse, a3 as ListChannelMessagesResponse, p as ListChannelsResponse, v as ListCompositionSectionsResponse, P as ListContactConversationsResponse, $ as ListContactLabelsResponse, ad as ListContactNotesResponse, F as ListContactsResponse, _ as ListConversationLabelsResponse, a1 as ListConversationMessagesResponse, ae as ListConversationNotesResponse, K as ListConversationsResponse, H as ListLabelContactsResponse, M as ListLabelConversationsResponse, Y as ListLabelsResponse, a2 as ListMessagesResponse, a6 as ListModelsResponse, ai as ListSourcesResponse, a0 as Message, a4 as Model, a9 as Note, aj as NotificationSubscription, O as Options, R as RequestFilterable, ag as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, U as UpdateAccountResponse, n as UpdateBoilerplateCategoryResponse, i as UpdateBoilerplateResponse, r as UpdateChannelResponse, y as UpdateCompositionSectionResponse, I as UpdateContactResponse, N as UpdateConversationResponse, Z as UpdateLabelResponse, af as UpdateNoteResponse, al as Upload, W as WebhookResponse, C as default } from './index-BodvlIIQ.js'; | ||
import 'ky'; | ||
@@ -4,0 +4,0 @@ import 'zod'; |
@@ -1,1 +0,1 @@ | ||
import{a as d,b as g,c as p,d as s,e as n,f as _,g as a,h as f,i as m,j as u,k as x,l as c,m as l,n as h,o as A}from"./chunk-7KWFLNLZ.js";var E={};d(E,{AuthError:()=>m,AuthenticationError:()=>u,AuthorizationError:()=>x,LogicError:()=>c,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[s]}={}){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[p]}={}){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 p,d as s,e as n,f as _,g as a,h as f,i as m,j as u,k as x,l as c,m as l,n as h,o as A}from"./chunk-RHZD564G.js";var E={};d(E,{AuthError:()=>m,AuthenticationError:()=>u,AuthorizationError:()=>x,LogicError:()=>c,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[s]}={}){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[p]}={}){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.11", | ||
"version": "0.10.12", | ||
"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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
2484
226467