@great-detail/support-sdk
Advanced tools
Comparing version 0.12.3 to 0.12.4
#!/usr/bin/env node | ||
import{a as r}from"./chunk-MVB4MEIN.js";import"./chunk-JRX56626.js";r.parseAsync(process.argv); | ||
import{a as r}from"./chunk-KI5HOMAH.js";import"./chunk-JSOIYG5K.js";r.parseAsync(process.argv); |
import { Command } from 'commander'; | ||
import { C as Client } from '../index-BWKySi98.js'; | ||
import { C as Client } from '../index-DVSbPCnA.js'; | ||
import { Options as Options$1 } from 'ora'; | ||
@@ -4,0 +4,0 @@ import 'ky'; |
@@ -1,1 +0,1 @@ | ||
import{a}from"../chunk-MVB4MEIN.js";import"../chunk-JRX56626.js";export{a as default}; | ||
import{a}from"../chunk-KI5HOMAH.js";import"../chunk-JSOIYG5K.js";export{a as default}; |
@@ -1,3 +0,3 @@ | ||
import { A as Authentication, a as Account, b as Conversation } from './index-BWKySi98.js'; | ||
export { d as AccountAccessToken, f as AccountConversationSettings, i as Action, B as Boilerplate, p as BoilerplateCategory, u as Channel, C as Client, z as CompositionSection, K as Contact, e as CreateAccountAccessTokenResponse, q as CreateBoilerplateCategoryResponse, k as CreateBoilerplateResponse, y as CreateChannelResponse, H as CreateCompositionSectionResponse, ah as CreateContactNoteResponse, ar as CreateContactNotificationSubscriptionResponse, M as CreateContactResponse, ai as CreateConversationNoteResponse, ae as CreateCorrectionResponse, a0 as CreateLabelResponse, af as CreateResponseResponse, at as CreateUploadResponse, D as DeleteAccountAccessTokenResponse, a1 as DeleteLabelResponse, av as DeleteUploadResponse, g as GetAccountConversationSettingsResponse, G as GetAccountResponse, r as GetBoilerplateCategoryResponse, m as GetBoilerplateResponse, w as GetChannelResponse, E as GetCompositionSectionResponse, N as GetContactResponse, V as GetConversationResponse, a2 as GetLabelResponse, ac as GetModelResponse, aj as GetNoteResponse, aw as GetNotificationWellKnownResponse, ao as GetSourceResponse, au as GetUploadResponse, $ as Label, L as ListAccountAccessTokensResponse, j as ListActionsResponse, s as ListBoilerplateCategoriesResponse, l as ListBoilerplateCategoryBoilerplatesResponse, n as ListBoilerplatesResponse, I as ListChannelCompositionSectionsResponse, aa as ListChannelMessagesResponse, v as ListChannelsResponse, F as ListCompositionSectionsResponse, _ as ListContactConversationsResponse, a6 as ListContactLabelsResponse, ak as ListContactNotesResponse, P as ListContactsResponse, a5 as ListConversationLabelsResponse, a8 as ListConversationMessagesResponse, al as ListConversationNotesResponse, X as ListConversationsResponse, Q as ListLabelContactsResponse, Y as ListLabelConversationsResponse, a3 as ListLabelsResponse, a9 as ListMessagesResponse, ad as ListModelsResponse, ap as ListSourcesResponse, a7 as Message, ab as Model, ag as Note, aq as NotificationSubscription, O as Options, R as RequestFilterable, an as Source, c as TransportOptions, T as TwilioSendgridChannelSyncResponse, h as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, t as UpdateBoilerplateCategoryResponse, o as UpdateBoilerplateResponse, x as UpdateChannelResponse, J as UpdateCompositionSectionResponse, S as UpdateContactResponse, Z as UpdateConversationResponse, a4 as UpdateLabelResponse, am as UpdateNoteResponse, as as Upload, W as WebhookResponse, C as default } from './index-BWKySi98.js'; | ||
import { A as Authentication, a as Account, b as Conversation } from './index-DVSbPCnA.js'; | ||
export { d as AccountAccessToken, f as AccountConversationSettings, i as Action, B as Boilerplate, p as BoilerplateCategory, u as Channel, C as Client, z as CompositionSection, K as Contact, e as CreateAccountAccessTokenResponse, q as CreateBoilerplateCategoryResponse, k as CreateBoilerplateResponse, y as CreateChannelResponse, H as CreateCompositionSectionResponse, ah as CreateContactNoteResponse, ar as CreateContactNotificationSubscriptionResponse, M as CreateContactResponse, ai as CreateConversationNoteResponse, ae as CreateCorrectionResponse, a0 as CreateLabelResponse, af as CreateResponseResponse, at as CreateUploadResponse, D as DeleteAccountAccessTokenResponse, a1 as DeleteLabelResponse, av as DeleteUploadResponse, g as GetAccountConversationSettingsResponse, G as GetAccountResponse, r as GetBoilerplateCategoryResponse, m as GetBoilerplateResponse, w as GetChannelResponse, E as GetCompositionSectionResponse, N as GetContactResponse, V as GetConversationResponse, a2 as GetLabelResponse, ac as GetModelResponse, aj as GetNoteResponse, aw as GetNotificationWellKnownResponse, ao as GetSourceResponse, au as GetUploadResponse, $ as Label, L as ListAccountAccessTokensResponse, j as ListActionsResponse, s as ListBoilerplateCategoriesResponse, l as ListBoilerplateCategoryBoilerplatesResponse, n as ListBoilerplatesResponse, I as ListChannelCompositionSectionsResponse, aa as ListChannelMessagesResponse, v as ListChannelsResponse, F as ListCompositionSectionsResponse, _ as ListContactConversationsResponse, a6 as ListContactLabelsResponse, ak as ListContactNotesResponse, P as ListContactsResponse, a5 as ListConversationLabelsResponse, a8 as ListConversationMessagesResponse, al as ListConversationNotesResponse, X as ListConversationsResponse, Q as ListLabelContactsResponse, Y as ListLabelConversationsResponse, a3 as ListLabelsResponse, a9 as ListMessagesResponse, ad as ListModelsResponse, ap as ListSourcesResponse, a7 as Message, ab as Model, ag as Note, aq as NotificationSubscription, O as Options, R as RequestFilterable, an as Source, c as TransportOptions, T as TwilioSendgridChannelSyncResponse, h as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, t as UpdateBoilerplateCategoryResponse, o as UpdateBoilerplateResponse, x as UpdateChannelResponse, J as UpdateCompositionSectionResponse, S as UpdateContactResponse, Z as UpdateConversationResponse, a4 as UpdateLabelResponse, am as UpdateNoteResponse, as as Upload, W as WebhookResponse, C as default } from './index-DVSbPCnA.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-JRX56626.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{o as BearerAuthentication,A as Client,_ as DEFAULT_SUPPORT_BASE_URL,E as Error,t as KeyAuthentication,g as PublicAuthentication,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-JSOIYG5K.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{o as BearerAuthentication,A as Client,_ as DEFAULT_SUPPORT_BASE_URL,E as Error,t as KeyAuthentication,g as PublicAuthentication,A as default}; |
{ | ||
"name": "@great-detail/support-sdk", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"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
297073
3256