@droz-js/sdk 0.14.4 → 0.14.7
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 +12 -6
- package/src/drozchat.d.ts +12 -6
- package/src/sdks/drozchat.d.ts +92 -52
- package/src/sdks/drozchat.js +42 -13
package/package.json
CHANGED
package/src/drozchat-ws.d.ts
CHANGED
|
@@ -33,6 +33,12 @@ 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
|
+
addDrozChatChannelGroup(variables: import("./sdks/drozchat").Exact<{
|
|
37
|
+
input: import("./sdks/drozchat").AddDrozChatChannelGroupInput;
|
|
38
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").AddDrozChatChannelGroupMutation>;
|
|
39
|
+
removeDrozChatChannelGroup(variables: import("./sdks/drozchat").Exact<{
|
|
40
|
+
input: import("./sdks/drozchat").RemoveDrozChatChannelGroupInput;
|
|
41
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatChannelGroupMutation>;
|
|
36
42
|
listNotes(variables: import("./sdks/drozchat").Exact<{
|
|
37
43
|
customerId: import("./sdks/drozchat").Scalars["String"]["input"];
|
|
38
44
|
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
@@ -76,12 +82,12 @@ declare const DrozChatWs_base: new () => {
|
|
|
76
82
|
enableDrozChatAgentGroup(variables: import("./sdks/drozchat").Exact<{
|
|
77
83
|
input: import("./sdks/drozchat").EnableDrozChatAgentGroupInput;
|
|
78
84
|
}>, options?: unknown): Promise<import("./sdks/drozchat").EnableDrozChatAgentGroupMutation>;
|
|
79
|
-
|
|
80
|
-
input: import("./sdks/drozchat").
|
|
81
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").
|
|
82
|
-
|
|
83
|
-
input: import("./sdks/drozchat").
|
|
84
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").
|
|
85
|
+
addDrozChatAgentGroup(variables: import("./sdks/drozchat").Exact<{
|
|
86
|
+
input: import("./sdks/drozchat").AddDrozChatAgentGroupInput;
|
|
87
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").AddDrozChatAgentGroupMutation>;
|
|
88
|
+
removeDrozChatAgentGroup(variables: import("./sdks/drozchat").Exact<{
|
|
89
|
+
input: import("./sdks/drozchat").RemoveDrozChatAgentGroupInput;
|
|
90
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatAgentGroupMutation>;
|
|
85
91
|
getSurvey(variables?: import("./sdks/drozchat").Exact<{
|
|
86
92
|
[key: string]: never;
|
|
87
93
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetSurveyQuery>;
|
package/src/drozchat.d.ts
CHANGED
|
@@ -36,6 +36,12 @@ 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
|
+
addDrozChatChannelGroup(variables: import("./sdks/drozchat").Exact<{
|
|
40
|
+
input: import("./sdks/drozchat").AddDrozChatChannelGroupInput;
|
|
41
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").AddDrozChatChannelGroupMutation>;
|
|
42
|
+
removeDrozChatChannelGroup(variables: import("./sdks/drozchat").Exact<{
|
|
43
|
+
input: import("./sdks/drozchat").RemoveDrozChatChannelGroupInput;
|
|
44
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatChannelGroupMutation>;
|
|
39
45
|
listNotes(variables: import("./sdks/drozchat").Exact<{
|
|
40
46
|
customerId: import("./sdks/drozchat").Scalars["String"]["input"];
|
|
41
47
|
next?: import("./sdks/drozchat").InputMaybe<import("./sdks/drozchat").Scalars["Base64"]["input"]>;
|
|
@@ -79,12 +85,12 @@ declare const DrozChat_base: new (options?: import("./client/http").HttpClientOp
|
|
|
79
85
|
enableDrozChatAgentGroup(variables: import("./sdks/drozchat").Exact<{
|
|
80
86
|
input: import("./sdks/drozchat").EnableDrozChatAgentGroupInput;
|
|
81
87
|
}>, options?: unknown): Promise<import("./sdks/drozchat").EnableDrozChatAgentGroupMutation>;
|
|
82
|
-
|
|
83
|
-
input: import("./sdks/drozchat").
|
|
84
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").
|
|
85
|
-
|
|
86
|
-
input: import("./sdks/drozchat").
|
|
87
|
-
}>, options?: unknown): Promise<import("./sdks/drozchat").
|
|
88
|
+
addDrozChatAgentGroup(variables: import("./sdks/drozchat").Exact<{
|
|
89
|
+
input: import("./sdks/drozchat").AddDrozChatAgentGroupInput;
|
|
90
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").AddDrozChatAgentGroupMutation>;
|
|
91
|
+
removeDrozChatAgentGroup(variables: import("./sdks/drozchat").Exact<{
|
|
92
|
+
input: import("./sdks/drozchat").RemoveDrozChatAgentGroupInput;
|
|
93
|
+
}>, options?: unknown): Promise<import("./sdks/drozchat").RemoveDrozChatAgentGroupMutation>;
|
|
88
94
|
getSurvey(variables?: import("./sdks/drozchat").Exact<{
|
|
89
95
|
[key: string]: never;
|
|
90
96
|
}>, options?: unknown): Promise<import("./sdks/drozchat").GetSurveyQuery>;
|
package/src/sdks/drozchat.d.ts
CHANGED
|
@@ -122,7 +122,7 @@ export type Scalars = {
|
|
|
122
122
|
output: void;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
-
export type
|
|
125
|
+
export type AddDrozChatAgentGroupInput = {
|
|
126
126
|
agentId: Scalars['ID']['input'];
|
|
127
127
|
id: Scalars['ID']['input'];
|
|
128
128
|
};
|
|
@@ -130,6 +130,10 @@ export type AddDrozChatChannelAgentInput = {
|
|
|
130
130
|
agentId: Scalars['ID']['input'];
|
|
131
131
|
channelId: Scalars['ID']['input'];
|
|
132
132
|
};
|
|
133
|
+
export type AddDrozChatChannelGroupInput = {
|
|
134
|
+
channelId: Scalars['ID']['input'];
|
|
135
|
+
groupId: Scalars['ID']['input'];
|
|
136
|
+
};
|
|
133
137
|
export type AddTagsToTicketInput = {
|
|
134
138
|
tags: Array<Scalars['String']['input']>;
|
|
135
139
|
ticketId: Scalars['ID']['input'];
|
|
@@ -198,6 +202,7 @@ export type CreateDrozChatAgentGroupInput = {
|
|
|
198
202
|
};
|
|
199
203
|
export type CreateDrozChatChannelInput = {
|
|
200
204
|
agentIds?: InputMaybe<Scalars['Set']['input']>;
|
|
205
|
+
groupIds?: InputMaybe<Scalars['Set']['input']>;
|
|
201
206
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
202
207
|
ticketAutoAssigner?: InputMaybe<Scalars['Boolean']['input']>;
|
|
203
208
|
ticketAutoAssignerType?: InputMaybe<TicketAutoAssignerType>;
|
|
@@ -302,6 +307,7 @@ export type DrozChatChannel = {
|
|
|
302
307
|
createdAt: Scalars['DateTime']['output'];
|
|
303
308
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
304
309
|
drn: Scalars['DRN']['output'];
|
|
310
|
+
groupIds?: Maybe<Array<Scalars['ID']['output']>>;
|
|
305
311
|
id: Scalars['ID']['output'];
|
|
306
312
|
name: Scalars['String']['output'];
|
|
307
313
|
ticketAutoAssigner: Scalars['Boolean']['output'];
|
|
@@ -352,8 +358,9 @@ export type MarkTicketMessagesAsReadInput = {
|
|
|
352
358
|
ticketId: Scalars['ID']['input'];
|
|
353
359
|
};
|
|
354
360
|
export type Mutation = {
|
|
355
|
-
|
|
361
|
+
addDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
356
362
|
addDrozChatChannelAgent?: Maybe<DrozChatChannel>;
|
|
363
|
+
addDrozChatChannelGroup?: Maybe<DrozChatChannel>;
|
|
357
364
|
addTagsToTicket: Ticket;
|
|
358
365
|
assignTicket: Ticket;
|
|
359
366
|
assignTicketMyself: Ticket;
|
|
@@ -383,8 +390,9 @@ export type Mutation = {
|
|
|
383
390
|
enableDrozChatChannel?: Maybe<DrozChatChannel>;
|
|
384
391
|
generateAnalyticsToken?: Maybe<AnalyticsToken>;
|
|
385
392
|
markTicketMessagesAsRead?: Maybe<Scalars['Void']['output']>;
|
|
386
|
-
|
|
393
|
+
removeDrozChatAgentGroup?: Maybe<DrozChatAgentGroup>;
|
|
387
394
|
removeDrozChatChannelAgent?: Maybe<DrozChatChannel>;
|
|
395
|
+
removeDrozChatChannelGroup?: Maybe<DrozChatChannel>;
|
|
388
396
|
removeTagsFromTicket: Ticket;
|
|
389
397
|
setMaxSimultaneousAttendances: GlobalConfiguration;
|
|
390
398
|
transferTicketToChannel: Ticket;
|
|
@@ -400,12 +408,15 @@ export type Mutation = {
|
|
|
400
408
|
upsertSurvey: Survey;
|
|
401
409
|
version?: Maybe<Scalars['String']['output']>;
|
|
402
410
|
};
|
|
403
|
-
export type
|
|
404
|
-
input:
|
|
411
|
+
export type MutationAddDrozChatAgentGroupArgs = {
|
|
412
|
+
input: AddDrozChatAgentGroupInput;
|
|
405
413
|
};
|
|
406
414
|
export type MutationAddDrozChatChannelAgentArgs = {
|
|
407
415
|
input: AddDrozChatChannelAgentInput;
|
|
408
416
|
};
|
|
417
|
+
export type MutationAddDrozChatChannelGroupArgs = {
|
|
418
|
+
input: AddDrozChatChannelGroupInput;
|
|
419
|
+
};
|
|
409
420
|
export type MutationAddTagsToTicketArgs = {
|
|
410
421
|
input: AddTagsToTicketInput;
|
|
411
422
|
};
|
|
@@ -481,12 +492,15 @@ export type MutationEnableDrozChatChannelArgs = {
|
|
|
481
492
|
export type MutationMarkTicketMessagesAsReadArgs = {
|
|
482
493
|
input: MarkTicketMessagesAsReadInput;
|
|
483
494
|
};
|
|
484
|
-
export type
|
|
485
|
-
input:
|
|
495
|
+
export type MutationRemoveDrozChatAgentGroupArgs = {
|
|
496
|
+
input: RemoveDrozChatAgentGroupInput;
|
|
486
497
|
};
|
|
487
498
|
export type MutationRemoveDrozChatChannelAgentArgs = {
|
|
488
499
|
input: RemoveDrozChatChannelAgentInput;
|
|
489
500
|
};
|
|
501
|
+
export type MutationRemoveDrozChatChannelGroupArgs = {
|
|
502
|
+
input: RemoveDrozChatChannelGroupInput;
|
|
503
|
+
};
|
|
490
504
|
export type MutationRemoveTagsFromTicketArgs = {
|
|
491
505
|
input: RemoveTagsFromTicketInput;
|
|
492
506
|
};
|
|
@@ -692,7 +706,7 @@ export declare enum QuickAnswersSortBy {
|
|
|
692
706
|
UpdatedAtAsc = "updatedAt_asc",
|
|
693
707
|
UpdatedAtDesc = "updatedAt_desc"
|
|
694
708
|
}
|
|
695
|
-
export type
|
|
709
|
+
export type RemoveDrozChatAgentGroupInput = {
|
|
696
710
|
agentId: Scalars['ID']['input'];
|
|
697
711
|
id: Scalars['ID']['input'];
|
|
698
712
|
};
|
|
@@ -700,6 +714,10 @@ export type RemoveDrozChatChannelAgentInput = {
|
|
|
700
714
|
agentId: Scalars['ID']['input'];
|
|
701
715
|
channelId: Scalars['ID']['input'];
|
|
702
716
|
};
|
|
717
|
+
export type RemoveDrozChatChannelGroupInput = {
|
|
718
|
+
channelId: Scalars['ID']['input'];
|
|
719
|
+
groupId: Scalars['ID']['input'];
|
|
720
|
+
};
|
|
703
721
|
export type RemoveTagsFromTicketInput = {
|
|
704
722
|
tags: Array<Scalars['String']['input']>;
|
|
705
723
|
ticketId: Scalars['ID']['input'];
|
|
@@ -804,6 +822,7 @@ export type Ticket = {
|
|
|
804
822
|
lastMessage?: Maybe<Scalars['String']['output']>;
|
|
805
823
|
lastMessageAt?: Maybe<Scalars['DateTime']['output']>;
|
|
806
824
|
messagesCount: Scalars['Int']['output'];
|
|
825
|
+
modifiedBy?: Maybe<DrozChatAgent>;
|
|
807
826
|
priority: TicketPriority;
|
|
808
827
|
protocol?: Maybe<Scalars['String']['output']>;
|
|
809
828
|
sessionAttributes?: Maybe<TicketSessionAttributes>;
|
|
@@ -1049,6 +1068,7 @@ export declare enum TriggerEventType {
|
|
|
1049
1068
|
Updated = "UPDATED"
|
|
1050
1069
|
}
|
|
1051
1070
|
export declare enum Typenames {
|
|
1071
|
+
AgentChannelIndex = "AgentChannelIndex",
|
|
1052
1072
|
AgentGroup = "AgentGroup",
|
|
1053
1073
|
Any = "Any",
|
|
1054
1074
|
ChannelLastAssignee = "ChannelLastAssignee",
|
|
@@ -1057,6 +1077,7 @@ export declare enum Typenames {
|
|
|
1057
1077
|
GlobalConfiguration = "GlobalConfiguration",
|
|
1058
1078
|
GraphqlConnections = "GraphqlConnections",
|
|
1059
1079
|
GraphqlSubscriptions = "GraphqlSubscriptions",
|
|
1080
|
+
GroupChannelIndex = "GroupChannelIndex",
|
|
1060
1081
|
NpsSurvey = "NpsSurvey",
|
|
1061
1082
|
Protocols = "Protocols",
|
|
1062
1083
|
QuickAnswers = "QuickAnswers",
|
|
@@ -1085,6 +1106,7 @@ export type UpdateDrozChatAgentGroupInput = {
|
|
|
1085
1106
|
};
|
|
1086
1107
|
export type UpdateDrozChatChannelInput = {
|
|
1087
1108
|
agentIds?: InputMaybe<Scalars['Set']['input']>;
|
|
1109
|
+
groupIds?: InputMaybe<Scalars['Set']['input']>;
|
|
1088
1110
|
id: Scalars['ID']['input'];
|
|
1089
1111
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
1090
1112
|
ticketAutoAssigner?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1141,7 +1163,7 @@ export type GenerateAnalyticsTokenMutationVariables = Exact<{
|
|
|
1141
1163
|
export type GenerateAnalyticsTokenMutation = {
|
|
1142
1164
|
generateAnalyticsToken?: Maybe<Pick<AnalyticsToken, 'token'>>;
|
|
1143
1165
|
};
|
|
1144
|
-
export type DrozChatChannelFragment = Pick<DrozChatChannel, 'id' | 'name' | 'drn' | 'agentIds' | 'ticketAutoAssigner' | 'ticketAutoAssignerType' | 'createdAt' | 'updatedAt' | 'deletedAt'>;
|
|
1166
|
+
export type DrozChatChannelFragment = Pick<DrozChatChannel, 'id' | 'name' | 'drn' | 'agentIds' | 'groupIds' | 'ticketAutoAssigner' | 'ticketAutoAssignerType' | 'createdAt' | 'updatedAt' | 'deletedAt'>;
|
|
1145
1167
|
export type GetDrozChatChannelQueryVariables = Exact<{
|
|
1146
1168
|
id: Scalars['ID']['input'];
|
|
1147
1169
|
}>;
|
|
@@ -1196,6 +1218,18 @@ export type RemoveDrozChatChannelAgentMutationVariables = Exact<{
|
|
|
1196
1218
|
export type RemoveDrozChatChannelAgentMutation = {
|
|
1197
1219
|
removeDrozChatChannelAgent?: Maybe<DrozChatChannelFragment>;
|
|
1198
1220
|
};
|
|
1221
|
+
export type AddDrozChatChannelGroupMutationVariables = Exact<{
|
|
1222
|
+
input: AddDrozChatChannelGroupInput;
|
|
1223
|
+
}>;
|
|
1224
|
+
export type AddDrozChatChannelGroupMutation = {
|
|
1225
|
+
addDrozChatChannelGroup?: Maybe<DrozChatChannelFragment>;
|
|
1226
|
+
};
|
|
1227
|
+
export type RemoveDrozChatChannelGroupMutationVariables = Exact<{
|
|
1228
|
+
input: RemoveDrozChatChannelGroupInput;
|
|
1229
|
+
}>;
|
|
1230
|
+
export type RemoveDrozChatChannelGroupMutation = {
|
|
1231
|
+
removeDrozChatChannelGroup?: Maybe<DrozChatChannelFragment>;
|
|
1232
|
+
};
|
|
1199
1233
|
export type CustomerNoteFragment = (Pick<CustomerNote, 'id' | 'note' | 'createdAt' | 'updatedAt'> & {
|
|
1200
1234
|
createdBy: DrozChatAgentFragment;
|
|
1201
1235
|
});
|
|
@@ -1289,17 +1323,17 @@ export type EnableDrozChatAgentGroupMutationVariables = Exact<{
|
|
|
1289
1323
|
export type EnableDrozChatAgentGroupMutation = {
|
|
1290
1324
|
enableDrozChatAgentGroup?: Maybe<DrozChatAgentGroupFragment>;
|
|
1291
1325
|
};
|
|
1292
|
-
export type
|
|
1293
|
-
input:
|
|
1326
|
+
export type AddDrozChatAgentGroupMutationVariables = Exact<{
|
|
1327
|
+
input: AddDrozChatAgentGroupInput;
|
|
1294
1328
|
}>;
|
|
1295
|
-
export type
|
|
1296
|
-
|
|
1329
|
+
export type AddDrozChatAgentGroupMutation = {
|
|
1330
|
+
addDrozChatAgentGroup?: Maybe<DrozChatAgentGroupFragment>;
|
|
1297
1331
|
};
|
|
1298
|
-
export type
|
|
1299
|
-
input:
|
|
1332
|
+
export type RemoveDrozChatAgentGroupMutationVariables = Exact<{
|
|
1333
|
+
input: RemoveDrozChatAgentGroupInput;
|
|
1300
1334
|
}>;
|
|
1301
|
-
export type
|
|
1302
|
-
|
|
1335
|
+
export type RemoveDrozChatAgentGroupMutation = {
|
|
1336
|
+
removeDrozChatAgentGroup?: Maybe<DrozChatAgentGroupFragment>;
|
|
1303
1337
|
};
|
|
1304
1338
|
export type SurveyFragment = Pick<Survey, 'channels' | 'evaluationMessage' | 'commentMessage' | 'enabled' | 'type' | 'createdAt' | 'updatedAt'>;
|
|
1305
1339
|
export type GetSurveyQueryVariables = Exact<{
|
|
@@ -1421,12 +1455,14 @@ export type TicketTriggerAppFragment = (Pick<TicketTriggerApp, 'drn' | 'name' |
|
|
|
1421
1455
|
});
|
|
1422
1456
|
export type TicketFragment = (Pick<Ticket, 'channelId' | 'id' | 'subject' | 'state' | 'status' | 'priority' | 'tags' | 'externalProviderId' | 'externalId' | 'protocol' | 'createdAt' | 'updatedAt' | 'assignedAt' | 'closedAt' | 'lastMessageAt' | 'firstAgentResponseAt' | 'timeToFirstAgentResponseInMs' | 'timeToCloseInMs' | 'messagesCount' | 'lastMessage' | 'unreadMessagesCount'> & {
|
|
1423
1457
|
assignee?: Maybe<DrozChatAgentFragment>;
|
|
1458
|
+
modifiedBy?: Maybe<DrozChatAgentFragment>;
|
|
1424
1459
|
customer: CustomerFragment;
|
|
1425
1460
|
triggerApp?: Maybe<TicketTriggerAppFragment>;
|
|
1426
1461
|
channel: DrozChatChannelFragment;
|
|
1427
1462
|
});
|
|
1428
1463
|
export type TicketWithoutCustomerFragment = (Pick<Ticket, 'channelId' | 'id' | 'subject' | 'state' | 'status' | 'priority' | 'tags' | 'externalProviderId' | 'externalId' | 'protocol' | 'createdAt' | 'updatedAt' | 'assignedAt' | 'closedAt' | 'lastMessageAt' | 'firstAgentResponseAt' | 'timeToFirstAgentResponseInMs' | 'timeToCloseInMs' | 'messagesCount' | 'lastMessage' | 'unreadMessagesCount'> & {
|
|
1429
1464
|
assignee?: Maybe<DrozChatAgentFragment>;
|
|
1465
|
+
modifiedBy?: Maybe<DrozChatAgentFragment>;
|
|
1430
1466
|
triggerApp?: Maybe<TicketTriggerAppFragment>;
|
|
1431
1467
|
channel: DrozChatChannelFragment;
|
|
1432
1468
|
});
|
|
@@ -1735,10 +1771,10 @@ export declare const QuickAnswerFragmentDoc = "\n fragment quickAnswer on Qui
|
|
|
1735
1771
|
export declare const QuickAnswerFacetsFragmentDoc = "\n fragment quickAnswerFacets on SearchResultsFacet {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\n}\n ";
|
|
1736
1772
|
export declare const TagFragmentDoc = "\n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n ";
|
|
1737
1773
|
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 ";
|
|
1738
|
-
export declare const DrozChatChannelFragmentDoc = "\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1739
|
-
export declare const TicketWithoutCustomerFragmentDoc = "\n fragment ticketWithoutCustomer 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 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 ";
|
|
1774
|
+
export declare const DrozChatChannelFragmentDoc = "\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1775
|
+
export declare const TicketWithoutCustomerFragmentDoc = "\n fragment ticketWithoutCustomer 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 modifiedBy {\n ...drozChatAgent\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 ";
|
|
1740
1776
|
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 ";
|
|
1741
|
-
export declare const TicketFragmentDoc = "\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 ";
|
|
1777
|
+
export declare const TicketFragmentDoc = "\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 modifiedBy {\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 ";
|
|
1742
1778
|
export declare const SessionAttributesFragmentDoc = "\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1743
1779
|
export declare const TicketWithSessionFragmentDoc = "\n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n ";
|
|
1744
1780
|
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 ";
|
|
@@ -1747,15 +1783,17 @@ export declare const FacetsFragmentDoc = "\n fragment facets on TicketsSearch
|
|
|
1747
1783
|
export declare const TriggerFragmentDoc = "\n fragment trigger on Trigger {\n id\n name\n description\n eventType\n priority\n isActive\n createdBy\n createdAt\n updatedAt\n}\n ";
|
|
1748
1784
|
export declare const ViewFragmentDoc = "\n fragment view on View {\n id\n name\n filters\n createdAt\n updatedAt\n}\n ";
|
|
1749
1785
|
export declare const GenerateAnalyticsTokenDocument = "\n mutation generateAnalyticsToken {\n generateAnalyticsToken {\n token\n }\n}\n ";
|
|
1750
|
-
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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1751
|
-
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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1752
|
-
export declare const ListDrozChatAgentChannelsDocument = "\n query listDrozChatAgentChannels($agentId: ID!) {\n listDrozChatAgentChannels(agentId: $agentId) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1753
|
-
export declare const CreateDrozChatChannelDocument = "\n mutation createDrozChatChannel($input: CreateDrozChatChannelInput!) {\n createDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1754
|
-
export declare const UpdateDrozChatChannelDocument = "\n mutation updateDrozChatChannel($input: UpdateDrozChatChannelInput!) {\n updateDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1755
|
-
export declare const DisableDrozChatChannelDocument = "\n mutation disableDrozChatChannel($input: DisableDrozChatChannelInput!) {\n disableDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1756
|
-
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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1757
|
-
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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1758
|
-
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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1786
|
+
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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1787
|
+
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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1788
|
+
export declare const ListDrozChatAgentChannelsDocument = "\n query listDrozChatAgentChannels($agentId: ID!) {\n listDrozChatAgentChannels(agentId: $agentId) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1789
|
+
export declare const CreateDrozChatChannelDocument = "\n mutation createDrozChatChannel($input: CreateDrozChatChannelInput!) {\n createDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1790
|
+
export declare const UpdateDrozChatChannelDocument = "\n mutation updateDrozChatChannel($input: UpdateDrozChatChannelInput!) {\n updateDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1791
|
+
export declare const DisableDrozChatChannelDocument = "\n mutation disableDrozChatChannel($input: DisableDrozChatChannelInput!) {\n disableDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1792
|
+
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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1793
|
+
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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1794
|
+
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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1795
|
+
export declare const AddDrozChatChannelGroupDocument = "\n mutation addDrozChatChannelGroup($input: AddDrozChatChannelGroupInput!) {\n addDrozChatChannelGroup(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1796
|
+
export declare const RemoveDrozChatChannelGroupDocument = "\n mutation removeDrozChatChannelGroup($input: RemoveDrozChatChannelGroupInput!) {\n removeDrozChatChannelGroup(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1759
1797
|
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 ";
|
|
1760
1798
|
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 ";
|
|
1761
1799
|
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 ";
|
|
@@ -1770,8 +1808,8 @@ export declare const CreateDrozChatAgentGroupDocument = "\n mutation createDr
|
|
|
1770
1808
|
export declare const UpdateDrozChatAgentGroupDocument = "\n mutation updateDrozChatAgentGroup($input: UpdateDrozChatAgentGroupInput!) {\n updateDrozChatAgentGroup(input: $input) {\n ...drozChatAgentGroup\n }\n}\n \n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1771
1809
|
export declare const DisableDrozChatAgentGroupDocument = "\n mutation disableDrozChatAgentGroup($input: DisableDrozChatAgentGroupInput!) {\n disableDrozChatAgentGroup(input: $input) {\n ...drozChatAgentGroup\n }\n}\n \n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1772
1810
|
export declare const EnableDrozChatAgentGroupDocument = "\n mutation enableDrozChatAgentGroup($input: EnableDrozChatAgentGroupInput!) {\n enableDrozChatAgentGroup(input: $input) {\n ...drozChatAgentGroup\n }\n}\n \n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1773
|
-
export declare const
|
|
1774
|
-
export declare const
|
|
1811
|
+
export declare const AddDrozChatAgentGroupDocument = "\n mutation addDrozChatAgentGroup($input: AddDrozChatAgentGroupInput!) {\n addDrozChatAgentGroup(input: $input) {\n ...drozChatAgentGroup\n }\n}\n \n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1812
|
+
export declare const RemoveDrozChatAgentGroupDocument = "\n mutation removeDrozChatAgentGroup($input: RemoveDrozChatAgentGroupInput!) {\n removeDrozChatAgentGroup(input: $input) {\n ...drozChatAgentGroup\n }\n}\n \n fragment drozChatAgentGroup on DrozChatAgentGroup {\n id\n name\n description\n agentIds\n drn\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1775
1813
|
export declare const GetSurveyDocument = "\n query getSurvey {\n getSurvey {\n ...survey\n }\n}\n \n fragment survey on Survey {\n channels\n evaluationMessage\n commentMessage\n enabled\n type\n createdAt\n updatedAt\n}\n ";
|
|
1776
1814
|
export declare const UpsertSurveyDocument = "\n mutation upsertSurvey($input: UpsertSurveyInput!) {\n upsertSurvey(input: $input) {\n ...survey\n }\n}\n \n fragment survey on Survey {\n channels\n evaluationMessage\n commentMessage\n enabled\n type\n createdAt\n updatedAt\n}\n ";
|
|
1777
1815
|
export declare const DisableSurveyDocument = "\n mutation disableSurvey {\n disableSurvey {\n ...survey\n }\n}\n \n fragment survey on Survey {\n channels\n evaluationMessage\n commentMessage\n enabled\n type\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1786,29 +1824,29 @@ export declare const UpdateQuickAnswerDocument = "\n mutation updateQuickAnsw
|
|
|
1786
1824
|
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 ";
|
|
1787
1825
|
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 ";
|
|
1788
1826
|
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 ";
|
|
1789
|
-
export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n getTicket(id: $id) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1790
|
-
export declare const ListTicketsDocument = "\n query listTickets($state: TicketState!, $status: [TicketStatus!], $assigneeId: ID, $next: Base64) {\n listTickets(\n state: $state\n status: $status\n assigneeId: $assigneeId\n next: $next\n ) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1791
|
-
export declare const ListTicketsInProgressMineDocument = "\n query listTicketsInProgressMine($next: Base64) {\n listTicketsInProgressMine(next: $next) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1792
|
-
export declare const ListTicketsInProgressMineWithoutCustomerDocument = "\n query listTicketsInProgressMineWithoutCustomer($next: Base64) {\n listTicketsInProgressMine(next: $next) {\n nodes {\n ...ticketWithoutCustomer\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment ticketWithoutCustomer 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 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 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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1827
|
+
export declare const GetTicketDocument = "\n query getTicket($id: ID!) {\n getTicket(id: $id) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1828
|
+
export declare const ListTicketsDocument = "\n query listTickets($state: TicketState!, $status: [TicketStatus!], $assigneeId: ID, $next: Base64) {\n listTickets(\n state: $state\n status: $status\n assigneeId: $assigneeId\n next: $next\n ) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1829
|
+
export declare const ListTicketsInProgressMineDocument = "\n query listTicketsInProgressMine($next: Base64) {\n listTicketsInProgressMine(next: $next) {\n nodes {\n ...ticket\n }\n pageInfo {\n hasNext\n next\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1830
|
+
export declare const ListTicketsInProgressMineWithoutCustomerDocument = "\n query listTicketsInProgressMineWithoutCustomer($next: Base64) {\n listTicketsInProgressMine(next: $next) {\n nodes {\n ...ticketWithoutCustomer\n }\n pageInfo {\n hasNext\n next\n }\n }\n}\n \n fragment ticketWithoutCustomer 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 modifiedBy {\n ...drozChatAgent\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 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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1793
1831
|
export declare const ListTicketMessagesDocument = "\n query listTicketMessages($ticketId: ID!, $channelId: ID!, $next: Base64) {\n listTicketMessages(ticketId: $ticketId, channelId: $channelId, next: $next) {\n pageInfo {\n hasNext\n next\n }\n nodes {\n ...ticketMessage\n }\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 ";
|
|
1794
1832
|
export declare const ListTicketInternalNotesDocument = "\n query listTicketInternalNotes($ticketId: ID!, $next: Base64) {\n listTicketInternalNotes(ticketId: $ticketId, next: $next) {\n pageInfo {\n hasNext\n next\n }\n nodes {\n ...ticketMessage\n }\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 ";
|
|
1795
|
-
export declare const SearchTicketsDocument = "\n query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {\n searchTickets(\n q: $q\n filters: $filters\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...ticket\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n facets {\n ...facets\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\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 CustomerSearchResultsFacet {\n name\n values {\n value\n customer {\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 ";
|
|
1796
|
-
export declare const SearchTicketsWithoutCustomerDocument = "\n query searchTicketsWithoutCustomer($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {\n searchTickets(\n q: $q\n filters: $filters\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...ticketWithoutCustomer\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n facets {\n ...facets\n }\n }\n}\n \n fragment ticketWithoutCustomer 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 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 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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\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 CustomerSearchResultsFacet {\n name\n values {\n value\n customer {\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 ";
|
|
1797
|
-
export declare const UnsafeSearchTicketsDocument = "\n query unsafeSearchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {\n unsafeSearchTickets(\n q: $q\n filters: $filters\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...ticket\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n facets {\n ...facets\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\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 CustomerSearchResultsFacet {\n name\n values {\n value\n customer {\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 ";
|
|
1798
|
-
export declare const CreateTicketDocument = "\n mutation createTicket($input: CreateTicketInput!) {\n createTicket(input: $input) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1799
|
-
export declare const UpdateTicketDocument = "\n mutation updateTicket($input: UpdateTicketInput!) {\n updateTicket(input: $input) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1833
|
+
export declare const SearchTicketsDocument = "\n query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {\n searchTickets(\n q: $q\n filters: $filters\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...ticket\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n facets {\n ...facets\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\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 CustomerSearchResultsFacet {\n name\n values {\n value\n customer {\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 ";
|
|
1834
|
+
export declare const SearchTicketsWithoutCustomerDocument = "\n query searchTicketsWithoutCustomer($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {\n searchTickets(\n q: $q\n filters: $filters\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...ticketWithoutCustomer\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n facets {\n ...facets\n }\n }\n}\n \n fragment ticketWithoutCustomer 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 modifiedBy {\n ...drozChatAgent\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 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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\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 CustomerSearchResultsFacet {\n name\n values {\n value\n customer {\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 ";
|
|
1835
|
+
export declare const UnsafeSearchTicketsDocument = "\n query unsafeSearchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [TicketSearchSortBy!], $page: Number, $perPage: Number) {\n unsafeSearchTickets(\n q: $q\n filters: $filters\n sortBy: $sortBy\n page: $page\n perPage: $perPage\n ) {\n nodes {\n ...ticket\n }\n stats {\n found\n outOf\n page\n totalPages\n perPage\n searchTime\n }\n facets {\n ...facets\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\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 CustomerSearchResultsFacet {\n name\n values {\n value\n customer {\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 ";
|
|
1836
|
+
export declare const CreateTicketDocument = "\n mutation createTicket($input: CreateTicketInput!) {\n createTicket(input: $input) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1837
|
+
export declare const UpdateTicketDocument = "\n mutation updateTicket($input: UpdateTicketInput!) {\n updateTicket(input: $input) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1800
1838
|
export declare const MarkTicketMessagesAsReadDocument = "\n mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {\n markTicketMessagesAsRead(input: $input)\n}\n ";
|
|
1801
1839
|
export declare const CreateTicketMessageDocument = "\n mutation createTicketMessage($input: CreateTicketMessageInput!) {\n createTicketMessage(input: $input) {\n ...ticketMessage\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 ";
|
|
1802
1840
|
export declare const CreateTicketMessageForStorageDocument = "\n mutation createTicketMessageForStorage($input: CreateTicketMessageForStorageInput!) {\n createTicketMessageForStorage(input: $input) {\n ...ticketMessage\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 ";
|
|
1803
|
-
export declare const AssignTicketDocument = "\n mutation assignTicket($input: AssignTicketInput!) {\n assignTicket(input: $input) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1804
|
-
export declare const AssignTicketMyselfDocument = "\n mutation assignTicketMyself($input: AssignTicketMyselfInput!) {\n assignTicketMyself(input: $input) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1805
|
-
export declare const UnassignTicketDocument = "\n mutation unassignTicket($input: UnassignTicketInput!) {\n unassignTicket(input: $input) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1806
|
-
export declare const CloseTicketDocument = "\n mutation closeTicket($input: CloseTicketInput!) {\n closeTicket(input: $input) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1807
|
-
export declare const AddTagsToTicketDocument = "\n mutation addTagsToTicket($input: AddTagsToTicketInput!) {\n addTagsToTicket(input: $input) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1808
|
-
export declare const RemoveTagsFromTicketDocument = "\n mutation removeTagsFromTicket($input: RemoveTagsFromTicketInput!) {\n removeTagsFromTicket(input: $input) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1809
|
-
export declare const TransferTicketToChannelDocument = "\n mutation transferTicketToChannel($input: TransferTicketToChannelInput!) {\n transferTicketToChannel(input: $input) {\n ...ticketWithSession\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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1810
|
-
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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1811
|
-
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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1841
|
+
export declare const AssignTicketDocument = "\n mutation assignTicket($input: AssignTicketInput!) {\n assignTicket(input: $input) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1842
|
+
export declare const AssignTicketMyselfDocument = "\n mutation assignTicketMyself($input: AssignTicketMyselfInput!) {\n assignTicketMyself(input: $input) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1843
|
+
export declare const UnassignTicketDocument = "\n mutation unassignTicket($input: UnassignTicketInput!) {\n unassignTicket(input: $input) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1844
|
+
export declare const CloseTicketDocument = "\n mutation closeTicket($input: CloseTicketInput!) {\n closeTicket(input: $input) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1845
|
+
export declare const AddTagsToTicketDocument = "\n mutation addTagsToTicket($input: AddTagsToTicketInput!) {\n addTagsToTicket(input: $input) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1846
|
+
export declare const RemoveTagsFromTicketDocument = "\n mutation removeTagsFromTicket($input: RemoveTagsFromTicketInput!) {\n removeTagsFromTicket(input: $input) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1847
|
+
export declare const TransferTicketToChannelDocument = "\n mutation transferTicketToChannel($input: TransferTicketToChannelInput!) {\n transferTicketToChannel(input: $input) {\n ...ticketWithSession\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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1848
|
+
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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1849
|
+
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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n reviewRequest\n review\n tags\n}\n ";
|
|
1812
1850
|
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 ";
|
|
1813
1851
|
export declare const ListTriggersDocument = "\n query ListTriggers {\n listTriggers {\n ...trigger\n }\n}\n \n fragment trigger on Trigger {\n id\n name\n description\n eventType\n priority\n isActive\n createdBy\n createdAt\n updatedAt\n}\n ";
|
|
1814
1852
|
export declare const GetTriggerDocument = "\n query GetTrigger($id: ID!) {\n getTrigger(id: $id) {\n ...trigger\n }\n}\n \n fragment trigger on Trigger {\n id\n name\n description\n eventType\n priority\n isActive\n createdBy\n createdAt\n updatedAt\n}\n ";
|
|
@@ -1817,7 +1855,7 @@ export declare const UpdateTriggerDocument = "\n mutation UpdateTrigger($inpu
|
|
|
1817
1855
|
export declare const DeleteTriggerDocument = "\n mutation DeleteTrigger($id: ID!) {\n deleteTrigger(id: $id)\n}\n ";
|
|
1818
1856
|
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 ";
|
|
1819
1857
|
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 ";
|
|
1820
|
-
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 ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1858
|
+
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 modifiedBy {\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 groupIds\n ticketAutoAssigner\n ticketAutoAssignerType\n createdAt\n updatedAt\n deletedAt\n}\n ";
|
|
1821
1859
|
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 ";
|
|
1822
1860
|
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 ";
|
|
1823
1861
|
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 ";
|
|
@@ -1834,6 +1872,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1834
1872
|
enableDrozChatChannel(variables: EnableDrozChatChannelMutationVariables, options?: C): Promise<EnableDrozChatChannelMutation>;
|
|
1835
1873
|
addDrozChatChannelAgent(variables: AddDrozChatChannelAgentMutationVariables, options?: C): Promise<AddDrozChatChannelAgentMutation>;
|
|
1836
1874
|
removeDrozChatChannelAgent(variables: RemoveDrozChatChannelAgentMutationVariables, options?: C): Promise<RemoveDrozChatChannelAgentMutation>;
|
|
1875
|
+
addDrozChatChannelGroup(variables: AddDrozChatChannelGroupMutationVariables, options?: C): Promise<AddDrozChatChannelGroupMutation>;
|
|
1876
|
+
removeDrozChatChannelGroup(variables: RemoveDrozChatChannelGroupMutationVariables, options?: C): Promise<RemoveDrozChatChannelGroupMutation>;
|
|
1837
1877
|
listNotes(variables: ListNotesQueryVariables, options?: C): Promise<ListNotesQuery>;
|
|
1838
1878
|
createNote(variables: CreateNoteMutationVariables, options?: C): Promise<CreateNoteMutation>;
|
|
1839
1879
|
updateNote(variables: UpdateNoteMutationVariables, options?: C): Promise<UpdateNoteMutation>;
|
|
@@ -1848,8 +1888,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1848
1888
|
updateDrozChatAgentGroup(variables: UpdateDrozChatAgentGroupMutationVariables, options?: C): Promise<UpdateDrozChatAgentGroupMutation>;
|
|
1849
1889
|
disableDrozChatAgentGroup(variables: DisableDrozChatAgentGroupMutationVariables, options?: C): Promise<DisableDrozChatAgentGroupMutation>;
|
|
1850
1890
|
enableDrozChatAgentGroup(variables: EnableDrozChatAgentGroupMutationVariables, options?: C): Promise<EnableDrozChatAgentGroupMutation>;
|
|
1851
|
-
|
|
1852
|
-
|
|
1891
|
+
addDrozChatAgentGroup(variables: AddDrozChatAgentGroupMutationVariables, options?: C): Promise<AddDrozChatAgentGroupMutation>;
|
|
1892
|
+
removeDrozChatAgentGroup(variables: RemoveDrozChatAgentGroupMutationVariables, options?: C): Promise<RemoveDrozChatAgentGroupMutation>;
|
|
1853
1893
|
getSurvey(variables?: GetSurveyQueryVariables, options?: C): Promise<GetSurveyQuery>;
|
|
1854
1894
|
upsertSurvey(variables: UpsertSurveyMutationVariables, options?: C): Promise<UpsertSurveyMutation>;
|
|
1855
1895
|
disableSurvey(variables?: DisableSurveyMutationVariables, options?: C): Promise<DisableSurveyMutation>;
|
package/src/sdks/drozchat.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = exports.GetViewDocument = exports.DeleteTriggerDocument = exports.UpdateTriggerDocument = exports.CreateTriggerDocument = exports.GetTriggerDocument = exports.ListTriggersDocument = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = void 0;
|
|
4
|
+
exports.AddDrozChatChannelGroupDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.GenerateAnalyticsTokenDocument = exports.ViewFragmentDoc = exports.TriggerFragmentDoc = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = exports.DrozChatUserFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.CustomerFragmentDoc = exports.TicketWithoutCustomerFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.TagFragmentDoc = exports.QuickAnswerFacetsFragmentDoc = exports.QuickAnswerFragmentDoc = exports.NpsSurveyFragmentDoc = exports.SurveyFragmentDoc = exports.DrozChatAgentGroupFragmentDoc = exports.GlobalConfigurationFragmentDoc = exports.CustomerNoteFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TriggerEventType = exports.TriggerActionType = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketMessageType = exports.TicketMessageRecipient = exports.TicketAutoAssignerType = exports.TicketAssessType = exports.SurveyTypes = exports.SurveyChannels = exports.SubscriptionAction = exports.QuickAnswersSortBy = exports.NpsSurveyChannels = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.UnsafeSearchTicketsDocument = exports.SearchTicketsWithoutCustomerDocument = exports.SearchTicketsDocument = exports.ListTicketInternalNotesDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineWithoutCustomerDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.UpdateQuickAnswerDocument = exports.DeleteQuickAnswerDocument = exports.CreateQuickAnswerDocument = exports.SearchQuickAnswersDocument = exports.ListQuickAnswersDocument = exports.DisableNpsSurveyDocument = exports.UpsertNpsSurveyDocument = exports.GetNpsSurveyDocument = exports.DisableSurveyDocument = exports.UpsertSurveyDocument = exports.GetSurveyDocument = exports.RemoveDrozChatAgentGroupDocument = exports.AddDrozChatAgentGroupDocument = exports.EnableDrozChatAgentGroupDocument = exports.DisableDrozChatAgentGroupDocument = exports.UpdateDrozChatAgentGroupDocument = exports.CreateDrozChatAgentGroupDocument = exports.ListDrozChatAgentGroupsDocument = exports.ListDrozChatGroupsDocument = exports.GetDrozChatAgentGroupDocument = exports.ClearMaxSimultaneousAttendancesDocument = exports.SetMaxSimultaneousAttendancesDocument = exports.GetGlobalConfigurationDocument = exports.DeleteNoteDocument = exports.UpdateNoteDocument = exports.CreateNoteDocument = exports.ListNotesDocument = exports.RemoveDrozChatChannelGroupDocument = void 0;
|
|
6
|
+
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = exports.GetViewDocument = exports.DeleteTriggerDocument = exports.UpdateTriggerDocument = exports.CreateTriggerDocument = exports.GetTriggerDocument = exports.ListTriggersDocument = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = void 0;
|
|
7
7
|
exports.getSdk = getSdk;
|
|
8
8
|
var AppInstanceStatus;
|
|
9
9
|
(function (AppInstanceStatus) {
|
|
@@ -122,6 +122,7 @@ var TriggerEventType;
|
|
|
122
122
|
})(TriggerEventType || (exports.TriggerEventType = TriggerEventType = {}));
|
|
123
123
|
var Typenames;
|
|
124
124
|
(function (Typenames) {
|
|
125
|
+
Typenames["AgentChannelIndex"] = "AgentChannelIndex";
|
|
125
126
|
Typenames["AgentGroup"] = "AgentGroup";
|
|
126
127
|
Typenames["Any"] = "Any";
|
|
127
128
|
Typenames["ChannelLastAssignee"] = "ChannelLastAssignee";
|
|
@@ -130,6 +131,7 @@ var Typenames;
|
|
|
130
131
|
Typenames["GlobalConfiguration"] = "GlobalConfiguration";
|
|
131
132
|
Typenames["GraphqlConnections"] = "GraphqlConnections";
|
|
132
133
|
Typenames["GraphqlSubscriptions"] = "GraphqlSubscriptions";
|
|
134
|
+
Typenames["GroupChannelIndex"] = "GroupChannelIndex";
|
|
133
135
|
Typenames["NpsSurvey"] = "NpsSurvey";
|
|
134
136
|
Typenames["Protocols"] = "Protocols";
|
|
135
137
|
Typenames["QuickAnswers"] = "QuickAnswers";
|
|
@@ -257,6 +259,7 @@ exports.DrozChatChannelFragmentDoc = `
|
|
|
257
259
|
name
|
|
258
260
|
drn
|
|
259
261
|
agentIds
|
|
262
|
+
groupIds
|
|
260
263
|
ticketAutoAssigner
|
|
261
264
|
ticketAutoAssignerType
|
|
262
265
|
createdAt
|
|
@@ -279,6 +282,9 @@ exports.TicketWithoutCustomerFragmentDoc = `
|
|
|
279
282
|
assignee {
|
|
280
283
|
...drozChatAgent
|
|
281
284
|
}
|
|
285
|
+
modifiedBy {
|
|
286
|
+
...drozChatAgent
|
|
287
|
+
}
|
|
282
288
|
triggerApp {
|
|
283
289
|
...ticketTriggerApp
|
|
284
290
|
}
|
|
@@ -330,6 +336,9 @@ exports.TicketFragmentDoc = `
|
|
|
330
336
|
assignee {
|
|
331
337
|
...drozChatAgent
|
|
332
338
|
}
|
|
339
|
+
modifiedBy {
|
|
340
|
+
...drozChatAgent
|
|
341
|
+
}
|
|
333
342
|
customer {
|
|
334
343
|
...customer
|
|
335
344
|
}
|
|
@@ -554,6 +563,20 @@ exports.RemoveDrozChatChannelAgentDocument = `
|
|
|
554
563
|
}
|
|
555
564
|
}
|
|
556
565
|
${exports.DrozChatChannelFragmentDoc}`;
|
|
566
|
+
exports.AddDrozChatChannelGroupDocument = `
|
|
567
|
+
mutation addDrozChatChannelGroup($input: AddDrozChatChannelGroupInput!) {
|
|
568
|
+
addDrozChatChannelGroup(input: $input) {
|
|
569
|
+
...drozChatChannel
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
${exports.DrozChatChannelFragmentDoc}`;
|
|
573
|
+
exports.RemoveDrozChatChannelGroupDocument = `
|
|
574
|
+
mutation removeDrozChatChannelGroup($input: RemoveDrozChatChannelGroupInput!) {
|
|
575
|
+
removeDrozChatChannelGroup(input: $input) {
|
|
576
|
+
...drozChatChannel
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
${exports.DrozChatChannelFragmentDoc}`;
|
|
557
580
|
exports.ListNotesDocument = `
|
|
558
581
|
query listNotes($customerId: String!, $next: Base64) {
|
|
559
582
|
listNotes(customerId: $customerId, next: $next) {
|
|
@@ -662,16 +685,16 @@ exports.EnableDrozChatAgentGroupDocument = `
|
|
|
662
685
|
}
|
|
663
686
|
}
|
|
664
687
|
${exports.DrozChatAgentGroupFragmentDoc}`;
|
|
665
|
-
exports.
|
|
666
|
-
mutation
|
|
667
|
-
|
|
688
|
+
exports.AddDrozChatAgentGroupDocument = `
|
|
689
|
+
mutation addDrozChatAgentGroup($input: AddDrozChatAgentGroupInput!) {
|
|
690
|
+
addDrozChatAgentGroup(input: $input) {
|
|
668
691
|
...drozChatAgentGroup
|
|
669
692
|
}
|
|
670
693
|
}
|
|
671
694
|
${exports.DrozChatAgentGroupFragmentDoc}`;
|
|
672
|
-
exports.
|
|
673
|
-
mutation
|
|
674
|
-
|
|
695
|
+
exports.RemoveDrozChatAgentGroupDocument = `
|
|
696
|
+
mutation removeDrozChatAgentGroup($input: RemoveDrozChatAgentGroupInput!) {
|
|
697
|
+
removeDrozChatAgentGroup(input: $input) {
|
|
675
698
|
...drozChatAgentGroup
|
|
676
699
|
}
|
|
677
700
|
}
|
|
@@ -1301,6 +1324,12 @@ function getSdk(requester) {
|
|
|
1301
1324
|
removeDrozChatChannelAgent(variables, options) {
|
|
1302
1325
|
return requester(exports.RemoveDrozChatChannelAgentDocument, variables, options);
|
|
1303
1326
|
},
|
|
1327
|
+
addDrozChatChannelGroup(variables, options) {
|
|
1328
|
+
return requester(exports.AddDrozChatChannelGroupDocument, variables, options);
|
|
1329
|
+
},
|
|
1330
|
+
removeDrozChatChannelGroup(variables, options) {
|
|
1331
|
+
return requester(exports.RemoveDrozChatChannelGroupDocument, variables, options);
|
|
1332
|
+
},
|
|
1304
1333
|
listNotes(variables, options) {
|
|
1305
1334
|
return requester(exports.ListNotesDocument, variables, options);
|
|
1306
1335
|
},
|
|
@@ -1343,11 +1372,11 @@ function getSdk(requester) {
|
|
|
1343
1372
|
enableDrozChatAgentGroup(variables, options) {
|
|
1344
1373
|
return requester(exports.EnableDrozChatAgentGroupDocument, variables, options);
|
|
1345
1374
|
},
|
|
1346
|
-
|
|
1347
|
-
return requester(exports.
|
|
1375
|
+
addDrozChatAgentGroup(variables, options) {
|
|
1376
|
+
return requester(exports.AddDrozChatAgentGroupDocument, variables, options);
|
|
1348
1377
|
},
|
|
1349
|
-
|
|
1350
|
-
return requester(exports.
|
|
1378
|
+
removeDrozChatAgentGroup(variables, options) {
|
|
1379
|
+
return requester(exports.RemoveDrozChatAgentGroupDocument, variables, options);
|
|
1351
1380
|
},
|
|
1352
1381
|
getSurvey(variables, options) {
|
|
1353
1382
|
return requester(exports.GetSurveyDocument, variables, options);
|