@droz-js/sdk 0.9.50 → 0.9.52
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/package.json +1 -1
- package/src/drozchat-ws.d.ts +13 -3
- package/src/drozchat.d.ts +13 -3
- package/src/sdks/drozchat.d.ts +90 -24
- package/src/sdks/drozchat.js +64 -13
package/package.json
CHANGED
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -33,6 +33,19 @@ declare const DrozChatWs_base: new () => {
|
|
|
33
33
|
removeDrozChatChannelAgent(variables: import("./sdks/drozchat").Exact<{
|
|
34
34
|
input: import("./sdks/drozchat").RemoveDrozChatChannelAgentInput;
|
|
35
35
|
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatChannelAgentMutation>;
|
|
36
|
+
listNotes(variables: import("./sdks/drozchat").Exact<{
|
|
37
|
+
customerId: import("./sdks/drozchat").Scalars["String"]["input"];
|
|
38
|
+
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
39
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListNotesQuery>;
|
|
40
|
+
createNote(variables: import("./sdks/drozchat").Exact<{
|
|
41
|
+
input: import("./sdks/drozchat").CreateCustomerNoteInput;
|
|
42
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateNoteMutation>;
|
|
43
|
+
updateNote(variables: import("./sdks/drozchat").Exact<{
|
|
44
|
+
input: import("./sdks/drozchat").UpdateCustomerNoteInput;
|
|
45
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").UpdateNoteMutation>;
|
|
46
|
+
deleteNote(variables: import("./sdks/drozchat").Exact<{
|
|
47
|
+
input: import("./sdks/drozchat").DeleteCustomerNoteInput;
|
|
48
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteNoteMutation>;
|
|
36
49
|
listTags(variables?: import("./sdks/drozchat").Exact<{
|
|
37
50
|
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
38
51
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTagsQuery>;
|
|
@@ -121,9 +134,6 @@ declare const DrozChatWs_base: new () => {
|
|
|
121
134
|
listViews(variables?: import("./sdks/drozchat").Exact<{
|
|
122
135
|
[key: string]: never;
|
|
123
136
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListViewsQuery>;
|
|
124
|
-
listViewsByChannel(variables: import("./sdks/drozchat").Exact<{
|
|
125
|
-
channelId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
126
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").ListViewsByChannelQuery>;
|
|
127
137
|
listTicketsByView(variables: import("./sdks/drozchat").Exact<{
|
|
128
138
|
id: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
129
139
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsByViewQuery>;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -36,6 +36,19 @@ declare const DrozChat_base: new (options?: import("./client/http").HttpClientOp
|
|
|
36
36
|
removeDrozChatChannelAgent(variables: import("./sdks/drozchat").Exact<{
|
|
37
37
|
input: import("./sdks/drozchat").RemoveDrozChatChannelAgentInput;
|
|
38
38
|
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatChannelAgentMutation>;
|
|
39
|
+
listNotes(variables: import("./sdks/drozchat").Exact<{
|
|
40
|
+
customerId: import("./sdks/drozchat").Scalars["String"]["input"];
|
|
41
|
+
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
42
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListNotesQuery>;
|
|
43
|
+
createNote(variables: import("./sdks/drozchat").Exact<{
|
|
44
|
+
input: import("./sdks/drozchat").CreateCustomerNoteInput;
|
|
45
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateNoteMutation>;
|
|
46
|
+
updateNote(variables: import("./sdks/drozchat").Exact<{
|
|
47
|
+
input: import("./sdks/drozchat").UpdateCustomerNoteInput;
|
|
48
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").UpdateNoteMutation>;
|
|
49
|
+
deleteNote(variables: import("./sdks/drozchat").Exact<{
|
|
50
|
+
input: import("./sdks/drozchat").DeleteCustomerNoteInput;
|
|
51
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteNoteMutation>;
|
|
39
52
|
listTags(variables?: import("./sdks/drozchat").Exact<{
|
|
40
53
|
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
41
54
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTagsQuery>;
|
|
@@ -124,9 +137,6 @@ declare const DrozChat_base: new (options?: import("./client/http").HttpClientOp
|
|
|
124
137
|
listViews(variables?: import("./sdks/drozchat").Exact<{
|
|
125
138
|
[key: string]: never;
|
|
126
139
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListViewsQuery>;
|
|
127
|
-
listViewsByChannel(variables: import("./sdks/drozchat").Exact<{
|
|
128
|
-
channelId: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
129
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").ListViewsByChannelQuery>;
|
|
130
140
|
listTicketsByView(variables: import("./sdks/drozchat").Exact<{
|
|
131
141
|
id: import("./sdks/drozchat").Scalars["ID"]["input"];
|
|
132
142
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketsByViewQuery>;
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -177,12 +177,15 @@ export type ChannelSearchResultsFacetValue = {
|
|
|
177
177
|
value: Scalars['String']['output'];
|
|
178
178
|
};
|
|
179
179
|
export type CloneViewInput = {
|
|
180
|
-
channelId: Scalars['ID']['input'];
|
|
181
180
|
id: Scalars['ID']['input'];
|
|
182
181
|
};
|
|
183
182
|
export type CloseTicketInput = {
|
|
184
183
|
ticketId: Scalars['ID']['input'];
|
|
185
184
|
};
|
|
185
|
+
export type CreateCustomerNoteInput = {
|
|
186
|
+
customerId: Scalars['String']['input'];
|
|
187
|
+
note: Scalars['String']['input'];
|
|
188
|
+
};
|
|
186
189
|
export type CreateDrozChatChannelInput = {
|
|
187
190
|
agentIds?: InputMaybe<Scalars['Set']['input']>;
|
|
188
191
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -208,10 +211,24 @@ export type CreateTicketTagInput = {
|
|
|
208
211
|
tags: Array<Scalars['Tag']['input']>;
|
|
209
212
|
};
|
|
210
213
|
export type CreateViewInput = {
|
|
211
|
-
channelId: Scalars['ID']['input'];
|
|
212
214
|
filters: TicketSearchFilterInput;
|
|
213
215
|
name: Scalars['String']['input'];
|
|
214
216
|
};
|
|
217
|
+
export type CustomerNote = {
|
|
218
|
+
createdAt: Scalars['DateTime']['output'];
|
|
219
|
+
createdBy: DrozChatAgent;
|
|
220
|
+
id: Scalars['String']['output'];
|
|
221
|
+
note: Scalars['String']['output'];
|
|
222
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
223
|
+
};
|
|
224
|
+
export type CustomerNotesConnection = {
|
|
225
|
+
nodes: Array<CustomerNote>;
|
|
226
|
+
pageInfo: PageInfo;
|
|
227
|
+
};
|
|
228
|
+
export type DeleteCustomerNoteInput = {
|
|
229
|
+
customerId: Scalars['String']['input'];
|
|
230
|
+
id: Scalars['String']['input'];
|
|
231
|
+
};
|
|
215
232
|
export type DeleteTicketTagInput = {
|
|
216
233
|
tags: Array<Scalars['String']['input']>;
|
|
217
234
|
};
|
|
@@ -278,11 +295,13 @@ export type Mutation = {
|
|
|
278
295
|
cloneView: View;
|
|
279
296
|
closeTicket: Ticket;
|
|
280
297
|
createDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
298
|
+
createNote: CustomerNote;
|
|
281
299
|
createTags: Array<TicketTag>;
|
|
282
300
|
createTicket: Ticket;
|
|
283
301
|
createTicketMessage: TicketMessage;
|
|
284
302
|
createTicketMessageForStorage: TicketMessage;
|
|
285
303
|
createView: View;
|
|
304
|
+
deleteNote: CustomerNote;
|
|
286
305
|
deleteTags: Array<Maybe<TicketTag>>;
|
|
287
306
|
deleteView: View;
|
|
288
307
|
disableDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
@@ -294,6 +313,7 @@ export type Mutation = {
|
|
|
294
313
|
transferTicketToChannel: Ticket;
|
|
295
314
|
unassignTicket: Ticket;
|
|
296
315
|
updateDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
316
|
+
updateNote: CustomerNote;
|
|
297
317
|
updateTicket: Ticket;
|
|
298
318
|
updateView: View;
|
|
299
319
|
version?: Maybe<Scalars['String']['output']>;
|
|
@@ -319,6 +339,9 @@ export type MutationCloseTicketArgs = {
|
|
|
319
339
|
export type MutationCreateDrozChatChannelArgs = {
|
|
320
340
|
input: CreateDrozChatChannelInput;
|
|
321
341
|
};
|
|
342
|
+
export type MutationCreateNoteArgs = {
|
|
343
|
+
input: CreateCustomerNoteInput;
|
|
344
|
+
};
|
|
322
345
|
export type MutationCreateTagsArgs = {
|
|
323
346
|
input: CreateTicketTagInput;
|
|
324
347
|
};
|
|
@@ -334,6 +357,9 @@ export type MutationCreateTicketMessageForStorageArgs = {
|
|
|
334
357
|
export type MutationCreateViewArgs = {
|
|
335
358
|
input: CreateViewInput;
|
|
336
359
|
};
|
|
360
|
+
export type MutationDeleteNoteArgs = {
|
|
361
|
+
input?: InputMaybe<DeleteCustomerNoteInput>;
|
|
362
|
+
};
|
|
337
363
|
export type MutationDeleteTagsArgs = {
|
|
338
364
|
input: DeleteTicketTagInput;
|
|
339
365
|
};
|
|
@@ -364,6 +390,9 @@ export type MutationUnassignTicketArgs = {
|
|
|
364
390
|
export type MutationUpdateDrozChatChannelArgs = {
|
|
365
391
|
input: UpdateDrozChatChannelInput;
|
|
366
392
|
};
|
|
393
|
+
export type MutationUpdateNoteArgs = {
|
|
394
|
+
input?: InputMaybe<UpdateCustomerNoteInput>;
|
|
395
|
+
};
|
|
367
396
|
export type MutationUpdateTicketArgs = {
|
|
368
397
|
input: UpdateTicketInput;
|
|
369
398
|
};
|
|
@@ -401,6 +430,7 @@ export type Query = {
|
|
|
401
430
|
getWsEndpoint?: Maybe<Scalars['String']['output']>;
|
|
402
431
|
listDrozChatAgentChannels: Array<DrozChatChannel>;
|
|
403
432
|
listDrozChatChannels: Array<DrozChatChannel>;
|
|
433
|
+
listNotes: CustomerNotesConnection;
|
|
404
434
|
listTags: TicketTagsConnection;
|
|
405
435
|
listTicketInternalNotes: TicketMessagesConnection;
|
|
406
436
|
listTicketMessages: TicketMessagesConnection;
|
|
@@ -408,7 +438,6 @@ export type Query = {
|
|
|
408
438
|
listTicketsByView: Array<Ticket>;
|
|
409
439
|
listTicketsInProgressMine: TicketsConnection;
|
|
410
440
|
listViews: Array<View>;
|
|
411
|
-
listViewsByChannel: Array<View>;
|
|
412
441
|
searchTickets?: Maybe<TicketsSearchResults>;
|
|
413
442
|
version?: Maybe<Scalars['String']['output']>;
|
|
414
443
|
};
|
|
@@ -424,6 +453,10 @@ export type QueryGetViewArgs = {
|
|
|
424
453
|
export type QueryListDrozChatAgentChannelsArgs = {
|
|
425
454
|
agentId: Scalars['ID']['input'];
|
|
426
455
|
};
|
|
456
|
+
export type QueryListNotesArgs = {
|
|
457
|
+
customerId: Scalars['String']['input'];
|
|
458
|
+
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
459
|
+
};
|
|
427
460
|
export type QueryListTagsArgs = {
|
|
428
461
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
429
462
|
};
|
|
@@ -448,9 +481,6 @@ export type QueryListTicketsByViewArgs = {
|
|
|
448
481
|
export type QueryListTicketsInProgressMineArgs = {
|
|
449
482
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
450
483
|
};
|
|
451
|
-
export type QueryListViewsByChannelArgs = {
|
|
452
|
-
channelId: Scalars['ID']['input'];
|
|
453
|
-
};
|
|
454
484
|
export type QuerySearchTicketsArgs = {
|
|
455
485
|
filters?: InputMaybe<Array<TicketSearchFilterInput>>;
|
|
456
486
|
page?: InputMaybe<Scalars['Number']['input']>;
|
|
@@ -710,6 +740,7 @@ export type TransferTicketToChannelInput = {
|
|
|
710
740
|
export declare enum Typenames {
|
|
711
741
|
Any = "Any",
|
|
712
742
|
Channels = "Channels",
|
|
743
|
+
CustomerNotes = "CustomerNotes",
|
|
713
744
|
GraphqlConnections = "GraphqlConnections",
|
|
714
745
|
GraphqlSubscriptions = "GraphqlSubscriptions",
|
|
715
746
|
Protocols = "Protocols",
|
|
@@ -722,6 +753,11 @@ export declare enum Typenames {
|
|
|
722
753
|
export type UnassignTicketInput = {
|
|
723
754
|
ticketId: Scalars['ID']['input'];
|
|
724
755
|
};
|
|
756
|
+
export type UpdateCustomerNoteInput = {
|
|
757
|
+
customerId: Scalars['String']['input'];
|
|
758
|
+
id: Scalars['String']['input'];
|
|
759
|
+
note: Scalars['String']['input'];
|
|
760
|
+
};
|
|
725
761
|
export type UpdateDrozChatChannelInput = {
|
|
726
762
|
agentIds?: InputMaybe<Scalars['Set']['input']>;
|
|
727
763
|
id: Scalars['ID']['input'];
|
|
@@ -733,13 +769,11 @@ export type UpdateTicketInput = {
|
|
|
733
769
|
subject?: InputMaybe<Scalars['String']['input']>;
|
|
734
770
|
};
|
|
735
771
|
export type UpdateViewInput = {
|
|
736
|
-
channelId?: InputMaybe<Scalars['ID']['input']>;
|
|
737
772
|
filters?: InputMaybe<TicketSearchFilterInput>;
|
|
738
773
|
id: Scalars['ID']['input'];
|
|
739
774
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
740
775
|
};
|
|
741
776
|
export type View = {
|
|
742
|
-
channelId: Scalars['ID']['output'];
|
|
743
777
|
createdAt: Scalars['DateTime']['output'];
|
|
744
778
|
filters: Scalars['JSONObject']['output'];
|
|
745
779
|
id: Scalars['ID']['output'];
|
|
@@ -807,6 +841,37 @@ export type RemoveDrozChatChannelAgentMutationVariables = Exact<{
|
|
|
807
841
|
export type RemoveDrozChatChannelAgentMutation = {
|
|
808
842
|
removeDrozChatChannelAgent?: Maybe<DrozChatChannelFragment>;
|
|
809
843
|
};
|
|
844
|
+
export type CustomerNoteFragment = (Pick<CustomerNote, 'id' | 'note' | 'createdAt' | 'updatedAt'> & {
|
|
845
|
+
createdBy: DrozChatAgentFragment;
|
|
846
|
+
});
|
|
847
|
+
export type ListNotesQueryVariables = Exact<{
|
|
848
|
+
customerId: Scalars['String']['input'];
|
|
849
|
+
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
850
|
+
}>;
|
|
851
|
+
export type ListNotesQuery = {
|
|
852
|
+
listNotes: {
|
|
853
|
+
nodes: Array<CustomerNoteFragment>;
|
|
854
|
+
pageInfo: Pick<PageInfo, 'hasNext' | 'next'>;
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
export type CreateNoteMutationVariables = Exact<{
|
|
858
|
+
input: CreateCustomerNoteInput;
|
|
859
|
+
}>;
|
|
860
|
+
export type CreateNoteMutation = {
|
|
861
|
+
createNote: CustomerNoteFragment;
|
|
862
|
+
};
|
|
863
|
+
export type UpdateNoteMutationVariables = Exact<{
|
|
864
|
+
input: UpdateCustomerNoteInput;
|
|
865
|
+
}>;
|
|
866
|
+
export type UpdateNoteMutation = {
|
|
867
|
+
updateNote: CustomerNoteFragment;
|
|
868
|
+
};
|
|
869
|
+
export type DeleteNoteMutationVariables = Exact<{
|
|
870
|
+
input: DeleteCustomerNoteInput;
|
|
871
|
+
}>;
|
|
872
|
+
export type DeleteNoteMutation = {
|
|
873
|
+
deleteNote: CustomerNoteFragment;
|
|
874
|
+
};
|
|
810
875
|
export type TagFragment = (Pick<TicketTag, 'name' | 'createdAt' | 'updatedAt'> & {
|
|
811
876
|
createdBy?: Maybe<DrozChatAgentFragment>;
|
|
812
877
|
});
|
|
@@ -1025,7 +1090,7 @@ export type OnTicketMessageSubscription = {
|
|
|
1025
1090
|
message: TicketMessageFragment;
|
|
1026
1091
|
});
|
|
1027
1092
|
};
|
|
1028
|
-
export type ViewFragment = Pick<View, 'id' | 'name' | '
|
|
1093
|
+
export type ViewFragment = Pick<View, 'id' | 'name' | 'filters' | 'createdAt' | 'updatedAt'>;
|
|
1029
1094
|
export type GetViewQueryVariables = Exact<{
|
|
1030
1095
|
id: Scalars['ID']['input'];
|
|
1031
1096
|
}>;
|
|
@@ -1038,12 +1103,6 @@ export type ListViewsQueryVariables = Exact<{
|
|
|
1038
1103
|
export type ListViewsQuery = {
|
|
1039
1104
|
listViews: Array<ViewFragment>;
|
|
1040
1105
|
};
|
|
1041
|
-
export type ListViewsByChannelQueryVariables = Exact<{
|
|
1042
|
-
channelId: Scalars['ID']['input'];
|
|
1043
|
-
}>;
|
|
1044
|
-
export type ListViewsByChannelQuery = {
|
|
1045
|
-
listViewsByChannel: Array<ViewFragment>;
|
|
1046
|
-
};
|
|
1047
1106
|
export type ListTicketsByViewQueryVariables = Exact<{
|
|
1048
1107
|
id: Scalars['ID']['input'];
|
|
1049
1108
|
}>;
|
|
@@ -1075,6 +1134,7 @@ export type DeleteViewMutation = {
|
|
|
1075
1134
|
deleteView: ViewFragment;
|
|
1076
1135
|
};
|
|
1077
1136
|
export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
1137
|
+
export declare const CustomerNoteFragmentDoc = "\n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n ";
|
|
1078
1138
|
export declare const TagFragmentDoc = "\n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n ";
|
|
1079
1139
|
export declare const CustomerFragmentDoc = "\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n ";
|
|
1080
1140
|
export declare const TicketTriggerAppFragmentDoc = "\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n ";
|
|
@@ -1085,7 +1145,7 @@ export declare const TicketWithSessionFragmentDoc = "\n fragment ticketWithSe
|
|
|
1085
1145
|
export declare const DrozChatUserFragmentDoc = "\n fragment drozChatUser on DrozChatUser {\n ... on DrozChatAgent {\n id\n name\n }\n ... on DrozChatCustomer {\n id\n name\n }\n}\n ";
|
|
1086
1146
|
export declare const TicketMessageFragmentDoc = "\n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n sender {\n ...drozChatUser\n }\n channelId\n contentType\n content\n filename\n size\n type\n createdAt\n updatedAt\n}\n ";
|
|
1087
1147
|
export declare const FacetsFragmentDoc = "\n fragment facets on TicketsSearchResultsFacet {\n ... on SearchResultsFacet {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\n }\n ... on AgentSearchResultsFacet {\n name\n values {\n value\n agent {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n ... on ChannelSearchResultsFacet {\n name\n values {\n value\n channel {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n}\n ";
|
|
1088
|
-
export declare const ViewFragmentDoc = "\n fragment view on View {\n id\n name\n
|
|
1148
|
+
export declare const ViewFragmentDoc = "\n fragment view on View {\n id\n name\n filters\n createdAt\n updatedAt\n}\n ";
|
|
1089
1149
|
export declare const GenerateAnalyticsTokenDocument = "\n mutation generateAnalyticsToken {\n generateAnalyticsToken {\n token\n }\n}\n ";
|
|
1090
1150
|
export declare const GetDrozChatChannelDocument = "\n query getDrozChatChannel($id: ID!) {\n getDrozChatChannel(id: $id) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
1091
1151
|
export declare const ListDrozChatChannelsDocument = "\n query listDrozChatChannels {\n listDrozChatChannels {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1096,6 +1156,10 @@ export declare const DisableDrozChatChannelDocument = "\n mutation disableDro
|
|
|
1096
1156
|
export declare const EnableDrozChatChannelDocument = "\n mutation enableDrozChatChannel($input: EnableDrozChatChannelInput!) {\n enableDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
1097
1157
|
export declare const AddDrozChatChannelAgentDocument = "\n mutation addDrozChatChannelAgent($input: AddDrozChatChannelAgentInput!) {\n addDrozChatChannelAgent(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
1098
1158
|
export declare const RemoveDrozChatChannelAgentDocument = "\n mutation removeDrozChatChannelAgent($input: RemoveDrozChatChannelAgentInput!) {\n removeDrozChatChannelAgent(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
1159
|
+
export declare const ListNotesDocument = "\n query listNotes($customerId: String!, $next: Base64) {\n listNotes(customerId: $customerId, next: $next) {\n nodes {\n ...customerNote\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
1160
|
+
export declare const CreateNoteDocument = "\n mutation createNote($input: CreateCustomerNoteInput!) {\n createNote(input: $input) {\n ...customerNote\n }\n}\n \n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
1161
|
+
export declare const UpdateNoteDocument = "\n mutation updateNote($input: UpdateCustomerNoteInput!) {\n updateNote(input: $input) {\n ...customerNote\n }\n}\n \n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
1162
|
+
export declare const DeleteNoteDocument = "\n mutation deleteNote($input: DeleteCustomerNoteInput!) {\n deleteNote(input: $input) {\n ...customerNote\n }\n}\n \n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
1099
1163
|
export declare const ListTagsDocument = "\n query listTags($next: Base64) {\n listTags(next: $next) {\n nodes {\n ...tag\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
1100
1164
|
export declare const CreateTagsDocument = "\n mutation createTags($input: CreateTicketTagInput!) {\n createTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
1101
1165
|
export declare const DeleteTagsDocument = "\n mutation deleteTags($input: DeleteTicketTagInput!) {\n deleteTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
@@ -1120,14 +1184,13 @@ export declare const TransferTicketToChannelDocument = "\n mutation transferT
|
|
|
1120
1184
|
export declare const OnTicketInProgressMineDocument = "\n subscription onTicketInProgressMine {\n onTicketInProgressMine {\n ticket {\n ...ticketWithSession\n }\n action\n }\n}\n \n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n \n\n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n protocol\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n assignedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
1121
1185
|
export declare const OnTicketByStateDocument = "\n subscription onTicketByState($state: TicketState!) {\n onTicketByState(state: $state) {\n ticket {\n ...ticketWithSession\n }\n action\n }\n}\n \n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n \n\n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n protocol\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n assignedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
|
|
1122
1186
|
export declare const OnTicketMessageDocument = "\n subscription onTicketMessage($ticketId: ID!) {\n onTicketMessage(ticketId: $ticketId) {\n message {\n ...ticketMessage\n }\n action\n }\n}\n \n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n sender {\n ...drozChatUser\n }\n channelId\n contentType\n content\n filename\n size\n type\n createdAt\n updatedAt\n}\n \n\n fragment drozChatUser on DrozChatUser {\n ... on DrozChatAgent {\n id\n name\n }\n ... on DrozChatCustomer {\n id\n name\n }\n}\n ";
|
|
1123
|
-
export declare const GetViewDocument = "\n query getView($id: ID!) {\n getView(id: $id) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n
|
|
1124
|
-
export declare const ListViewsDocument = "\n query listViews {\n listViews {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n
|
|
1125
|
-
export declare const ListViewsByChannelDocument = "\n query listViewsByChannel($channelId: ID!) {\n listViewsByChannel(channelId: $channelId) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n channelId\n filters\n createdAt\n updatedAt\n}\n ";
|
|
1187
|
+
export declare const GetViewDocument = "\n query getView($id: ID!) {\n getView(id: $id) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n filters\n createdAt\n updatedAt\n}\n ";
|
|
1188
|
+
export declare const ListViewsDocument = "\n query listViews {\n listViews {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n filters\n createdAt\n updatedAt\n}\n ";
|
|
1126
1189
|
export declare const ListTicketsByViewDocument = "\n query listTicketsByView($id: ID!) {\n listTicketsByView(id: $id) {\n ...ticket\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\n protocol\n assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n assignedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
|
|
1127
|
-
export declare const CreateViewDocument = "\n mutation createView($input: CreateViewInput!) {\n createView(input: $input) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n
|
|
1128
|
-
export declare const CloneViewDocument = "\n mutation cloneView($input: CloneViewInput!) {\n cloneView(input: $input) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n
|
|
1129
|
-
export declare const UpdateViewDocument = "\n mutation updateView($input: UpdateViewInput!) {\n updateView(input: $input) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n
|
|
1130
|
-
export declare const DeleteViewDocument = "\n mutation deleteView($input: DeleteViewInput!) {\n deleteView(input: $input) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n
|
|
1190
|
+
export declare const CreateViewDocument = "\n mutation createView($input: CreateViewInput!) {\n createView(input: $input) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n filters\n createdAt\n updatedAt\n}\n ";
|
|
1191
|
+
export declare const CloneViewDocument = "\n mutation cloneView($input: CloneViewInput!) {\n cloneView(input: $input) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n filters\n createdAt\n updatedAt\n}\n ";
|
|
1192
|
+
export declare const UpdateViewDocument = "\n mutation updateView($input: UpdateViewInput!) {\n updateView(input: $input) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n filters\n createdAt\n updatedAt\n}\n ";
|
|
1193
|
+
export declare const DeleteViewDocument = "\n mutation deleteView($input: DeleteViewInput!) {\n deleteView(input: $input) {\n ...view\n }\n}\n \n fragment view on View {\n id\n name\n filters\n createdAt\n updatedAt\n}\n ";
|
|
1131
1194
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
1132
1195
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
1133
1196
|
generateAnalyticsToken(variables?: GenerateAnalyticsTokenMutationVariables, options?: C): Promise<GenerateAnalyticsTokenMutation>;
|
|
@@ -1140,6 +1203,10 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1140
1203
|
enableDrozChatChannel(variables: EnableDrozChatChannelMutationVariables, options?: C): Promise<EnableDrozChatChannelMutation>;
|
|
1141
1204
|
addDrozChatChannelAgent(variables: AddDrozChatChannelAgentMutationVariables, options?: C): Promise<AddDrozChatChannelAgentMutation>;
|
|
1142
1205
|
removeDrozChatChannelAgent(variables: RemoveDrozChatChannelAgentMutationVariables, options?: C): Promise<RemoveDrozChatChannelAgentMutation>;
|
|
1206
|
+
listNotes(variables: ListNotesQueryVariables, options?: C): Promise<ListNotesQuery>;
|
|
1207
|
+
createNote(variables: CreateNoteMutationVariables, options?: C): Promise<CreateNoteMutation>;
|
|
1208
|
+
updateNote(variables: UpdateNoteMutationVariables, options?: C): Promise<UpdateNoteMutation>;
|
|
1209
|
+
deleteNote(variables: DeleteNoteMutationVariables, options?: C): Promise<DeleteNoteMutation>;
|
|
1143
1210
|
listTags(variables?: ListTagsQueryVariables, options?: C): Promise<ListTagsQuery>;
|
|
1144
1211
|
createTags(variables: CreateTagsMutationVariables, options?: C): Promise<CreateTagsMutation>;
|
|
1145
1212
|
deleteTags(variables: DeleteTagsMutationVariables, options?: C): Promise<DeleteTagsMutation>;
|
|
@@ -1166,7 +1233,6 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1166
1233
|
onTicketMessage(variables: OnTicketMessageSubscriptionVariables, options?: C): AsyncIterableIterator<OnTicketMessageSubscription>;
|
|
1167
1234
|
getView(variables: GetViewQueryVariables, options?: C): Promise<GetViewQuery>;
|
|
1168
1235
|
listViews(variables?: ListViewsQueryVariables, options?: C): Promise<ListViewsQuery>;
|
|
1169
|
-
listViewsByChannel(variables: ListViewsByChannelQueryVariables, options?: C): Promise<ListViewsByChannelQuery>;
|
|
1170
1236
|
listTicketsByView(variables: ListTicketsByViewQueryVariables, options?: C): Promise<ListTicketsByViewQuery>;
|
|
1171
1237
|
createView(variables: CreateViewMutationVariables, options?: C): Promise<CreateViewMutation>;
|
|
1172
1238
|
cloneView(variables: CloneViewMutationVariables, options?: C): Promise<CloneViewMutation>;
|
package/src/sdks/drozchat.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.
|
|
4
|
+
exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.SearchTicketsDocument = exports.ListTicketInternalNotesDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.DeleteNoteDocument = exports.UpdateNoteDocument = exports.CreateNoteDocument = exports.ListNotesDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.GenerateAnalyticsTokenDocument = exports.ViewFragmentDoc = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = exports.DrozChatUserFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.CustomerNoteFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketMessageType = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = exports.GetViewDocument = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = void 0;
|
|
6
6
|
exports.getSdk = getSdk;
|
|
7
7
|
var AppInstanceStatus;
|
|
8
8
|
(function (AppInstanceStatus) {
|
|
@@ -73,6 +73,7 @@ var Typenames;
|
|
|
73
73
|
(function (Typenames) {
|
|
74
74
|
Typenames["Any"] = "Any";
|
|
75
75
|
Typenames["Channels"] = "Channels";
|
|
76
|
+
Typenames["CustomerNotes"] = "CustomerNotes";
|
|
76
77
|
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
77
78
|
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
|
|
78
79
|
Typenames["Protocols"] = "Protocols";
|
|
@@ -88,6 +89,17 @@ exports.DrozChatAgentFragmentDoc = `
|
|
|
88
89
|
name
|
|
89
90
|
}
|
|
90
91
|
`;
|
|
92
|
+
exports.CustomerNoteFragmentDoc = `
|
|
93
|
+
fragment customerNote on CustomerNote {
|
|
94
|
+
id
|
|
95
|
+
note
|
|
96
|
+
createdBy {
|
|
97
|
+
...drozChatAgent
|
|
98
|
+
}
|
|
99
|
+
createdAt
|
|
100
|
+
updatedAt
|
|
101
|
+
}
|
|
102
|
+
`;
|
|
91
103
|
exports.TagFragmentDoc = `
|
|
92
104
|
fragment tag on TicketTag {
|
|
93
105
|
name
|
|
@@ -277,7 +289,6 @@ exports.ViewFragmentDoc = `
|
|
|
277
289
|
fragment view on View {
|
|
278
290
|
id
|
|
279
291
|
name
|
|
280
|
-
channelId
|
|
281
292
|
filters
|
|
282
293
|
createdAt
|
|
283
294
|
updatedAt
|
|
@@ -353,6 +364,44 @@ exports.RemoveDrozChatChannelAgentDocument = `
|
|
|
353
364
|
}
|
|
354
365
|
}
|
|
355
366
|
${exports.DrozChatChannelFragmentDoc}`;
|
|
367
|
+
exports.ListNotesDocument = `
|
|
368
|
+
query listNotes($customerId: String!, $next: Base64) {
|
|
369
|
+
listNotes(customerId: $customerId, next: $next) {
|
|
370
|
+
nodes {
|
|
371
|
+
...customerNote
|
|
372
|
+
}
|
|
373
|
+
pageInfo {
|
|
374
|
+
hasNext
|
|
375
|
+
next
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
${exports.CustomerNoteFragmentDoc}
|
|
380
|
+
${exports.DrozChatAgentFragmentDoc}`;
|
|
381
|
+
exports.CreateNoteDocument = `
|
|
382
|
+
mutation createNote($input: CreateCustomerNoteInput!) {
|
|
383
|
+
createNote(input: $input) {
|
|
384
|
+
...customerNote
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
${exports.CustomerNoteFragmentDoc}
|
|
388
|
+
${exports.DrozChatAgentFragmentDoc}`;
|
|
389
|
+
exports.UpdateNoteDocument = `
|
|
390
|
+
mutation updateNote($input: UpdateCustomerNoteInput!) {
|
|
391
|
+
updateNote(input: $input) {
|
|
392
|
+
...customerNote
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
${exports.CustomerNoteFragmentDoc}
|
|
396
|
+
${exports.DrozChatAgentFragmentDoc}`;
|
|
397
|
+
exports.DeleteNoteDocument = `
|
|
398
|
+
mutation deleteNote($input: DeleteCustomerNoteInput!) {
|
|
399
|
+
deleteNote(input: $input) {
|
|
400
|
+
...customerNote
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
${exports.CustomerNoteFragmentDoc}
|
|
404
|
+
${exports.DrozChatAgentFragmentDoc}`;
|
|
356
405
|
exports.ListTagsDocument = `
|
|
357
406
|
query listTags($next: Base64) {
|
|
358
407
|
listTags(next: $next) {
|
|
@@ -689,13 +738,6 @@ exports.ListViewsDocument = `
|
|
|
689
738
|
}
|
|
690
739
|
}
|
|
691
740
|
${exports.ViewFragmentDoc}`;
|
|
692
|
-
exports.ListViewsByChannelDocument = `
|
|
693
|
-
query listViewsByChannel($channelId: ID!) {
|
|
694
|
-
listViewsByChannel(channelId: $channelId) {
|
|
695
|
-
...view
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
${exports.ViewFragmentDoc}`;
|
|
699
741
|
exports.ListTicketsByViewDocument = `
|
|
700
742
|
query listTicketsByView($id: ID!) {
|
|
701
743
|
listTicketsByView(id: $id) {
|
|
@@ -767,6 +809,18 @@ function getSdk(requester) {
|
|
|
767
809
|
removeDrozChatChannelAgent(variables, options) {
|
|
768
810
|
return requester(exports.RemoveDrozChatChannelAgentDocument, variables, options);
|
|
769
811
|
},
|
|
812
|
+
listNotes(variables, options) {
|
|
813
|
+
return requester(exports.ListNotesDocument, variables, options);
|
|
814
|
+
},
|
|
815
|
+
createNote(variables, options) {
|
|
816
|
+
return requester(exports.CreateNoteDocument, variables, options);
|
|
817
|
+
},
|
|
818
|
+
updateNote(variables, options) {
|
|
819
|
+
return requester(exports.UpdateNoteDocument, variables, options);
|
|
820
|
+
},
|
|
821
|
+
deleteNote(variables, options) {
|
|
822
|
+
return requester(exports.DeleteNoteDocument, variables, options);
|
|
823
|
+
},
|
|
770
824
|
listTags(variables, options) {
|
|
771
825
|
return requester(exports.ListTagsDocument, variables, options);
|
|
772
826
|
},
|
|
@@ -845,9 +899,6 @@ function getSdk(requester) {
|
|
|
845
899
|
listViews(variables, options) {
|
|
846
900
|
return requester(exports.ListViewsDocument, variables, options);
|
|
847
901
|
},
|
|
848
|
-
listViewsByChannel(variables, options) {
|
|
849
|
-
return requester(exports.ListViewsByChannelDocument, variables, options);
|
|
850
|
-
},
|
|
851
902
|
listTicketsByView(variables, options) {
|
|
852
903
|
return requester(exports.ListTicketsByViewDocument, variables, options);
|
|
853
904
|
},
|