New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@great-detail/support-sdk

Package Overview
Dependencies
Maintainers
0
Versions
182
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.1.1 to 0.1.2

dist/chunk-2RK4MX2V.js

2

dist/cli.js
#!/usr/bin/env node
import{a as r}from"./chunk-WZYR7OGA.js";import"./chunk-4DLAUWLS.js";r.parseAsync(process.argv);
import{a as r}from"./chunk-2RK4MX2V.js";import"./chunk-V75IMWOW.js";r.parseAsync(process.argv);
import { Command } from 'commander';
import { C as Client } from '../index-6KJofFiG.js';
import { C as Client } from '../index-BdOHDvcP.js';
import { Options as Options$1 } from 'ora';

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

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

import{a}from"../chunk-WZYR7OGA.js";import"../chunk-4DLAUWLS.js";export{a as default};
import{a}from"../chunk-2RK4MX2V.js";import"../chunk-V75IMWOW.js";export{a as default};

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

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

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

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

import{a as y,b as p,c as a,d as n,e as i,f as l,g as f}from"./chunk-4DLAUWLS.js";var t=class s{static DEFAULT_NAME=p;name;#e;constructor({name:e=process.env[i]??s.DEFAULT_NAME,key:r=process.env[n]}={}){if(!r)throw new Error("API Key option must be specified when using Key Authentication");this.name=e,this.#e=r}async filter(e){return{...e,headers:{...e.headers,Authorization:`Basic ${btoa(this.name+":"+this.#e)}`}}}};var o=class{#e;constructor({token:e=process.env[a]}={}){if(!e)throw new Error("Access Token option must be specified when using Token Authentication");this.#e=e}async filter(e){return{...e,headers:{...e.headers,Authorization:`Bearer ${this.#e}`}}}};export{l as Client,y as DEFAULT_SUPPORT_BASE_URL,t as KeyAuthentication,f as PublicAuthentication,o as TokenAuthentication,l as default};
import{a as y,b as a,c as p,d as n,e as i,f as l,g as f}from"./chunk-V75IMWOW.js";var t=class s{static DEFAULT_NAME=a;name;#e;constructor({name:e=process.env[i]??s.DEFAULT_NAME,key:r=process.env[n]}={}){if(!r)throw new Error("API Key option must be specified when using Key Authentication");this.name=e,this.#e=r}async filter(e){return{...e,headers:{...e.headers,Authorization:`Basic ${btoa(this.name+":"+this.#e)}`}}}};var o=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(e){return{...e,headers:{...e.headers,Authorization:`Bearer ${this.#e}`}}}};export{l as Client,y as DEFAULT_SUPPORT_BASE_URL,t as KeyAuthentication,f as PublicAuthentication,o as TokenAuthentication,l as default};
{
"name": "@great-detail/support-sdk",
"version": "0.1.1",
"version": "0.1.2",
"type": "module",

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

@@ -10,3 +10,3 @@ /**

import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -18,3 +18,3 @@ export interface Options extends SendOptions {

export default class ListActionsRequest {
constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -21,0 +21,0 @@ public async send({ request = {}, ...options }: Options = {}) {

@@ -10,3 +10,3 @@ /**

import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -18,3 +18,3 @@ export interface Options extends SendOptions {

export default class ListChannelsRequest {
constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -21,0 +21,0 @@ public async send({ request = {}, ...options }: Options = {}) {

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

import { DEFAULT_SUPPORT_BASE_URL } from "../constants/index.js";
import CreateContactRequest from "../Contact/CreateContact.js";
import GetContactRequest from "../Contact/GetContact.js";

@@ -79,2 +80,3 @@ import ListContactsRequest from "../Contact/ListContacts.js";

update: new UpdateContactRequest(this._transport),
create: new CreateContactRequest(this._transport),
};

@@ -81,0 +83,0 @@ }

@@ -10,3 +10,3 @@ /**

import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -19,3 +19,3 @@ export interface Options extends SendOptions {

export default class GetContactRequest {
constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -22,0 +22,0 @@ public async send({ id, request = {}, ...options }: Options) {

@@ -10,3 +10,3 @@ /**

import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -18,3 +18,3 @@ export interface Options extends SendOptions {

export default class ListContactsRequest {
constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -21,0 +21,0 @@ public async send({ request = {}, ...options }: Options = {}) {

@@ -11,3 +11,3 @@ /**

import { z } from "zod";
import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -27,3 +27,3 @@ export interface Options extends SendOptions {

constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -30,0 +30,0 @@ public async send({ id, body, request = {}, ...options }: Options) {

@@ -10,3 +10,3 @@ /**

import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -19,3 +19,3 @@ export interface Options extends SendOptions {

export default class GetConversationRequest {
constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -22,0 +22,0 @@ public async send({ id, request = {}, ...options }: Options) {

@@ -10,3 +10,3 @@ /**

import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -18,3 +18,3 @@ export interface Options extends SendOptions {

export default class ListConversationsRequest {
constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -21,0 +21,0 @@ public async send({ request = {}, ...options }: Options = {}) {

@@ -10,3 +10,3 @@ /**

import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -19,3 +19,3 @@ export interface Options extends SendOptions {

export default class ListLabelConversations {
constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -22,0 +22,0 @@ public async send({ id, request = {}, ...options }: Options) {

@@ -11,3 +11,3 @@ /**

import { z } from "zod";
import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -25,3 +25,3 @@ export interface Options extends SendOptions {

constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -28,0 +28,0 @@ public async send({ id, body, request = {}, ...options }: Options) {

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

export { type UpdateContactResponsePayload } from "./Contact/UpdateContact.js";
export { type CreateContactResponsePayload } from "./Contact/CreateContact.js";

@@ -39,0 +40,0 @@ // Conversations

@@ -11,3 +11,3 @@ /**

import { z } from "zod";
import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -26,3 +26,3 @@ export interface Options extends SendOptions {

constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -29,0 +29,0 @@ public async send({ body, request = {}, ...options }: Options) {

@@ -10,3 +10,3 @@ /**

import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -19,3 +19,3 @@ export interface Options extends SendOptions {

export default class DeleteLabelRequest {
constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -22,0 +22,0 @@ public async send({ id, request = {}, ...options }: Options) {

@@ -10,3 +10,3 @@ /**

import Client, { SendOptions } from "../Transport/index.js";
import Transport, { SendOptions } from "../Transport/index.js";

@@ -19,3 +19,3 @@ export interface Options extends SendOptions {

export default class GetLabelRequest {
constructor(protected _transport: Client) {}
constructor(protected _transport: Transport) {}

@@ -22,0 +22,0 @@ public async send({ id, request = {}, ...options }: Options) {

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