@great-detail/support-sdk 0.11.7 → 0.11.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { Command } from 'commander';
2
- import { C as Client } from '../index-ClibuwhI.cjs';
2
+ import { C as Client } from '../index-Bi1ca9Q3.cjs';
3
3
  import { Options as Options$1 } from 'ora';
4
4
  import 'ky';
5
5
  import 'zod';
@@ -1,5 +1,5 @@
1
1
  import { Command } from 'commander';
2
- import { C as Client } from '../index-ClibuwhI.js';
2
+ import { C as Client } from '../index-Bi1ca9Q3.js';
3
3
  import { Options as Options$1 } from 'ora';
4
4
  import 'ky';
5
5
  import 'zod';
@@ -500,6 +500,7 @@ type Conversation = {
500
500
  hasEnded: boolean;
501
501
  contacts: string[];
502
502
  status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
503
+ autoResolveAt: string;
503
504
  channel: string;
504
505
  } & ResponseTimestamp;
505
506
 
@@ -745,6 +746,7 @@ declare class CreateConversationNote {
745
746
 
746
747
  type UpdateConversationPayload = {
747
748
  status?: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
749
+ autoResolveAt?: string;
748
750
  hasEnded?: boolean;
749
751
  };
750
752
  interface UpdateConversationOptions {
@@ -1631,6 +1633,7 @@ type AccountConversationSettings = {
1631
1633
  account: string;
1632
1634
  defaultName?: string;
1633
1635
  responseDuration?: string;
1636
+ resolveDuration?: string;
1634
1637
  } & ResponseTimestamp;
1635
1638
 
1636
1639
  type UpdateAccountConversationSettingsPayload = {
@@ -500,6 +500,7 @@ type Conversation = {
500
500
  hasEnded: boolean;
501
501
  contacts: string[];
502
502
  status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
503
+ autoResolveAt: string;
503
504
  channel: string;
504
505
  } & ResponseTimestamp;
505
506
 
@@ -745,6 +746,7 @@ declare class CreateConversationNote {
745
746
 
746
747
  type UpdateConversationPayload = {
747
748
  status?: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
749
+ autoResolveAt?: string;
748
750
  hasEnded?: boolean;
749
751
  };
750
752
  interface UpdateConversationOptions {
@@ -1631,6 +1633,7 @@ type AccountConversationSettings = {
1631
1633
  account: string;
1632
1634
  defaultName?: string;
1633
1635
  responseDuration?: string;
1636
+ resolveDuration?: string;
1634
1637
  } & ResponseTimestamp;
1635
1638
 
1636
1639
  type UpdateAccountConversationSettingsPayload = {
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as Authentication, a as Account, b as Conversation } from './index-ClibuwhI.cjs';
2
- export { d as AccountConversationSettings, g as Action, B as Boilerplate, m as BoilerplateCategory, r as Channel, C as Client, w as CompositionSection, F as Contact, n as CreateBoilerplateCategoryResponse, h as CreateBoilerplateResponse, v as CreateChannelResponse, z as CreateCompositionSectionResponse, ad as CreateContactNoteResponse, an as CreateContactNotificationSubscriptionResponse, H as CreateContactResponse, ae as CreateConversationNoteResponse, aa as CreateCorrectionResponse, Y as CreateLabelResponse, ab as CreateResponseResponse, ap as CreateUploadResponse, Z as DeleteLabelResponse, ar as DeleteUploadResponse, e as GetAccountConversationSettingsResponse, G as GetAccountResponse, o as GetBoilerplateCategoryResponse, j as GetBoilerplateResponse, t as GetChannelResponse, x as GetCompositionSectionResponse, I as GetContactResponse, N as GetConversationResponse, _ as GetLabelResponse, a8 as GetModelResponse, af as GetNoteResponse, as as GetNotificationWellKnownResponse, ak as GetSourceResponse, aq as GetUploadResponse, X as Label, L as ListActionsResponse, p as ListBoilerplateCategoriesResponse, i as ListBoilerplateCategoryBoilerplatesResponse, k as ListBoilerplatesResponse, D as ListChannelCompositionSectionsResponse, a6 as ListChannelMessagesResponse, s as ListChannelsResponse, y as ListCompositionSectionsResponse, V as ListContactConversationsResponse, a2 as ListContactLabelsResponse, ag as ListContactNotesResponse, J as ListContactsResponse, a1 as ListConversationLabelsResponse, a4 as ListConversationMessagesResponse, ah as ListConversationNotesResponse, P as ListConversationsResponse, K as ListLabelContactsResponse, Q as ListLabelConversationsResponse, $ as ListLabelsResponse, a5 as ListMessagesResponse, a9 as ListModelsResponse, al as ListSourcesResponse, a3 as Message, a7 as Model, ac as Note, am as NotificationSubscription, O as Options, R as RequestFilterable, aj as Source, c as TransportOptions, T as TwilioSendgridChannelSyncResponse, f as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, q as UpdateBoilerplateCategoryResponse, l as UpdateBoilerplateResponse, u as UpdateChannelResponse, E as UpdateCompositionSectionResponse, M as UpdateContactResponse, S as UpdateConversationResponse, a0 as UpdateLabelResponse, ai as UpdateNoteResponse, ao as Upload, W as WebhookResponse, C as default } from './index-ClibuwhI.cjs';
1
+ import { A as Authentication, a as Account, b as Conversation } from './index-Bi1ca9Q3.cjs';
2
+ export { d as AccountConversationSettings, g as Action, B as Boilerplate, m as BoilerplateCategory, r as Channel, C as Client, w as CompositionSection, F as Contact, n as CreateBoilerplateCategoryResponse, h as CreateBoilerplateResponse, v as CreateChannelResponse, z as CreateCompositionSectionResponse, ad as CreateContactNoteResponse, an as CreateContactNotificationSubscriptionResponse, H as CreateContactResponse, ae as CreateConversationNoteResponse, aa as CreateCorrectionResponse, Y as CreateLabelResponse, ab as CreateResponseResponse, ap as CreateUploadResponse, Z as DeleteLabelResponse, ar as DeleteUploadResponse, e as GetAccountConversationSettingsResponse, G as GetAccountResponse, o as GetBoilerplateCategoryResponse, j as GetBoilerplateResponse, t as GetChannelResponse, x as GetCompositionSectionResponse, I as GetContactResponse, N as GetConversationResponse, _ as GetLabelResponse, a8 as GetModelResponse, af as GetNoteResponse, as as GetNotificationWellKnownResponse, ak as GetSourceResponse, aq as GetUploadResponse, X as Label, L as ListActionsResponse, p as ListBoilerplateCategoriesResponse, i as ListBoilerplateCategoryBoilerplatesResponse, k as ListBoilerplatesResponse, D as ListChannelCompositionSectionsResponse, a6 as ListChannelMessagesResponse, s as ListChannelsResponse, y as ListCompositionSectionsResponse, V as ListContactConversationsResponse, a2 as ListContactLabelsResponse, ag as ListContactNotesResponse, J as ListContactsResponse, a1 as ListConversationLabelsResponse, a4 as ListConversationMessagesResponse, ah as ListConversationNotesResponse, P as ListConversationsResponse, K as ListLabelContactsResponse, Q as ListLabelConversationsResponse, $ as ListLabelsResponse, a5 as ListMessagesResponse, a9 as ListModelsResponse, al as ListSourcesResponse, a3 as Message, a7 as Model, ac as Note, am as NotificationSubscription, O as Options, R as RequestFilterable, aj as Source, c as TransportOptions, T as TwilioSendgridChannelSyncResponse, f as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, q as UpdateBoilerplateCategoryResponse, l as UpdateBoilerplateResponse, u as UpdateChannelResponse, E as UpdateCompositionSectionResponse, M as UpdateContactResponse, S as UpdateConversationResponse, a0 as UpdateLabelResponse, ai as UpdateNoteResponse, ao as Upload, W as WebhookResponse, C as default } from './index-Bi1ca9Q3.cjs';
3
3
  import 'ky';
4
4
  import 'zod';
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as Authentication, a as Account, b as Conversation } from './index-ClibuwhI.js';
2
- export { d as AccountConversationSettings, g as Action, B as Boilerplate, m as BoilerplateCategory, r as Channel, C as Client, w as CompositionSection, F as Contact, n as CreateBoilerplateCategoryResponse, h as CreateBoilerplateResponse, v as CreateChannelResponse, z as CreateCompositionSectionResponse, ad as CreateContactNoteResponse, an as CreateContactNotificationSubscriptionResponse, H as CreateContactResponse, ae as CreateConversationNoteResponse, aa as CreateCorrectionResponse, Y as CreateLabelResponse, ab as CreateResponseResponse, ap as CreateUploadResponse, Z as DeleteLabelResponse, ar as DeleteUploadResponse, e as GetAccountConversationSettingsResponse, G as GetAccountResponse, o as GetBoilerplateCategoryResponse, j as GetBoilerplateResponse, t as GetChannelResponse, x as GetCompositionSectionResponse, I as GetContactResponse, N as GetConversationResponse, _ as GetLabelResponse, a8 as GetModelResponse, af as GetNoteResponse, as as GetNotificationWellKnownResponse, ak as GetSourceResponse, aq as GetUploadResponse, X as Label, L as ListActionsResponse, p as ListBoilerplateCategoriesResponse, i as ListBoilerplateCategoryBoilerplatesResponse, k as ListBoilerplatesResponse, D as ListChannelCompositionSectionsResponse, a6 as ListChannelMessagesResponse, s as ListChannelsResponse, y as ListCompositionSectionsResponse, V as ListContactConversationsResponse, a2 as ListContactLabelsResponse, ag as ListContactNotesResponse, J as ListContactsResponse, a1 as ListConversationLabelsResponse, a4 as ListConversationMessagesResponse, ah as ListConversationNotesResponse, P as ListConversationsResponse, K as ListLabelContactsResponse, Q as ListLabelConversationsResponse, $ as ListLabelsResponse, a5 as ListMessagesResponse, a9 as ListModelsResponse, al as ListSourcesResponse, a3 as Message, a7 as Model, ac as Note, am as NotificationSubscription, O as Options, R as RequestFilterable, aj as Source, c as TransportOptions, T as TwilioSendgridChannelSyncResponse, f as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, q as UpdateBoilerplateCategoryResponse, l as UpdateBoilerplateResponse, u as UpdateChannelResponse, E as UpdateCompositionSectionResponse, M as UpdateContactResponse, S as UpdateConversationResponse, a0 as UpdateLabelResponse, ai as UpdateNoteResponse, ao as Upload, W as WebhookResponse, C as default } from './index-ClibuwhI.js';
1
+ import { A as Authentication, a as Account, b as Conversation } from './index-Bi1ca9Q3.js';
2
+ export { d as AccountConversationSettings, g as Action, B as Boilerplate, m as BoilerplateCategory, r as Channel, C as Client, w as CompositionSection, F as Contact, n as CreateBoilerplateCategoryResponse, h as CreateBoilerplateResponse, v as CreateChannelResponse, z as CreateCompositionSectionResponse, ad as CreateContactNoteResponse, an as CreateContactNotificationSubscriptionResponse, H as CreateContactResponse, ae as CreateConversationNoteResponse, aa as CreateCorrectionResponse, Y as CreateLabelResponse, ab as CreateResponseResponse, ap as CreateUploadResponse, Z as DeleteLabelResponse, ar as DeleteUploadResponse, e as GetAccountConversationSettingsResponse, G as GetAccountResponse, o as GetBoilerplateCategoryResponse, j as GetBoilerplateResponse, t as GetChannelResponse, x as GetCompositionSectionResponse, I as GetContactResponse, N as GetConversationResponse, _ as GetLabelResponse, a8 as GetModelResponse, af as GetNoteResponse, as as GetNotificationWellKnownResponse, ak as GetSourceResponse, aq as GetUploadResponse, X as Label, L as ListActionsResponse, p as ListBoilerplateCategoriesResponse, i as ListBoilerplateCategoryBoilerplatesResponse, k as ListBoilerplatesResponse, D as ListChannelCompositionSectionsResponse, a6 as ListChannelMessagesResponse, s as ListChannelsResponse, y as ListCompositionSectionsResponse, V as ListContactConversationsResponse, a2 as ListContactLabelsResponse, ag as ListContactNotesResponse, J as ListContactsResponse, a1 as ListConversationLabelsResponse, a4 as ListConversationMessagesResponse, ah as ListConversationNotesResponse, P as ListConversationsResponse, K as ListLabelContactsResponse, Q as ListLabelConversationsResponse, $ as ListLabelsResponse, a5 as ListMessagesResponse, a9 as ListModelsResponse, al as ListSourcesResponse, a3 as Message, a7 as Model, ac as Note, am as NotificationSubscription, O as Options, R as RequestFilterable, aj as Source, c as TransportOptions, T as TwilioSendgridChannelSyncResponse, f as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, q as UpdateBoilerplateCategoryResponse, l as UpdateBoilerplateResponse, u as UpdateChannelResponse, E as UpdateCompositionSectionResponse, M as UpdateContactResponse, S as UpdateConversationResponse, a0 as UpdateLabelResponse, ai as UpdateNoteResponse, ao as Upload, W as WebhookResponse, C as default } from './index-Bi1ca9Q3.js';
3
3
  import 'ky';
4
4
  import 'zod';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@great-detail/support-sdk",
3
- "version": "0.11.7",
3
+ "version": "0.11.9",
4
4
  "type": "module",
5
5
  "description": "JavaScript SDK for the Great Detail Support System",
6
6
  "author": "Great Detail Ltd <info@greatdetail.com>",