@great-detail/support-sdk 0.7.4 → 0.7.6
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
|
@@ -1009,6 +1009,7 @@ type GetConversationResponse<C extends IncludeOptions$2> = {
|
|
|
1009
1009
|
id: string;
|
|
1010
1010
|
name?: string;
|
|
1011
1011
|
hasEnded: boolean;
|
|
1012
|
+
contacts: string[];
|
|
1012
1013
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1013
1014
|
channel: string;
|
|
1014
1015
|
createdAt: string;
|
|
@@ -1065,6 +1066,7 @@ type ListContactConversationsResponse = {
|
|
|
1065
1066
|
id: string;
|
|
1066
1067
|
name?: string;
|
|
1067
1068
|
hasEnded: boolean;
|
|
1069
|
+
contacts: string[];
|
|
1068
1070
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1069
1071
|
channel: string;
|
|
1070
1072
|
createdAt: string;
|
|
@@ -1092,6 +1094,7 @@ type ListConversationsResponse<C extends IncludeOptions$1> = {
|
|
|
1092
1094
|
id: string;
|
|
1093
1095
|
name?: string;
|
|
1094
1096
|
hasEnded: boolean;
|
|
1097
|
+
contacts: string[];
|
|
1095
1098
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1096
1099
|
channel: string;
|
|
1097
1100
|
createdAt: string;
|
|
@@ -1134,6 +1137,7 @@ type ListLabelConversationsResponse = {
|
|
|
1134
1137
|
id: string;
|
|
1135
1138
|
name?: string;
|
|
1136
1139
|
hasEnded: boolean;
|
|
1140
|
+
contacts: string[];
|
|
1137
1141
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1138
1142
|
channel: string;
|
|
1139
1143
|
createdAt: string;
|
|
@@ -1158,6 +1162,7 @@ type UpdateConversationResponse = {
|
|
|
1158
1162
|
id: string;
|
|
1159
1163
|
name?: string;
|
|
1160
1164
|
hasEnded: boolean;
|
|
1165
|
+
contacts: string[];
|
|
1161
1166
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1162
1167
|
channel: string;
|
|
1163
1168
|
createdAt: string;
|
|
@@ -1009,6 +1009,7 @@ type GetConversationResponse<C extends IncludeOptions$2> = {
|
|
|
1009
1009
|
id: string;
|
|
1010
1010
|
name?: string;
|
|
1011
1011
|
hasEnded: boolean;
|
|
1012
|
+
contacts: string[];
|
|
1012
1013
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1013
1014
|
channel: string;
|
|
1014
1015
|
createdAt: string;
|
|
@@ -1065,6 +1066,7 @@ type ListContactConversationsResponse = {
|
|
|
1065
1066
|
id: string;
|
|
1066
1067
|
name?: string;
|
|
1067
1068
|
hasEnded: boolean;
|
|
1069
|
+
contacts: string[];
|
|
1068
1070
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1069
1071
|
channel: string;
|
|
1070
1072
|
createdAt: string;
|
|
@@ -1092,6 +1094,7 @@ type ListConversationsResponse<C extends IncludeOptions$1> = {
|
|
|
1092
1094
|
id: string;
|
|
1093
1095
|
name?: string;
|
|
1094
1096
|
hasEnded: boolean;
|
|
1097
|
+
contacts: string[];
|
|
1095
1098
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1096
1099
|
channel: string;
|
|
1097
1100
|
createdAt: string;
|
|
@@ -1134,6 +1137,7 @@ type ListLabelConversationsResponse = {
|
|
|
1134
1137
|
id: string;
|
|
1135
1138
|
name?: string;
|
|
1136
1139
|
hasEnded: boolean;
|
|
1140
|
+
contacts: string[];
|
|
1137
1141
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1138
1142
|
channel: string;
|
|
1139
1143
|
createdAt: string;
|
|
@@ -1158,6 +1162,7 @@ type UpdateConversationResponse = {
|
|
|
1158
1162
|
id: string;
|
|
1159
1163
|
name?: string;
|
|
1160
1164
|
hasEnded: boolean;
|
|
1165
|
+
contacts: string[];
|
|
1161
1166
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1162
1167
|
channel: string;
|
|
1163
1168
|
createdAt: string;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Authentication } from './index-
|
|
2
|
-
export { C as Client, e as CreateBoilerplateCategoryResponse, b as CreateBoilerplateResponse, l as CreateChannelResponse, o as CreateCompositionSectionResponse, V as CreateContactNoteResponse, a2 as CreateContactNotificationSubscriptionResponse, r as CreateContactResponse, X as CreateConversationNoteResponse, Q as CreateCorrectionResponse, D as CreateLabelResponse, S as CreateResponseResponse, a3 as CreateUploadResponse, E as DeleteLabelResponse, a5 as DeleteUploadResponse, f as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, j as GetChannelResponse, m as GetCompositionSectionResponse, s as GetContactResponse, w as GetConversationResponse, F as GetLabelResponse, N as GetModelResponse, Y as GetNoteResponse, a0 as GetSourceResponse, a4 as GetUploadResponse, L as ListActionsResponse, g as ListBoilerplateCategoriesResponse, c as ListBoilerplateCategoryBoilerplatesResponse, d as ListBoilerplatesResponse, p as ListChannelCompositionSectionsResponse, M as ListChannelMessagesResponse, i as ListChannelsResponse, n as ListCompositionSectionsResponse, B as ListContactConversationsResponse, Z as ListContactNotesResponse, t as ListContactsResponse, J as ListConversationMessagesResponse, _ as ListConversationNotesResponse, x as ListConversationsResponse, u as ListLabelContactsResponse, y as ListLabelConversationsResponse, H as ListLabelsResponse, K as ListMessagesResponse, P as ListModelsResponse, a1 as ListSourcesResponse, O as Options, R as RequestFilterable, a as TransportOptions, T as TwilioSendgridChannelSyncResponse, h as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, k as UpdateChannelResponse, q as UpdateCompositionSectionResponse, v as UpdateContactResponse, z as UpdateConversationResponse, I as UpdateLabelResponse, $ as UpdateNoteResponse, W as WebhookResponse, C as default } from './index-
|
|
1
|
+
import { A as Authentication } from './index-B76Jqu_N.cjs';
|
|
2
|
+
export { C as Client, e as CreateBoilerplateCategoryResponse, b as CreateBoilerplateResponse, l as CreateChannelResponse, o as CreateCompositionSectionResponse, V as CreateContactNoteResponse, a2 as CreateContactNotificationSubscriptionResponse, r as CreateContactResponse, X as CreateConversationNoteResponse, Q as CreateCorrectionResponse, D as CreateLabelResponse, S as CreateResponseResponse, a3 as CreateUploadResponse, E as DeleteLabelResponse, a5 as DeleteUploadResponse, f as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, j as GetChannelResponse, m as GetCompositionSectionResponse, s as GetContactResponse, w as GetConversationResponse, F as GetLabelResponse, N as GetModelResponse, Y as GetNoteResponse, a0 as GetSourceResponse, a4 as GetUploadResponse, L as ListActionsResponse, g as ListBoilerplateCategoriesResponse, c as ListBoilerplateCategoryBoilerplatesResponse, d as ListBoilerplatesResponse, p as ListChannelCompositionSectionsResponse, M as ListChannelMessagesResponse, i as ListChannelsResponse, n as ListCompositionSectionsResponse, B as ListContactConversationsResponse, Z as ListContactNotesResponse, t as ListContactsResponse, J as ListConversationMessagesResponse, _ as ListConversationNotesResponse, x as ListConversationsResponse, u as ListLabelContactsResponse, y as ListLabelConversationsResponse, H as ListLabelsResponse, K as ListMessagesResponse, P as ListModelsResponse, a1 as ListSourcesResponse, O as Options, R as RequestFilterable, a as TransportOptions, T as TwilioSendgridChannelSyncResponse, h as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, k as UpdateChannelResponse, q as UpdateCompositionSectionResponse, v as UpdateContactResponse, z as UpdateConversationResponse, I as UpdateLabelResponse, $ as UpdateNoteResponse, W as WebhookResponse, C as default } from './index-B76Jqu_N.cjs';
|
|
3
3
|
import 'ky';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
@@ -218,6 +218,7 @@ type CreateConversationResponse = {
|
|
|
218
218
|
id: string;
|
|
219
219
|
name?: string;
|
|
220
220
|
hasEnded: boolean;
|
|
221
|
+
contacts: string[];
|
|
221
222
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
222
223
|
channel: string;
|
|
223
224
|
createdAt: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Authentication } from './index-
|
|
2
|
-
export { C as Client, e as CreateBoilerplateCategoryResponse, b as CreateBoilerplateResponse, l as CreateChannelResponse, o as CreateCompositionSectionResponse, V as CreateContactNoteResponse, a2 as CreateContactNotificationSubscriptionResponse, r as CreateContactResponse, X as CreateConversationNoteResponse, Q as CreateCorrectionResponse, D as CreateLabelResponse, S as CreateResponseResponse, a3 as CreateUploadResponse, E as DeleteLabelResponse, a5 as DeleteUploadResponse, f as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, j as GetChannelResponse, m as GetCompositionSectionResponse, s as GetContactResponse, w as GetConversationResponse, F as GetLabelResponse, N as GetModelResponse, Y as GetNoteResponse, a0 as GetSourceResponse, a4 as GetUploadResponse, L as ListActionsResponse, g as ListBoilerplateCategoriesResponse, c as ListBoilerplateCategoryBoilerplatesResponse, d as ListBoilerplatesResponse, p as ListChannelCompositionSectionsResponse, M as ListChannelMessagesResponse, i as ListChannelsResponse, n as ListCompositionSectionsResponse, B as ListContactConversationsResponse, Z as ListContactNotesResponse, t as ListContactsResponse, J as ListConversationMessagesResponse, _ as ListConversationNotesResponse, x as ListConversationsResponse, u as ListLabelContactsResponse, y as ListLabelConversationsResponse, H as ListLabelsResponse, K as ListMessagesResponse, P as ListModelsResponse, a1 as ListSourcesResponse, O as Options, R as RequestFilterable, a as TransportOptions, T as TwilioSendgridChannelSyncResponse, h as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, k as UpdateChannelResponse, q as UpdateCompositionSectionResponse, v as UpdateContactResponse, z as UpdateConversationResponse, I as UpdateLabelResponse, $ as UpdateNoteResponse, W as WebhookResponse, C as default } from './index-
|
|
1
|
+
import { A as Authentication } from './index-B76Jqu_N.js';
|
|
2
|
+
export { C as Client, e as CreateBoilerplateCategoryResponse, b as CreateBoilerplateResponse, l as CreateChannelResponse, o as CreateCompositionSectionResponse, V as CreateContactNoteResponse, a2 as CreateContactNotificationSubscriptionResponse, r as CreateContactResponse, X as CreateConversationNoteResponse, Q as CreateCorrectionResponse, D as CreateLabelResponse, S as CreateResponseResponse, a3 as CreateUploadResponse, E as DeleteLabelResponse, a5 as DeleteUploadResponse, f as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, j as GetChannelResponse, m as GetCompositionSectionResponse, s as GetContactResponse, w as GetConversationResponse, F as GetLabelResponse, N as GetModelResponse, Y as GetNoteResponse, a0 as GetSourceResponse, a4 as GetUploadResponse, L as ListActionsResponse, g as ListBoilerplateCategoriesResponse, c as ListBoilerplateCategoryBoilerplatesResponse, d as ListBoilerplatesResponse, p as ListChannelCompositionSectionsResponse, M as ListChannelMessagesResponse, i as ListChannelsResponse, n as ListCompositionSectionsResponse, B as ListContactConversationsResponse, Z as ListContactNotesResponse, t as ListContactsResponse, J as ListConversationMessagesResponse, _ as ListConversationNotesResponse, x as ListConversationsResponse, u as ListLabelContactsResponse, y as ListLabelConversationsResponse, H as ListLabelsResponse, K as ListMessagesResponse, P as ListModelsResponse, a1 as ListSourcesResponse, O as Options, R as RequestFilterable, a as TransportOptions, T as TwilioSendgridChannelSyncResponse, h as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, k as UpdateChannelResponse, q as UpdateCompositionSectionResponse, v as UpdateContactResponse, z as UpdateConversationResponse, I as UpdateLabelResponse, $ as UpdateNoteResponse, W as WebhookResponse, C as default } from './index-B76Jqu_N.js';
|
|
3
3
|
import 'ky';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
@@ -218,6 +218,7 @@ type CreateConversationResponse = {
|
|
|
218
218
|
id: string;
|
|
219
219
|
name?: string;
|
|
220
220
|
hasEnded: boolean;
|
|
221
|
+
contacts: string[];
|
|
221
222
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
222
223
|
channel: string;
|
|
223
224
|
createdAt: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@great-detail/support-sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "JavaScript SDK for the Great Detail Support System",
|
|
6
6
|
"author": "Great Detail Ltd <info@greatdetail.com>",
|
|
@@ -62,25 +62,25 @@
|
|
|
62
62
|
"commander": "^12.1.0",
|
|
63
63
|
"is-network-error": "^1.1.0",
|
|
64
64
|
"ky": "^1.7.2",
|
|
65
|
-
"ora": "^8.0
|
|
65
|
+
"ora": "^8.1.0",
|
|
66
66
|
"zod": "^3.23.8"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@changesets/cli": "^2.27.
|
|
69
|
+
"@changesets/cli": "^2.27.9",
|
|
70
70
|
"@great-detail/eslint-config": "^1.0.5",
|
|
71
71
|
"@great-detail/prettier-config": "^0.3.0",
|
|
72
72
|
"@jest/globals": "^29.7.0",
|
|
73
|
-
"@types/node": "^22.4
|
|
73
|
+
"@types/node": "^22.7.4",
|
|
74
74
|
"cross-env": "^7.0.3",
|
|
75
|
-
"eslint": "^9.
|
|
75
|
+
"eslint": "^9.12.0",
|
|
76
76
|
"jest": "^29.7.0",
|
|
77
77
|
"npm-run-all": "^4.1.5",
|
|
78
|
-
"openapi-typescript": "^7.
|
|
78
|
+
"openapi-typescript": "^7.4.1",
|
|
79
79
|
"prettier": "^3.3.3",
|
|
80
|
-
"publint": "^0.2.
|
|
81
|
-
"ts-jest": "^29.2.
|
|
80
|
+
"publint": "^0.2.11",
|
|
81
|
+
"ts-jest": "^29.2.5",
|
|
82
82
|
"ts-node": "^10.9.2",
|
|
83
|
-
"tsup": "^8.
|
|
83
|
+
"tsup": "^8.3.0",
|
|
84
84
|
"typescript": "^5.5.4"
|
|
85
85
|
},
|
|
86
86
|
"publishConfig": {
|