@great-detail/support-sdk 0.15.1 → 0.15.2

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-CGgn2yv_.cjs';
2
+ import { C as Client } from '../index-B6Pqzf3c.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-CGgn2yv_.js';
2
+ import { C as Client } from '../index-B6Pqzf3c.js';
3
3
  import { Options as Options$1 } from 'ora';
4
4
  import 'ky';
5
5
  import 'zod';
@@ -209,13 +209,28 @@ declare class GetMessageFrequencyStatistics {
209
209
  * @author Dom Webber <dom.webber@greatdetail.com>
210
210
  * @see https://greatdetail.com
211
211
  */
212
+ type Nullable<T> = T | null;
213
+
214
+ /**
215
+ * Great Detail Support System.
216
+ *
217
+ * @copyright 2024 Great Detail Ltd
218
+ * @author Great Detail Ltd <info@greatdetail.com>
219
+ * @author Dom Webber <dom.webber@greatdetail.com>
220
+ * @see https://greatdetail.com
221
+ */
222
+
212
223
  type Source = {
213
224
  id: string;
214
225
  name: string;
215
226
  category: string;
216
- url?: string;
217
- icon?: string;
227
+ url?: Nullable<string>;
218
228
  disambiguatingDescription: string;
229
+ adornment?: Nullable<"popular" | "sponsored" | "new" | (string & NonNullable<unknown>)>;
230
+ /**
231
+ * @deprecated Since 2024-12-04
232
+ */
233
+ icon?: Nullable<never>;
219
234
  };
220
235
 
221
236
  interface ListSourcesOptions {
@@ -398,16 +413,6 @@ declare class GetModel {
398
413
  };
399
414
  }
400
415
 
401
- /**
402
- * Great Detail Support System.
403
- *
404
- * @copyright 2024 Great Detail Ltd
405
- * @author Great Detail Ltd <info@greatdetail.com>
406
- * @author Dom Webber <dom.webber@greatdetail.com>
407
- * @see https://greatdetail.com
408
- */
409
- type Nullable<T> = T | null;
410
-
411
416
  /**
412
417
  * Great Detail Support System.
413
418
  *
@@ -209,13 +209,28 @@ declare class GetMessageFrequencyStatistics {
209
209
  * @author Dom Webber <dom.webber@greatdetail.com>
210
210
  * @see https://greatdetail.com
211
211
  */
212
+ type Nullable<T> = T | null;
213
+
214
+ /**
215
+ * Great Detail Support System.
216
+ *
217
+ * @copyright 2024 Great Detail Ltd
218
+ * @author Great Detail Ltd <info@greatdetail.com>
219
+ * @author Dom Webber <dom.webber@greatdetail.com>
220
+ * @see https://greatdetail.com
221
+ */
222
+
212
223
  type Source = {
213
224
  id: string;
214
225
  name: string;
215
226
  category: string;
216
- url?: string;
217
- icon?: string;
227
+ url?: Nullable<string>;
218
228
  disambiguatingDescription: string;
229
+ adornment?: Nullable<"popular" | "sponsored" | "new" | (string & NonNullable<unknown>)>;
230
+ /**
231
+ * @deprecated Since 2024-12-04
232
+ */
233
+ icon?: Nullable<never>;
219
234
  };
220
235
 
221
236
  interface ListSourcesOptions {
@@ -398,16 +413,6 @@ declare class GetModel {
398
413
  };
399
414
  }
400
415
 
401
- /**
402
- * Great Detail Support System.
403
- *
404
- * @copyright 2024 Great Detail Ltd
405
- * @author Great Detail Ltd <info@greatdetail.com>
406
- * @author Dom Webber <dom.webber@greatdetail.com>
407
- * @see https://greatdetail.com
408
- */
409
- type Nullable<T> = T | null;
410
-
411
416
  /**
412
417
  * Great Detail Support System.
413
418
  *
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as Account, a as Conversation } from './index-CGgn2yv_.cjs';
2
- export { d as AccountAccessToken, g as AccountConversationSettings, j as Action, B as BasicAuthentication, c as BearerAuthentication, r as BoilerplateCategory, l as BoilerplateContent, w as Channel, C as Client, F as CompositionSection, Q as Contact, e as CreateAccountAccessTokenResponse, s as CreateBoilerplateCategoryResponse, m as CreateBoilerplateContentResponse, E as CreateChannelResponse, J as CreateCompositionSectionResponse, al as CreateContactNoteResponse, av as CreateContactNotificationSubscriptionResponse, S as CreateContactResponse, am as CreateConversationNoteResponse, ai as CreateCorrectionResponse, a4 as CreateLabelResponse, aj as CreateResponseResponse, ax as CreateUploadResponse, D as DeleteAccountAccessTokenResponse, a5 as DeleteLabelResponse, az as DeleteUploadResponse, f as GetAccountAccessTokenResponse, h as GetAccountConversationSettingsResponse, G as GetAccountResponse, t as GetBoilerplateCategoryResponse, o as GetBoilerplateContentResponse, y as GetChannelResponse, H as GetCompositionSectionResponse, V as GetContactResponse, _ as GetConversationResponse, a6 as GetLabelResponse, ag as GetModelResponse, an as GetNoteResponse, aA as GetNotificationWellKnownResponse, as as GetSourceResponse, ay as GetUploadResponse, B as KeyAuthentication, a3 as Label, L as ListAccountAccessTokensResponse, k as ListActionsResponse, u as ListBoilerplateCategoriesResponse, n as ListBoilerplateCategoryBoilerplateContentsResponse, p as ListBoilerplateContentsResponse, K as ListChannelCompositionSectionsResponse, ae as ListChannelMessagesResponse, x as ListChannelsResponse, I as ListCompositionSectionsResponse, a2 as ListContactConversationsResponse, aa as ListContactLabelsResponse, ao as ListContactNotesResponse, X as ListContactsResponse, a9 as ListConversationLabelsResponse, ac as ListConversationMessagesResponse, ap as ListConversationNotesResponse, $ as ListConversationsResponse, Y as ListLabelContactsResponse, a0 as ListLabelConversationsResponse, a7 as ListLabelsResponse, ad as ListMessagesResponse, ah as ListModelsResponse, at as ListSourcesResponse, ab as Message, M as MetaWhatsappGetBusinessProfileResponse, af as Model, ak as Note, au as NotificationSubscription, O as Options, P as PublicAuthentication, R as RequestFilterable, ar as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, i as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, v as UpdateBoilerplateCategoryResponse, q as UpdateBoilerplateContentResponse, z as UpdateChannelResponse, N as UpdateCompositionSectionResponse, Z as UpdateContactResponse, a1 as UpdateConversationResponse, a8 as UpdateLabelResponse, aq as UpdateNoteResponse, aw as Upload, W as WebhookResponse, C as default } from './index-CGgn2yv_.cjs';
1
+ import { A as Account, a as Conversation } from './index-B6Pqzf3c.cjs';
2
+ export { d as AccountAccessToken, g as AccountConversationSettings, j as Action, B as BasicAuthentication, c as BearerAuthentication, r as BoilerplateCategory, l as BoilerplateContent, w as Channel, C as Client, F as CompositionSection, Q as Contact, e as CreateAccountAccessTokenResponse, s as CreateBoilerplateCategoryResponse, m as CreateBoilerplateContentResponse, E as CreateChannelResponse, J as CreateCompositionSectionResponse, al as CreateContactNoteResponse, av as CreateContactNotificationSubscriptionResponse, S as CreateContactResponse, am as CreateConversationNoteResponse, ai as CreateCorrectionResponse, a4 as CreateLabelResponse, aj as CreateResponseResponse, ax as CreateUploadResponse, D as DeleteAccountAccessTokenResponse, a5 as DeleteLabelResponse, az as DeleteUploadResponse, f as GetAccountAccessTokenResponse, h as GetAccountConversationSettingsResponse, G as GetAccountResponse, t as GetBoilerplateCategoryResponse, o as GetBoilerplateContentResponse, y as GetChannelResponse, H as GetCompositionSectionResponse, V as GetContactResponse, _ as GetConversationResponse, a6 as GetLabelResponse, ag as GetModelResponse, an as GetNoteResponse, aA as GetNotificationWellKnownResponse, as as GetSourceResponse, ay as GetUploadResponse, B as KeyAuthentication, a3 as Label, L as ListAccountAccessTokensResponse, k as ListActionsResponse, u as ListBoilerplateCategoriesResponse, n as ListBoilerplateCategoryBoilerplateContentsResponse, p as ListBoilerplateContentsResponse, K as ListChannelCompositionSectionsResponse, ae as ListChannelMessagesResponse, x as ListChannelsResponse, I as ListCompositionSectionsResponse, a2 as ListContactConversationsResponse, aa as ListContactLabelsResponse, ao as ListContactNotesResponse, X as ListContactsResponse, a9 as ListConversationLabelsResponse, ac as ListConversationMessagesResponse, ap as ListConversationNotesResponse, $ as ListConversationsResponse, Y as ListLabelContactsResponse, a0 as ListLabelConversationsResponse, a7 as ListLabelsResponse, ad as ListMessagesResponse, ah as ListModelsResponse, at as ListSourcesResponse, ab as Message, M as MetaWhatsappGetBusinessProfileResponse, af as Model, ak as Note, au as NotificationSubscription, O as Options, P as PublicAuthentication, R as RequestFilterable, ar as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, i as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, v as UpdateBoilerplateCategoryResponse, q as UpdateBoilerplateContentResponse, z as UpdateChannelResponse, N as UpdateCompositionSectionResponse, Z as UpdateContactResponse, a1 as UpdateConversationResponse, a8 as UpdateLabelResponse, aq as UpdateNoteResponse, aw as Upload, W as WebhookResponse, C as default } from './index-B6Pqzf3c.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 Account, a as Conversation } from './index-CGgn2yv_.js';
2
- export { d as AccountAccessToken, g as AccountConversationSettings, j as Action, B as BasicAuthentication, c as BearerAuthentication, r as BoilerplateCategory, l as BoilerplateContent, w as Channel, C as Client, F as CompositionSection, Q as Contact, e as CreateAccountAccessTokenResponse, s as CreateBoilerplateCategoryResponse, m as CreateBoilerplateContentResponse, E as CreateChannelResponse, J as CreateCompositionSectionResponse, al as CreateContactNoteResponse, av as CreateContactNotificationSubscriptionResponse, S as CreateContactResponse, am as CreateConversationNoteResponse, ai as CreateCorrectionResponse, a4 as CreateLabelResponse, aj as CreateResponseResponse, ax as CreateUploadResponse, D as DeleteAccountAccessTokenResponse, a5 as DeleteLabelResponse, az as DeleteUploadResponse, f as GetAccountAccessTokenResponse, h as GetAccountConversationSettingsResponse, G as GetAccountResponse, t as GetBoilerplateCategoryResponse, o as GetBoilerplateContentResponse, y as GetChannelResponse, H as GetCompositionSectionResponse, V as GetContactResponse, _ as GetConversationResponse, a6 as GetLabelResponse, ag as GetModelResponse, an as GetNoteResponse, aA as GetNotificationWellKnownResponse, as as GetSourceResponse, ay as GetUploadResponse, B as KeyAuthentication, a3 as Label, L as ListAccountAccessTokensResponse, k as ListActionsResponse, u as ListBoilerplateCategoriesResponse, n as ListBoilerplateCategoryBoilerplateContentsResponse, p as ListBoilerplateContentsResponse, K as ListChannelCompositionSectionsResponse, ae as ListChannelMessagesResponse, x as ListChannelsResponse, I as ListCompositionSectionsResponse, a2 as ListContactConversationsResponse, aa as ListContactLabelsResponse, ao as ListContactNotesResponse, X as ListContactsResponse, a9 as ListConversationLabelsResponse, ac as ListConversationMessagesResponse, ap as ListConversationNotesResponse, $ as ListConversationsResponse, Y as ListLabelContactsResponse, a0 as ListLabelConversationsResponse, a7 as ListLabelsResponse, ad as ListMessagesResponse, ah as ListModelsResponse, at as ListSourcesResponse, ab as Message, M as MetaWhatsappGetBusinessProfileResponse, af as Model, ak as Note, au as NotificationSubscription, O as Options, P as PublicAuthentication, R as RequestFilterable, ar as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, i as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, v as UpdateBoilerplateCategoryResponse, q as UpdateBoilerplateContentResponse, z as UpdateChannelResponse, N as UpdateCompositionSectionResponse, Z as UpdateContactResponse, a1 as UpdateConversationResponse, a8 as UpdateLabelResponse, aq as UpdateNoteResponse, aw as Upload, W as WebhookResponse, C as default } from './index-CGgn2yv_.js';
1
+ import { A as Account, a as Conversation } from './index-B6Pqzf3c.js';
2
+ export { d as AccountAccessToken, g as AccountConversationSettings, j as Action, B as BasicAuthentication, c as BearerAuthentication, r as BoilerplateCategory, l as BoilerplateContent, w as Channel, C as Client, F as CompositionSection, Q as Contact, e as CreateAccountAccessTokenResponse, s as CreateBoilerplateCategoryResponse, m as CreateBoilerplateContentResponse, E as CreateChannelResponse, J as CreateCompositionSectionResponse, al as CreateContactNoteResponse, av as CreateContactNotificationSubscriptionResponse, S as CreateContactResponse, am as CreateConversationNoteResponse, ai as CreateCorrectionResponse, a4 as CreateLabelResponse, aj as CreateResponseResponse, ax as CreateUploadResponse, D as DeleteAccountAccessTokenResponse, a5 as DeleteLabelResponse, az as DeleteUploadResponse, f as GetAccountAccessTokenResponse, h as GetAccountConversationSettingsResponse, G as GetAccountResponse, t as GetBoilerplateCategoryResponse, o as GetBoilerplateContentResponse, y as GetChannelResponse, H as GetCompositionSectionResponse, V as GetContactResponse, _ as GetConversationResponse, a6 as GetLabelResponse, ag as GetModelResponse, an as GetNoteResponse, aA as GetNotificationWellKnownResponse, as as GetSourceResponse, ay as GetUploadResponse, B as KeyAuthentication, a3 as Label, L as ListAccountAccessTokensResponse, k as ListActionsResponse, u as ListBoilerplateCategoriesResponse, n as ListBoilerplateCategoryBoilerplateContentsResponse, p as ListBoilerplateContentsResponse, K as ListChannelCompositionSectionsResponse, ae as ListChannelMessagesResponse, x as ListChannelsResponse, I as ListCompositionSectionsResponse, a2 as ListContactConversationsResponse, aa as ListContactLabelsResponse, ao as ListContactNotesResponse, X as ListContactsResponse, a9 as ListConversationLabelsResponse, ac as ListConversationMessagesResponse, ap as ListConversationNotesResponse, $ as ListConversationsResponse, Y as ListLabelContactsResponse, a0 as ListLabelConversationsResponse, a7 as ListLabelsResponse, ad as ListMessagesResponse, ah as ListModelsResponse, at as ListSourcesResponse, ab as Message, M as MetaWhatsappGetBusinessProfileResponse, af as Model, ak as Note, au as NotificationSubscription, O as Options, P as PublicAuthentication, R as RequestFilterable, ar as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, i as UpdateAccountConversationSettingsResponse, U as UpdateAccountResponse, v as UpdateBoilerplateCategoryResponse, q as UpdateBoilerplateContentResponse, z as UpdateChannelResponse, N as UpdateCompositionSectionResponse, Z as UpdateContactResponse, a1 as UpdateConversationResponse, a8 as UpdateLabelResponse, aq as UpdateNoteResponse, aw as Upload, W as WebhookResponse, C as default } from './index-B6Pqzf3c.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.15.1",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "description": "JavaScript SDK for the Great Detail Support System",
6
6
  "author": "Great Detail Ltd <info@greatdetail.com>",