@great-detail/support-sdk 0.10.10 → 0.10.11
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.
package/dist/cli/index.d.cts
CHANGED
package/dist/cli/index.d.ts
CHANGED
|
@@ -66,13 +66,30 @@ declare class FetchTransport implements Transport {
|
|
|
66
66
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
67
67
|
* @see https://greatdetail.com
|
|
68
68
|
*/
|
|
69
|
+
type CreatedAtResponseTimestamp = {
|
|
70
|
+
createdAt: string;
|
|
71
|
+
};
|
|
72
|
+
type UpdatedAtResponseTimestamp = {
|
|
73
|
+
updatedAt: string;
|
|
74
|
+
};
|
|
75
|
+
type ResponseTimestamp = CreatedAtResponseTimestamp & UpdatedAtResponseTimestamp;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Great Detail Support System.
|
|
79
|
+
*
|
|
80
|
+
* @copyright 2024 Great Detail Ltd
|
|
81
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
82
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
83
|
+
* @see https://greatdetail.com
|
|
84
|
+
*/
|
|
85
|
+
|
|
69
86
|
type Account = {
|
|
70
87
|
id: string;
|
|
71
88
|
name: string;
|
|
72
89
|
status: "PotentialAccountStatus" | "ActiveAccountStatus" | "DisabledAccountStatus";
|
|
73
90
|
legalName?: string;
|
|
74
91
|
emailAddress: string;
|
|
75
|
-
} &
|
|
92
|
+
} & ResponseTimestamp;
|
|
76
93
|
|
|
77
94
|
interface GetAccountOptions {
|
|
78
95
|
request?: RequestInit;
|
|
@@ -91,22 +108,6 @@ declare class GetAccount {
|
|
|
91
108
|
};
|
|
92
109
|
}
|
|
93
110
|
|
|
94
|
-
/**
|
|
95
|
-
* Great Detail Support System.
|
|
96
|
-
*
|
|
97
|
-
* @copyright 2024 Great Detail Ltd
|
|
98
|
-
* @author Great Detail Ltd <info@greatdetail.com>
|
|
99
|
-
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
100
|
-
* @see https://greatdetail.com
|
|
101
|
-
*/
|
|
102
|
-
type CreatedAtResponseTimestamp = {
|
|
103
|
-
createdAt: string;
|
|
104
|
-
};
|
|
105
|
-
type UpdatedAtResponseTimestamp = {
|
|
106
|
-
updatedAt: string;
|
|
107
|
-
};
|
|
108
|
-
type ResponseTimestamp = CreatedAtResponseTimestamp & UpdatedAtResponseTimestamp;
|
|
109
|
-
|
|
110
111
|
/**
|
|
111
112
|
* Great Detail Support System.
|
|
112
113
|
*
|
|
@@ -66,13 +66,30 @@ declare class FetchTransport implements Transport {
|
|
|
66
66
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
67
67
|
* @see https://greatdetail.com
|
|
68
68
|
*/
|
|
69
|
+
type CreatedAtResponseTimestamp = {
|
|
70
|
+
createdAt: string;
|
|
71
|
+
};
|
|
72
|
+
type UpdatedAtResponseTimestamp = {
|
|
73
|
+
updatedAt: string;
|
|
74
|
+
};
|
|
75
|
+
type ResponseTimestamp = CreatedAtResponseTimestamp & UpdatedAtResponseTimestamp;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Great Detail Support System.
|
|
79
|
+
*
|
|
80
|
+
* @copyright 2024 Great Detail Ltd
|
|
81
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
82
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
83
|
+
* @see https://greatdetail.com
|
|
84
|
+
*/
|
|
85
|
+
|
|
69
86
|
type Account = {
|
|
70
87
|
id: string;
|
|
71
88
|
name: string;
|
|
72
89
|
status: "PotentialAccountStatus" | "ActiveAccountStatus" | "DisabledAccountStatus";
|
|
73
90
|
legalName?: string;
|
|
74
91
|
emailAddress: string;
|
|
75
|
-
} &
|
|
92
|
+
} & ResponseTimestamp;
|
|
76
93
|
|
|
77
94
|
interface GetAccountOptions {
|
|
78
95
|
request?: RequestInit;
|
|
@@ -91,22 +108,6 @@ declare class GetAccount {
|
|
|
91
108
|
};
|
|
92
109
|
}
|
|
93
110
|
|
|
94
|
-
/**
|
|
95
|
-
* Great Detail Support System.
|
|
96
|
-
*
|
|
97
|
-
* @copyright 2024 Great Detail Ltd
|
|
98
|
-
* @author Great Detail Ltd <info@greatdetail.com>
|
|
99
|
-
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
100
|
-
* @see https://greatdetail.com
|
|
101
|
-
*/
|
|
102
|
-
type CreatedAtResponseTimestamp = {
|
|
103
|
-
createdAt: string;
|
|
104
|
-
};
|
|
105
|
-
type UpdatedAtResponseTimestamp = {
|
|
106
|
-
updatedAt: string;
|
|
107
|
-
};
|
|
108
|
-
type ResponseTimestamp = CreatedAtResponseTimestamp & UpdatedAtResponseTimestamp;
|
|
109
|
-
|
|
110
111
|
/**
|
|
111
112
|
* Great Detail Support System.
|
|
112
113
|
*
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Authentication, a as Conversation } from './index-
|
|
2
|
-
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-
|
|
1
|
+
import { A as Authentication, a as Conversation } from './index-BmC6XVI7.cjs';
|
|
2
|
+
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.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 Conversation } from './index-
|
|
2
|
-
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-
|
|
1
|
+
import { A as Authentication, a as Conversation } from './index-BmC6XVI7.js';
|
|
2
|
+
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';
|
|
3
3
|
import 'ky';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|