@droz-js/sdk 0.9.55 → 0.9.56
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 +9 -0
- package/src/drozchat.d.ts +9 -0
- package/src/sdks/drozchat.d.ts +60 -0
- package/src/sdks/drozchat.js +48 -2
package/package.json
CHANGED
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -46,6 +46,15 @@ declare const DrozChatWs_base: new () => {
|
|
|
46
46
|
deleteNote(variables: import("./sdks/drozchat").Exact<{
|
|
47
47
|
input: import("./sdks/drozchat").DeleteCustomerNoteInput;
|
|
48
48
|
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteNoteMutation>;
|
|
49
|
+
listQuickAnswers(variables?: import("./sdks/drozchat").Exact<{
|
|
50
|
+
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
51
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListQuickAnswersQuery>;
|
|
52
|
+
createQuickAnswer(variables: import("./sdks/drozchat").Exact<{
|
|
53
|
+
input: import("./sdks/drozchat").CreateQuickAnswerInput;
|
|
54
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateQuickAnswerMutation>;
|
|
55
|
+
deleteQuickAnswer(variables: import("./sdks/drozchat").Exact<{
|
|
56
|
+
input: import("./sdks/drozchat").DeleteQuickAnswerInput;
|
|
57
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteQuickAnswerMutation>;
|
|
49
58
|
listTags(variables?: import("./sdks/drozchat").Exact<{
|
|
50
59
|
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
51
60
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTagsQuery>;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -49,6 +49,15 @@ declare const DrozChat_base: new (options?: import("./client/http").HttpClientOp
|
|
|
49
49
|
deleteNote(variables: import("./sdks/drozchat").Exact<{
|
|
50
50
|
input: import("./sdks/drozchat").DeleteCustomerNoteInput;
|
|
51
51
|
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteNoteMutation>;
|
|
52
|
+
listQuickAnswers(variables?: import("./sdks/drozchat").Exact<{
|
|
53
|
+
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
54
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").ListQuickAnswersQuery>;
|
|
55
|
+
createQuickAnswer(variables: import("./sdks/drozchat").Exact<{
|
|
56
|
+
input: import("./sdks/drozchat").CreateQuickAnswerInput;
|
|
57
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").CreateQuickAnswerMutation>;
|
|
58
|
+
deleteQuickAnswer(variables: import("./sdks/drozchat").Exact<{
|
|
59
|
+
input: import("./sdks/drozchat").DeleteQuickAnswerInput;
|
|
60
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").DeleteQuickAnswerMutation>;
|
|
52
61
|
listTags(variables?: import("./sdks/drozchat").Exact<{
|
|
53
62
|
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
54
63
|
}>, options?: unknown): Promise<import("./sdks/drozchat").ListTagsQuery>;
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -190,6 +190,10 @@ export type CreateDrozChatChannelInput = {
|
|
|
190
190
|
agentIds?: InputMaybe<Scalars['Set']['input']>;
|
|
191
191
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
192
192
|
};
|
|
193
|
+
export type CreateQuickAnswerInput = {
|
|
194
|
+
message: Scalars['String']['input'];
|
|
195
|
+
name: Scalars['String']['input'];
|
|
196
|
+
};
|
|
193
197
|
export type CreateTicketInput = {
|
|
194
198
|
channelId: Scalars['ID']['input'];
|
|
195
199
|
customerId: Scalars['ID']['input'];
|
|
@@ -229,6 +233,9 @@ export type DeleteCustomerNoteInput = {
|
|
|
229
233
|
customerId: Scalars['String']['input'];
|
|
230
234
|
id: Scalars['String']['input'];
|
|
231
235
|
};
|
|
236
|
+
export type DeleteQuickAnswerInput = {
|
|
237
|
+
id: Scalars['String']['input'];
|
|
238
|
+
};
|
|
232
239
|
export type DeleteTicketTagInput = {
|
|
233
240
|
tags: Array<Scalars['String']['input']>;
|
|
234
241
|
};
|
|
@@ -297,12 +304,14 @@ export type Mutation = {
|
|
|
297
304
|
closeTicket: Ticket;
|
|
298
305
|
createDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
299
306
|
createNote: CustomerNote;
|
|
307
|
+
createQuickAnswer: QuickAnswer;
|
|
300
308
|
createTags: Array<TicketTag>;
|
|
301
309
|
createTicket: Ticket;
|
|
302
310
|
createTicketMessage: TicketMessage;
|
|
303
311
|
createTicketMessageForStorage: TicketMessage;
|
|
304
312
|
createView: View;
|
|
305
313
|
deleteNote: CustomerNote;
|
|
314
|
+
deleteQuickAnswer: QuickAnswer;
|
|
306
315
|
deleteTags: Array<Maybe<TicketTag>>;
|
|
307
316
|
deleteView: View;
|
|
308
317
|
disableDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
@@ -343,6 +352,9 @@ export type MutationCreateDrozChatChannelArgs = {
|
|
|
343
352
|
export type MutationCreateNoteArgs = {
|
|
344
353
|
input: CreateCustomerNoteInput;
|
|
345
354
|
};
|
|
355
|
+
export type MutationCreateQuickAnswerArgs = {
|
|
356
|
+
input: CreateQuickAnswerInput;
|
|
357
|
+
};
|
|
346
358
|
export type MutationCreateTagsArgs = {
|
|
347
359
|
input: CreateTicketTagInput;
|
|
348
360
|
};
|
|
@@ -361,6 +373,9 @@ export type MutationCreateViewArgs = {
|
|
|
361
373
|
export type MutationDeleteNoteArgs = {
|
|
362
374
|
input?: InputMaybe<DeleteCustomerNoteInput>;
|
|
363
375
|
};
|
|
376
|
+
export type MutationDeleteQuickAnswerArgs = {
|
|
377
|
+
input: DeleteQuickAnswerInput;
|
|
378
|
+
};
|
|
364
379
|
export type MutationDeleteTagsArgs = {
|
|
365
380
|
input: DeleteTicketTagInput;
|
|
366
381
|
};
|
|
@@ -432,6 +447,7 @@ export type Query = {
|
|
|
432
447
|
listDrozChatAgentChannels: Array<DrozChatChannel>;
|
|
433
448
|
listDrozChatChannels: Array<DrozChatChannel>;
|
|
434
449
|
listNotes: CustomerNotesConnection;
|
|
450
|
+
listQuickAnswers: QuickAnswersConnection;
|
|
435
451
|
listTags: TicketTagsConnection;
|
|
436
452
|
listTicketInternalNotes: TicketMessagesConnection;
|
|
437
453
|
listTicketMessages: TicketMessagesConnection;
|
|
@@ -458,6 +474,9 @@ export type QueryListNotesArgs = {
|
|
|
458
474
|
customerId: Scalars['String']['input'];
|
|
459
475
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
460
476
|
};
|
|
477
|
+
export type QueryListQuickAnswersArgs = {
|
|
478
|
+
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
479
|
+
};
|
|
461
480
|
export type QueryListTagsArgs = {
|
|
462
481
|
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
463
482
|
};
|
|
@@ -489,6 +508,17 @@ export type QuerySearchTicketsArgs = {
|
|
|
489
508
|
q?: InputMaybe<Scalars['String']['input']>;
|
|
490
509
|
sortBy?: InputMaybe<Array<TicketSearchSortBy>>;
|
|
491
510
|
};
|
|
511
|
+
export type QuickAnswer = {
|
|
512
|
+
createdAt: Scalars['DateTime']['output'];
|
|
513
|
+
id: Scalars['String']['output'];
|
|
514
|
+
message: Scalars['String']['output'];
|
|
515
|
+
name: Scalars['String']['output'];
|
|
516
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
517
|
+
};
|
|
518
|
+
export type QuickAnswersConnection = {
|
|
519
|
+
nodes: Array<QuickAnswer>;
|
|
520
|
+
pageInfo: PageInfo;
|
|
521
|
+
};
|
|
492
522
|
export type RemoveDrozChatChannelAgentInput = {
|
|
493
523
|
agentId: Scalars['ID']['input'];
|
|
494
524
|
channelId: Scalars['ID']['input'];
|
|
@@ -745,6 +775,7 @@ export declare enum Typenames {
|
|
|
745
775
|
GraphqlConnections = "GraphqlConnections",
|
|
746
776
|
GraphqlSubscriptions = "GraphqlSubscriptions",
|
|
747
777
|
Protocols = "Protocols",
|
|
778
|
+
QuickAnswer = "QuickAnswer",
|
|
748
779
|
Tags = "Tags",
|
|
749
780
|
TicketMappings = "TicketMappings",
|
|
750
781
|
TicketMessages = "TicketMessages",
|
|
@@ -873,6 +904,28 @@ export type DeleteNoteMutationVariables = Exact<{
|
|
|
873
904
|
export type DeleteNoteMutation = {
|
|
874
905
|
deleteNote: CustomerNoteFragment;
|
|
875
906
|
};
|
|
907
|
+
export type AnswerFragment = Pick<QuickAnswer, 'id' | 'name' | 'message' | 'createdAt' | 'updatedAt'>;
|
|
908
|
+
export type ListQuickAnswersQueryVariables = Exact<{
|
|
909
|
+
next?: InputMaybe<Scalars['Base64']['input']>;
|
|
910
|
+
}>;
|
|
911
|
+
export type ListQuickAnswersQuery = {
|
|
912
|
+
listQuickAnswers: {
|
|
913
|
+
nodes: Array<AnswerFragment>;
|
|
914
|
+
pageInfo: Pick<PageInfo, 'hasNext' | 'next'>;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
export type CreateQuickAnswerMutationVariables = Exact<{
|
|
918
|
+
input: CreateQuickAnswerInput;
|
|
919
|
+
}>;
|
|
920
|
+
export type CreateQuickAnswerMutation = {
|
|
921
|
+
createQuickAnswer: AnswerFragment;
|
|
922
|
+
};
|
|
923
|
+
export type DeleteQuickAnswerMutationVariables = Exact<{
|
|
924
|
+
input: DeleteQuickAnswerInput;
|
|
925
|
+
}>;
|
|
926
|
+
export type DeleteQuickAnswerMutation = {
|
|
927
|
+
deleteQuickAnswer: AnswerFragment;
|
|
928
|
+
};
|
|
876
929
|
export type TagFragment = (Pick<TicketTag, 'name' | 'createdAt' | 'updatedAt'> & {
|
|
877
930
|
createdBy?: Maybe<DrozChatAgentFragment>;
|
|
878
931
|
});
|
|
@@ -1136,6 +1189,7 @@ export type DeleteViewMutation = {
|
|
|
1136
1189
|
};
|
|
1137
1190
|
export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
|
|
1138
1191
|
export declare const CustomerNoteFragmentDoc = "\n fragment customerNote on CustomerNote {\n id\n note\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n ";
|
|
1192
|
+
export declare const AnswerFragmentDoc = "\n fragment answer on QuickAnswer {\n id\n name\n message\n createdAt\n updatedAt\n}\n ";
|
|
1139
1193
|
export declare const TagFragmentDoc = "\n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n ";
|
|
1140
1194
|
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 ";
|
|
1141
1195
|
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 ";
|
|
@@ -1161,6 +1215,9 @@ export declare const ListNotesDocument = "\n query listNotes($customerId: Str
|
|
|
1161
1215
|
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 ";
|
|
1162
1216
|
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 ";
|
|
1163
1217
|
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 ";
|
|
1218
|
+
export declare const ListQuickAnswersDocument = "\n query listQuickAnswers($next: Base64) {\n listQuickAnswers(next: $next) {\n nodes {\n ...answer\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment answer on QuickAnswer {\n id\n name\n message\n createdAt\n updatedAt\n}\n ";
|
|
1219
|
+
export declare const CreateQuickAnswerDocument = "\n mutation createQuickAnswer($input: CreateQuickAnswerInput!) {\n createQuickAnswer(input: $input) {\n ...answer\n }\n}\n \n fragment answer on QuickAnswer {\n id\n name\n message\n createdAt\n updatedAt\n}\n ";
|
|
1220
|
+
export declare const DeleteQuickAnswerDocument = "\n mutation deleteQuickAnswer($input: DeleteQuickAnswerInput!) {\n deleteQuickAnswer(input: $input) {\n ...answer\n }\n}\n \n fragment answer on QuickAnswer {\n id\n name\n message\n createdAt\n updatedAt\n}\n ";
|
|
1164
1221
|
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 ";
|
|
1165
1222
|
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 ";
|
|
1166
1223
|
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 ";
|
|
@@ -1208,6 +1265,9 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1208
1265
|
createNote(variables: CreateNoteMutationVariables, options?: C): Promise<CreateNoteMutation>;
|
|
1209
1266
|
updateNote(variables: UpdateNoteMutationVariables, options?: C): Promise<UpdateNoteMutation>;
|
|
1210
1267
|
deleteNote(variables: DeleteNoteMutationVariables, options?: C): Promise<DeleteNoteMutation>;
|
|
1268
|
+
listQuickAnswers(variables?: ListQuickAnswersQueryVariables, options?: C): Promise<ListQuickAnswersQuery>;
|
|
1269
|
+
createQuickAnswer(variables: CreateQuickAnswerMutationVariables, options?: C): Promise<CreateQuickAnswerMutation>;
|
|
1270
|
+
deleteQuickAnswer(variables: DeleteQuickAnswerMutationVariables, options?: C): Promise<DeleteQuickAnswerMutation>;
|
|
1211
1271
|
listTags(variables?: ListTagsQueryVariables, options?: C): Promise<ListTagsQuery>;
|
|
1212
1272
|
createTags(variables: CreateTagsMutationVariables, options?: C): Promise<CreateTagsMutation>;
|
|
1213
1273
|
deleteTags(variables: DeleteTagsMutationVariables, options?: C): Promise<DeleteTagsMutation>;
|
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.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;
|
|
4
|
+
exports.SearchTicketsDocument = exports.ListTicketInternalNotesDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.DeleteQuickAnswerDocument = exports.CreateQuickAnswerDocument = exports.ListQuickAnswersDocument = 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.AnswerFragmentDoc = 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 = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = void 0;
|
|
6
6
|
exports.getSdk = getSdk;
|
|
7
7
|
var AppInstanceStatus;
|
|
8
8
|
(function (AppInstanceStatus) {
|
|
@@ -77,6 +77,7 @@ var Typenames;
|
|
|
77
77
|
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
78
78
|
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
|
|
79
79
|
Typenames["Protocols"] = "Protocols";
|
|
80
|
+
Typenames["QuickAnswer"] = "QuickAnswer";
|
|
80
81
|
Typenames["Tags"] = "Tags";
|
|
81
82
|
Typenames["TicketMappings"] = "TicketMappings";
|
|
82
83
|
Typenames["TicketMessages"] = "TicketMessages";
|
|
@@ -100,6 +101,15 @@ exports.CustomerNoteFragmentDoc = `
|
|
|
100
101
|
updatedAt
|
|
101
102
|
}
|
|
102
103
|
`;
|
|
104
|
+
exports.AnswerFragmentDoc = `
|
|
105
|
+
fragment answer on QuickAnswer {
|
|
106
|
+
id
|
|
107
|
+
name
|
|
108
|
+
message
|
|
109
|
+
createdAt
|
|
110
|
+
updatedAt
|
|
111
|
+
}
|
|
112
|
+
`;
|
|
103
113
|
exports.TagFragmentDoc = `
|
|
104
114
|
fragment tag on TicketTag {
|
|
105
115
|
name
|
|
@@ -403,6 +413,33 @@ exports.DeleteNoteDocument = `
|
|
|
403
413
|
}
|
|
404
414
|
${exports.CustomerNoteFragmentDoc}
|
|
405
415
|
${exports.DrozChatAgentFragmentDoc}`;
|
|
416
|
+
exports.ListQuickAnswersDocument = `
|
|
417
|
+
query listQuickAnswers($next: Base64) {
|
|
418
|
+
listQuickAnswers(next: $next) {
|
|
419
|
+
nodes {
|
|
420
|
+
...answer
|
|
421
|
+
}
|
|
422
|
+
pageInfo {
|
|
423
|
+
hasNext
|
|
424
|
+
next
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
${exports.AnswerFragmentDoc}`;
|
|
429
|
+
exports.CreateQuickAnswerDocument = `
|
|
430
|
+
mutation createQuickAnswer($input: CreateQuickAnswerInput!) {
|
|
431
|
+
createQuickAnswer(input: $input) {
|
|
432
|
+
...answer
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
${exports.AnswerFragmentDoc}`;
|
|
436
|
+
exports.DeleteQuickAnswerDocument = `
|
|
437
|
+
mutation deleteQuickAnswer($input: DeleteQuickAnswerInput!) {
|
|
438
|
+
deleteQuickAnswer(input: $input) {
|
|
439
|
+
...answer
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
${exports.AnswerFragmentDoc}`;
|
|
406
443
|
exports.ListTagsDocument = `
|
|
407
444
|
query listTags($next: Base64) {
|
|
408
445
|
listTags(next: $next) {
|
|
@@ -822,6 +859,15 @@ function getSdk(requester) {
|
|
|
822
859
|
deleteNote(variables, options) {
|
|
823
860
|
return requester(exports.DeleteNoteDocument, variables, options);
|
|
824
861
|
},
|
|
862
|
+
listQuickAnswers(variables, options) {
|
|
863
|
+
return requester(exports.ListQuickAnswersDocument, variables, options);
|
|
864
|
+
},
|
|
865
|
+
createQuickAnswer(variables, options) {
|
|
866
|
+
return requester(exports.CreateQuickAnswerDocument, variables, options);
|
|
867
|
+
},
|
|
868
|
+
deleteQuickAnswer(variables, options) {
|
|
869
|
+
return requester(exports.DeleteQuickAnswerDocument, variables, options);
|
|
870
|
+
},
|
|
825
871
|
listTags(variables, options) {
|
|
826
872
|
return requester(exports.ListTagsDocument, variables, options);
|
|
827
873
|
},
|