@droz-js/sdk 0.5.18 → 0.5.20

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.5.18",
4
+ "version": "0.5.20",
5
5
  "private": false,
6
6
  "exports": {
7
7
  ".": "./src/index.js",
@@ -56,9 +56,18 @@ export declare const DrozChatWs: new () => {
56
56
  channelId: string;
57
57
  next?: object;
58
58
  }>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketMessagesQuery>;
59
+ searchTickets(variables?: import("./sdks/drozchat").Exact<{
60
+ q?: string;
61
+ filters?: import("./sdks/drozchat").TicketSearchFilterInput | import("./sdks/drozchat").TicketSearchFilterInput[];
62
+ sortBy?: string | string[];
63
+ page?: number;
64
+ }>, options?: unknown): Promise<import("./sdks/drozchat").SearchTicketsQuery>;
59
65
  createTicket(variables: import("./sdks/drozchat").Exact<{
60
66
  input: import("./sdks/drozchat").CreateTicketInput;
61
67
  }>, options?: unknown): Promise<import("./sdks/drozchat").CreateTicketMutation>;
68
+ updateTicket(variables: import("./sdks/drozchat").Exact<{
69
+ input: import("./sdks/drozchat").UpdateTicketInput;
70
+ }>, options?: unknown): Promise<import("./sdks/drozchat").UpdateTicketMutation>;
62
71
  markTicketMessagesAsRead(variables: import("./sdks/drozchat").Exact<{
63
72
  input: import("./sdks/drozchat").MarkTicketMessagesAsReadInput;
64
73
  }>, options?: unknown): Promise<import("./sdks/drozchat").MarkTicketMessagesAsReadMutation>;
package/src/drozchat.d.ts CHANGED
@@ -59,9 +59,18 @@ export declare const DrozChat: new (options?: import("./client/http").HttpClient
59
59
  channelId: string;
60
60
  next?: object;
61
61
  }>, options?: unknown): Promise<import("./sdks/drozchat").ListTicketMessagesQuery>;
62
+ searchTickets(variables?: import("./sdks/drozchat").Exact<{
63
+ q?: string;
64
+ filters?: import("./sdks/drozchat").TicketSearchFilterInput | import("./sdks/drozchat").TicketSearchFilterInput[];
65
+ sortBy?: string | string[];
66
+ page?: number;
67
+ }>, options?: unknown): Promise<import("./sdks/drozchat").SearchTicketsQuery>;
62
68
  createTicket(variables: import("./sdks/drozchat").Exact<{
63
69
  input: import("./sdks/drozchat").CreateTicketInput;
64
70
  }>, options?: unknown): Promise<import("./sdks/drozchat").CreateTicketMutation>;
71
+ updateTicket(variables: import("./sdks/drozchat").Exact<{
72
+ input: import("./sdks/drozchat").UpdateTicketInput;
73
+ }>, options?: unknown): Promise<import("./sdks/drozchat").UpdateTicketMutation>;
65
74
  markTicketMessagesAsRead(variables: import("./sdks/drozchat").Exact<{
66
75
  input: import("./sdks/drozchat").MarkTicketMessagesAsReadInput;
67
76
  }>, options?: unknown): Promise<import("./sdks/drozchat").MarkTicketMessagesAsReadMutation>;
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: any;
70
70
  output: any;
71
71
  };
72
+ Locale: {
73
+ input: any;
74
+ output: any;
75
+ };
72
76
  PhoneNumber: {
73
77
  input: string;
74
78
  output: string;
@@ -120,6 +124,10 @@ export type CreateCasasBahiaInstanceInput = {
120
124
  isTest?: InputMaybe<Scalars['Boolean']['input']>;
121
125
  name: Scalars['String']['input'];
122
126
  };
127
+ export type I18nText = {
128
+ lang: Scalars['Locale']['output'];
129
+ value: Scalars['String']['output'];
130
+ };
123
131
  export type Mutation = {
124
132
  applySolution?: Maybe<Scalars['Boolean']['output']>;
125
133
  createCasasBahiaInstance?: Maybe<CasasBahiaInstance>;
@@ -139,6 +147,15 @@ export type MutationRemoveCasasBahiaInstanceArgs = {
139
147
  export type MutationUpdateCasasBahiaInstanceArgs = {
140
148
  input: UpdateCasasBahiaInstanceInput;
141
149
  };
150
+ export type NumberFilterInput = {
151
+ btw?: InputMaybe<Array<Scalars['Float']['input']>>;
152
+ eq?: InputMaybe<Scalars['Float']['input']>;
153
+ gt?: InputMaybe<Scalars['Float']['input']>;
154
+ gte?: InputMaybe<Scalars['Float']['input']>;
155
+ lt?: InputMaybe<Scalars['Float']['input']>;
156
+ lte?: InputMaybe<Scalars['Float']['input']>;
157
+ ne?: InputMaybe<Scalars['Float']['input']>;
158
+ };
142
159
  export type PageInfo = {
143
160
  hasNext: Scalars['Boolean']['output'];
144
161
  next?: Maybe<Scalars['Base64']['output']>;
@@ -160,6 +177,26 @@ export type QueryListAvailableSolutionsArgs = {
160
177
  export type RemoveCasasBahiaInstanceInput = {
161
178
  id: Scalars['ID']['input'];
162
179
  };
180
+ export type SearchResultsFacet = {
181
+ name: Scalars['String']['output'];
182
+ stats?: Maybe<SearchResultsFacetStats>;
183
+ values?: Maybe<Array<SearchResultsFacetValue>>;
184
+ };
185
+ export type SearchResultsFacetStats = {
186
+ max?: Maybe<Scalars['Float']['output']>;
187
+ min?: Maybe<Scalars['Float']['output']>;
188
+ };
189
+ export type SearchResultsFacetValue = {
190
+ count: Scalars['Float']['output'];
191
+ value: Scalars['String']['output'];
192
+ };
193
+ export type SearchResultsStats = {
194
+ found: Scalars['Float']['output'];
195
+ page: Scalars['Float']['output'];
196
+ perPage: Scalars['Float']['output'];
197
+ searchTime: Scalars['Float']['output'];
198
+ totalPages: Scalars['Float']['output'];
199
+ };
163
200
  export type SolutionField = {
164
201
  format?: Maybe<Scalars['String']['output']>;
165
202
  minLength?: Maybe<Scalars['Int']['output']>;
@@ -177,6 +214,11 @@ export type Solutions = {
177
214
  id: Scalars['Int']['output'];
178
215
  name: Scalars['String']['output'];
179
216
  };
217
+ export type StringFilterInput = {
218
+ eq?: InputMaybe<Scalars['String']['input']>;
219
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
220
+ ne?: InputMaybe<Scalars['String']['input']>;
221
+ };
180
222
  export declare enum Typenames {
181
223
  Any = "Any",
182
224
  CasasBahiaInstance = "CasasBahiaInstance",
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: any;
70
70
  output: any;
71
71
  };
72
+ Locale: {
73
+ input: any;
74
+ output: any;
75
+ };
72
76
  PhoneNumber: {
73
77
  input: string;
74
78
  output: string;
@@ -113,6 +117,10 @@ export type ChatWidgetSession = {
113
117
  export type CreateChatWidgetInput = {
114
118
  name: Scalars['String']['input'];
115
119
  };
120
+ export type I18nText = {
121
+ lang: Scalars['Locale']['output'];
122
+ value: Scalars['String']['output'];
123
+ };
116
124
  export type Mutation = {
117
125
  createChatWidget?: Maybe<ChatWidget>;
118
126
  removeChatWidget?: Maybe<ChatWidget>;
@@ -136,6 +144,15 @@ export type MutationStartChatWidgetSessionArgs = {
136
144
  export type MutationUpdateChatWidgetArgs = {
137
145
  input: UpdateChatWidgetInput;
138
146
  };
147
+ export type NumberFilterInput = {
148
+ btw?: InputMaybe<Array<Scalars['Float']['input']>>;
149
+ eq?: InputMaybe<Scalars['Float']['input']>;
150
+ gt?: InputMaybe<Scalars['Float']['input']>;
151
+ gte?: InputMaybe<Scalars['Float']['input']>;
152
+ lt?: InputMaybe<Scalars['Float']['input']>;
153
+ lte?: InputMaybe<Scalars['Float']['input']>;
154
+ ne?: InputMaybe<Scalars['Float']['input']>;
155
+ };
139
156
  export type PageInfo = {
140
157
  hasNext: Scalars['Boolean']['output'];
141
158
  next?: Maybe<Scalars['Base64']['output']>;
@@ -154,6 +171,26 @@ export type QueryGetChatWidgetArgs = {
154
171
  export type RemoveChatWidgetInput = {
155
172
  id: Scalars['ID']['input'];
156
173
  };
174
+ export type SearchResultsFacet = {
175
+ name: Scalars['String']['output'];
176
+ stats?: Maybe<SearchResultsFacetStats>;
177
+ values?: Maybe<Array<SearchResultsFacetValue>>;
178
+ };
179
+ export type SearchResultsFacetStats = {
180
+ max?: Maybe<Scalars['Float']['output']>;
181
+ min?: Maybe<Scalars['Float']['output']>;
182
+ };
183
+ export type SearchResultsFacetValue = {
184
+ count: Scalars['Float']['output'];
185
+ value: Scalars['String']['output'];
186
+ };
187
+ export type SearchResultsStats = {
188
+ found: Scalars['Float']['output'];
189
+ page: Scalars['Float']['output'];
190
+ perPage: Scalars['Float']['output'];
191
+ searchTime: Scalars['Float']['output'];
192
+ totalPages: Scalars['Float']['output'];
193
+ };
157
194
  export type SendMessageToChatWidgetInput = {
158
195
  content: Scalars['String']['input'];
159
196
  contentType: Scalars['String']['input'];
@@ -163,6 +200,11 @@ export type StartChatWidgetSessionInput = {
163
200
  chatId: Scalars['ID']['input'];
164
201
  userIdentifier: Scalars['ID']['input'];
165
202
  };
203
+ export type StringFilterInput = {
204
+ eq?: InputMaybe<Scalars['String']['input']>;
205
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
206
+ ne?: InputMaybe<Scalars['String']['input']>;
207
+ };
166
208
  export type Subscription = {
167
209
  onChatWidgetMessage: ChatWidgetMessage;
168
210
  version?: Maybe<Scalars['String']['output']>;
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: any;
70
70
  output: any;
71
71
  };
72
+ Locale: {
73
+ input: any;
74
+ output: any;
75
+ };
72
76
  PhoneNumber: {
73
77
  input: string;
74
78
  output: string;
@@ -135,6 +139,10 @@ export type DrozBotTicketComment = {
135
139
  id: Scalars['ID']['output'];
136
140
  ticketId: Scalars['ID']['output'];
137
141
  };
142
+ export type I18nText = {
143
+ lang: Scalars['Locale']['output'];
144
+ value: Scalars['String']['output'];
145
+ };
138
146
  export type Mutation = {
139
147
  createDrozBotInstance: DrozBotInstance;
140
148
  createDrozBotTicket: DrozBotTicket;
@@ -158,6 +166,15 @@ export type MutationRemoveDrozBotInstanceArgs = {
158
166
  export type MutationUpdateDrozBotInstanceArgs = {
159
167
  input: UpdateDrozBotInstanceInput;
160
168
  };
169
+ export type NumberFilterInput = {
170
+ btw?: InputMaybe<Array<Scalars['Float']['input']>>;
171
+ eq?: InputMaybe<Scalars['Float']['input']>;
172
+ gt?: InputMaybe<Scalars['Float']['input']>;
173
+ gte?: InputMaybe<Scalars['Float']['input']>;
174
+ lt?: InputMaybe<Scalars['Float']['input']>;
175
+ lte?: InputMaybe<Scalars['Float']['input']>;
176
+ ne?: InputMaybe<Scalars['Float']['input']>;
177
+ };
161
178
  export type PageInfo = {
162
179
  hasNext: Scalars['Boolean']['output'];
163
180
  next?: Maybe<Scalars['Base64']['output']>;
@@ -175,6 +192,31 @@ export type QueryGetDrozBotInstanceArgs = {
175
192
  export type RemoveDrozBotInstanceInput = {
176
193
  id: Scalars['ID']['input'];
177
194
  };
195
+ export type SearchResultsFacet = {
196
+ name: Scalars['String']['output'];
197
+ stats?: Maybe<SearchResultsFacetStats>;
198
+ values?: Maybe<Array<SearchResultsFacetValue>>;
199
+ };
200
+ export type SearchResultsFacetStats = {
201
+ max?: Maybe<Scalars['Float']['output']>;
202
+ min?: Maybe<Scalars['Float']['output']>;
203
+ };
204
+ export type SearchResultsFacetValue = {
205
+ count: Scalars['Float']['output'];
206
+ value: Scalars['String']['output'];
207
+ };
208
+ export type SearchResultsStats = {
209
+ found: Scalars['Float']['output'];
210
+ page: Scalars['Float']['output'];
211
+ perPage: Scalars['Float']['output'];
212
+ searchTime: Scalars['Float']['output'];
213
+ totalPages: Scalars['Float']['output'];
214
+ };
215
+ export type StringFilterInput = {
216
+ eq?: InputMaybe<Scalars['String']['input']>;
217
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
218
+ ne?: InputMaybe<Scalars['String']['input']>;
219
+ };
178
220
  export declare enum Typenames {
179
221
  Any = "Any",
180
222
  DrozBotInstance = "DrozBotInstance",
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: any;
70
70
  output: any;
71
71
  };
72
+ Locale: {
73
+ input: any;
74
+ output: any;
75
+ };
72
76
  PhoneNumber: {
73
77
  input: string;
74
78
  output: string;
@@ -162,6 +166,10 @@ export type DrozChatCustomer = {
162
166
  export type EnableDrozChatChannelInput = {
163
167
  id: Scalars['ID']['input'];
164
168
  };
169
+ export type I18nText = {
170
+ lang: Scalars['Locale']['output'];
171
+ value: Scalars['String']['output'];
172
+ };
165
173
  export type MarkTicketMessagesAsReadInput = {
166
174
  channelId: Scalars['ID']['input'];
167
175
  ticketId: Scalars['ID']['input'];
@@ -186,6 +194,7 @@ export type Mutation = {
186
194
  transferTicketToChannel: Ticket;
187
195
  unassignTicket: Ticket;
188
196
  updateDrozChatChannel?: Maybe<DrozChatChannel>;
197
+ updateTicket: Ticket;
189
198
  version?: Maybe<Scalars['String']['output']>;
190
199
  };
191
200
  export type MutationAddDrozChatChannelAgentArgs = {
@@ -245,6 +254,18 @@ export type MutationUnassignTicketArgs = {
245
254
  export type MutationUpdateDrozChatChannelArgs = {
246
255
  input: UpdateDrozChatChannelInput;
247
256
  };
257
+ export type MutationUpdateTicketArgs = {
258
+ input: UpdateTicketInput;
259
+ };
260
+ export type NumberFilterInput = {
261
+ btw?: InputMaybe<Array<Scalars['Float']['input']>>;
262
+ eq?: InputMaybe<Scalars['Float']['input']>;
263
+ gt?: InputMaybe<Scalars['Float']['input']>;
264
+ gte?: InputMaybe<Scalars['Float']['input']>;
265
+ lt?: InputMaybe<Scalars['Float']['input']>;
266
+ lte?: InputMaybe<Scalars['Float']['input']>;
267
+ ne?: InputMaybe<Scalars['Float']['input']>;
268
+ };
248
269
  export type PageInfo = {
249
270
  hasNext: Scalars['Boolean']['output'];
250
271
  next?: Maybe<Scalars['Base64']['output']>;
@@ -261,6 +282,7 @@ export type Query = {
261
282
  listTicketMessages: TicketMessagesConnection;
262
283
  listTickets: TicketsConnection;
263
284
  listTicketsInProgressMine: TicketsConnection;
285
+ searchTickets?: Maybe<TicketsSearchResults>;
264
286
  version?: Maybe<Scalars['String']['output']>;
265
287
  };
266
288
  export type QueryGetDrozChatChannelArgs = {
@@ -289,6 +311,12 @@ export type QueryListTicketsArgs = {
289
311
  export type QueryListTicketsInProgressMineArgs = {
290
312
  next?: InputMaybe<Scalars['Base64']['input']>;
291
313
  };
314
+ export type QuerySearchTicketsArgs = {
315
+ filters?: InputMaybe<Array<TicketSearchFilterInput>>;
316
+ page?: InputMaybe<Scalars['Float']['input']>;
317
+ q?: InputMaybe<Scalars['String']['input']>;
318
+ sortBy?: InputMaybe<Array<Scalars['String']['input']>>;
319
+ };
292
320
  export type RemoveDrozChatChannelAgentInput = {
293
321
  agentId: Scalars['ID']['input'];
294
322
  channelId: Scalars['ID']['input'];
@@ -297,6 +325,31 @@ export type RemoveTagsFromTicketInput = {
297
325
  tags: Array<Scalars['String']['input']>;
298
326
  ticketId: Scalars['ID']['input'];
299
327
  };
328
+ export type SearchResultsFacet = {
329
+ name: Scalars['String']['output'];
330
+ stats?: Maybe<SearchResultsFacetStats>;
331
+ values?: Maybe<Array<SearchResultsFacetValue>>;
332
+ };
333
+ export type SearchResultsFacetStats = {
334
+ max?: Maybe<Scalars['Float']['output']>;
335
+ min?: Maybe<Scalars['Float']['output']>;
336
+ };
337
+ export type SearchResultsFacetValue = {
338
+ count: Scalars['Float']['output'];
339
+ value: Scalars['String']['output'];
340
+ };
341
+ export type SearchResultsStats = {
342
+ found: Scalars['Float']['output'];
343
+ page: Scalars['Float']['output'];
344
+ perPage: Scalars['Float']['output'];
345
+ searchTime: Scalars['Float']['output'];
346
+ totalPages: Scalars['Float']['output'];
347
+ };
348
+ export type StringFilterInput = {
349
+ eq?: InputMaybe<Scalars['String']['input']>;
350
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
351
+ ne?: InputMaybe<Scalars['String']['input']>;
352
+ };
300
353
  export type Subscription = {
301
354
  onTicketByState: TicketSubscription;
302
355
  onTicketInProgressMine: TicketSubscription;
@@ -387,6 +440,17 @@ export declare enum TicketPriority {
387
440
  Medium = "MEDIUM",
388
441
  Urgent = "URGENT"
389
442
  }
443
+ export type TicketSearchFilterInput = {
444
+ AND?: InputMaybe<Array<TicketSearchFilterInput>>;
445
+ OR?: InputMaybe<Array<TicketSearchFilterInput>>;
446
+ assigneeId?: InputMaybe<StringFilterInput>;
447
+ channelId?: InputMaybe<StringFilterInput>;
448
+ createdAt?: InputMaybe<NumberFilterInput>;
449
+ priority?: InputMaybe<StringFilterInput>;
450
+ state?: InputMaybe<StringFilterInput>;
451
+ status?: InputMaybe<StringFilterInput>;
452
+ tags?: InputMaybe<StringFilterInput>;
453
+ };
390
454
  export type TicketSessionAttributes = {
391
455
  order?: Maybe<Scalars['JSON']['output']>;
392
456
  organization?: Maybe<Scalars['JSON']['output']>;
@@ -435,6 +499,11 @@ export type TicketsConnection = {
435
499
  nodes: Array<Ticket>;
436
500
  pageInfo: PageInfo;
437
501
  };
502
+ export type TicketsSearchResults = {
503
+ facets: Array<SearchResultsFacet>;
504
+ nodes: Array<Ticket>;
505
+ stats: SearchResultsStats;
506
+ };
438
507
  export type TransferTicketToChannelInput = {
439
508
  channelId: Scalars['ID']['input'];
440
509
  ticketId: Scalars['ID']['input'];
@@ -456,6 +525,11 @@ export type UpdateDrozChatChannelInput = {
456
525
  id: Scalars['ID']['input'];
457
526
  name?: InputMaybe<Scalars['String']['input']>;
458
527
  };
528
+ export type UpdateTicketInput = {
529
+ id: Scalars['ID']['input'];
530
+ priority?: InputMaybe<TicketPriority>;
531
+ subject?: InputMaybe<Scalars['String']['input']>;
532
+ };
459
533
  export type DrozChatChannelFragment = Pick<DrozChatChannel, 'id' | 'name' | 'agentIds' | 'createdAt' | 'updatedAt'>;
460
534
  export type GetDrozChatChannelQueryVariables = Exact<{
461
535
  id: Scalars['ID']['input'];
@@ -540,7 +614,7 @@ export type DrozChatAgentFragment = Pick<DrozChatAgent, 'id' | 'name'>;
540
614
  export type TicketTriggerAppFragment = (Pick<TicketTriggerApp, 'drn' | 'name' | 'appId' | 'appName' | 'appColor'> & {
541
615
  channels: Array<Pick<TicketTriggerAppChannel, 'id' | 'main' | 'readonly' | 'hidden' | 'sources' | 'unreadMessagesCount'>>;
542
616
  });
543
- export type TicketFragment = (Pick<Ticket, 'channelId' | 'id' | 'state' | 'status' | 'priority' | 'tags' | 'externalProviderId' | 'externalId' | 'createdAt' | 'updatedAt' | 'closedAt' | 'lastMessageAt' | 'firstAgentResponseAt' | 'timeToFirstAgentResponseInMs' | 'timeToCloseInMs' | 'messagesCount' | 'lastMessage' | 'unreadMessagesCount'> & {
617
+ export type TicketFragment = (Pick<Ticket, 'channelId' | 'id' | 'subject' | 'state' | 'status' | 'priority' | 'tags' | 'externalProviderId' | 'externalId' | 'createdAt' | 'updatedAt' | 'closedAt' | 'lastMessageAt' | 'firstAgentResponseAt' | 'timeToFirstAgentResponseInMs' | 'timeToCloseInMs' | 'messagesCount' | 'lastMessage' | 'unreadMessagesCount'> & {
544
618
  assignee?: Maybe<DrozChatAgentFragment>;
545
619
  customer: CustomerFragment;
546
620
  triggerApp?: Maybe<TicketTriggerAppFragment>;
@@ -589,12 +663,34 @@ export type ListTicketMessagesQuery = {
589
663
  nodes: Array<TicketMessageFragment>;
590
664
  };
591
665
  };
666
+ export type SearchTicketsQueryVariables = Exact<{
667
+ q?: InputMaybe<Scalars['String']['input']>;
668
+ filters?: InputMaybe<Array<TicketSearchFilterInput> | TicketSearchFilterInput>;
669
+ sortBy?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
670
+ page?: InputMaybe<Scalars['Float']['input']>;
671
+ }>;
672
+ export type SearchTicketsQuery = {
673
+ searchTickets?: Maybe<{
674
+ nodes: Array<TicketFragment>;
675
+ stats: Pick<SearchResultsStats, 'found' | 'page' | 'perPage' | 'totalPages' | 'searchTime'>;
676
+ facets: Array<(Pick<SearchResultsFacet, 'name'> & {
677
+ values?: Maybe<Array<Pick<SearchResultsFacetValue, 'value' | 'count'>>>;
678
+ stats?: Maybe<Pick<SearchResultsFacetStats, 'min' | 'max'>>;
679
+ })>;
680
+ }>;
681
+ };
592
682
  export type CreateTicketMutationVariables = Exact<{
593
683
  input: CreateTicketInput;
594
684
  }>;
595
685
  export type CreateTicketMutation = {
596
686
  createTicket: TicketWithSessionFragment;
597
687
  };
688
+ export type UpdateTicketMutationVariables = Exact<{
689
+ input: UpdateTicketInput;
690
+ }>;
691
+ export type UpdateTicketMutation = {
692
+ updateTicket: TicketWithSessionFragment;
693
+ };
598
694
  export type MarkTicketMessagesAsReadMutationVariables = Exact<{
599
695
  input: MarkTicketMessagesAsReadInput;
600
696
  }>;
@@ -682,9 +778,9 @@ export declare const TagFragmentDoc = "\n fragment tag on Tag {\n name\n cr
682
778
  export declare const CustomerFragmentDoc = "\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\n createdAt\n updatedAt\n}\n ";
683
779
  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 ";
684
780
  export declare const DrozChatChannelFragmentDoc = "\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
685
- export declare const TicketFragmentDoc = "\n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n ";
781
+ 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 assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n ";
686
782
  export declare const SessionAttributesFragmentDoc = "\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
687
- export declare const TicketWithSessionFragmentDoc = "\n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n \n fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
783
+ export declare const TicketWithSessionFragmentDoc = "\n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\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 assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
688
784
  export declare const TicketMessageFragmentDoc = "\n fragment ticketMessage on TicketMessage {\n id\n ticketId\n from\n to\n channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
689
785
  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 agentIds\n createdAt\n updatedAt\n}\n ";
690
786
  export declare const ListDrozChatChannelsDocument = "\n query listDrozChatChannels {\n listDrozChatChannels {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
@@ -698,23 +794,25 @@ export declare const RemoveDrozChatChannelAgentDocument = "\n mutation remove
698
794
  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 Tag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
699
795
  export declare const CreateTagsDocument = "\n mutation createTags($input: CreateTagInput!) {\n createTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on Tag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
700
796
  export declare const DeleteTagsDocument = "\n mutation deleteTags($input: DeleteTagInput!) {\n deleteTags(input: $input) {\n ...tag\n }\n}\n \n fragment tag on Tag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n ";
701
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
702
- 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 state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n ";
703
- 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 state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n ";
797
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
798
+ 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 assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n ";
799
+ 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 assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n ";
704
800
  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 channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
705
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
801
+ export declare const SearchTicketsDocument = "\n query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [String!], $page: Float) {\n searchTickets(q: $q, filters: $filters, sortBy: $sortBy, page: $page) {\n nodes {\n ...ticket\n }\n stats {\n found\n page\n perPage\n totalPages\n searchTime\n }\n facets {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\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 assignee {\n ...drozChatAgent\n }\n customer {\n ...customer\n }\n triggerApp {\n ...ticketTriggerApp\n }\n channel {\n ...drozChatChannel\n }\n createdAt\n updatedAt\n closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n ";
802
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
803
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
706
804
  export declare const MarkTicketMessagesAsReadDocument = "\n mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {\n markTicketMessagesAsRead(input: $input)\n}\n ";
707
805
  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 channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
708
806
  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 channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
709
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
710
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
711
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
712
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
713
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
714
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
715
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
716
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
717
- 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 fragment ticket on Ticket {\n channelId\n id\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
807
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
808
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
809
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
810
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
811
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
812
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
813
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
814
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
815
+ 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 fragment ticket on Ticket {\n channelId\n id\n subject\n state\n status\n priority\n tags\n externalProviderId\n externalId\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 closedAt\n lastMessageAt\n firstAgentResponseAt\n timeToFirstAgentResponseInMs\n timeToCloseInMs\n messagesCount\n lastMessage\n unreadMessagesCount\n}\n \n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n email\n phone\n document\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 agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
718
816
  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 channelId\n contentType\n content\n filename\n size\n createdAt\n updatedAt\n}\n ";
719
817
  export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
720
818
  export declare function getSdk<C>(requester: Requester<C>): {
@@ -734,7 +832,9 @@ export declare function getSdk<C>(requester: Requester<C>): {
734
832
  listTickets(variables: ListTicketsQueryVariables, options?: C): Promise<ListTicketsQuery>;
735
833
  listTicketsInProgressMine(variables?: ListTicketsInProgressMineQueryVariables, options?: C): Promise<ListTicketsInProgressMineQuery>;
736
834
  listTicketMessages(variables: ListTicketMessagesQueryVariables, options?: C): Promise<ListTicketMessagesQuery>;
835
+ searchTickets(variables?: SearchTicketsQueryVariables, options?: C): Promise<SearchTicketsQuery>;
737
836
  createTicket(variables: CreateTicketMutationVariables, options?: C): Promise<CreateTicketMutation>;
837
+ updateTicket(variables: UpdateTicketMutationVariables, options?: C): Promise<UpdateTicketMutation>;
738
838
  markTicketMessagesAsRead(variables: MarkTicketMessagesAsReadMutationVariables, options?: C): Promise<MarkTicketMessagesAsReadMutation>;
739
839
  createTicketMessage(variables: CreateTicketMessageMutationVariables, options?: C): Promise<CreateTicketMessageMutation>;
740
840
  createTicketMessageForStorage(variables: CreateTicketMessageForStorageMutationVariables, options?: C): Promise<CreateTicketMessageForStorageMutation>;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /* istanbul ignore file */
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.CreateTicketDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.AppInstanceStatus = void 0;
4
+ exports.serviceName = exports.getSdk = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = exports.AssignTicketDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.SearchTicketsDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.TicketMessageFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.TagFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.Typenames = exports.TicketStatus = exports.TicketState = exports.TicketPriority = exports.TicketMessageRecipient = exports.SubscriptionAction = exports.AppInstanceStatus = void 0;
5
5
  var AppInstanceStatus;
6
6
  (function (AppInstanceStatus) {
7
7
  AppInstanceStatus["Active"] = "Active";
@@ -111,6 +111,7 @@ exports.TicketFragmentDoc = `
111
111
  fragment ticket on Ticket {
112
112
  channelId
113
113
  id
114
+ subject
114
115
  state
115
116
  status
116
117
  priority
@@ -319,6 +320,33 @@ exports.ListTicketMessagesDocument = `
319
320
  }
320
321
  }
321
322
  ${exports.TicketMessageFragmentDoc}`;
323
+ exports.SearchTicketsDocument = `
324
+ query searchTickets($q: String, $filters: [TicketSearchFilterInput!], $sortBy: [String!], $page: Float) {
325
+ searchTickets(q: $q, filters: $filters, sortBy: $sortBy, page: $page) {
326
+ nodes {
327
+ ...ticket
328
+ }
329
+ stats {
330
+ found
331
+ page
332
+ perPage
333
+ totalPages
334
+ searchTime
335
+ }
336
+ facets {
337
+ name
338
+ values {
339
+ value
340
+ count
341
+ }
342
+ stats {
343
+ min
344
+ max
345
+ }
346
+ }
347
+ }
348
+ }
349
+ ${exports.TicketFragmentDoc}`;
322
350
  exports.CreateTicketDocument = `
323
351
  mutation createTicket($input: CreateTicketInput!) {
324
352
  createTicket(input: $input) {
@@ -326,6 +354,13 @@ exports.CreateTicketDocument = `
326
354
  }
327
355
  }
328
356
  ${exports.TicketWithSessionFragmentDoc}`;
357
+ exports.UpdateTicketDocument = `
358
+ mutation updateTicket($input: UpdateTicketInput!) {
359
+ updateTicket(input: $input) {
360
+ ...ticketWithSession
361
+ }
362
+ }
363
+ ${exports.TicketWithSessionFragmentDoc}`;
329
364
  exports.MarkTicketMessagesAsReadDocument = `
330
365
  mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {
331
366
  markTicketMessagesAsRead(input: $input)
@@ -474,9 +509,15 @@ function getSdk(requester) {
474
509
  listTicketMessages(variables, options) {
475
510
  return requester(exports.ListTicketMessagesDocument, variables, options);
476
511
  },
512
+ searchTickets(variables, options) {
513
+ return requester(exports.SearchTicketsDocument, variables, options);
514
+ },
477
515
  createTicket(variables, options) {
478
516
  return requester(exports.CreateTicketDocument, variables, options);
479
517
  },
518
+ updateTicket(variables, options) {
519
+ return requester(exports.UpdateTicketDocument, variables, options);
520
+ },
480
521
  markTicketMessagesAsRead(variables, options) {
481
522
  return requester(exports.MarkTicketMessagesAsReadDocument, variables, options);
482
523
  },
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: any;
70
70
  output: any;
71
71
  };
72
+ Locale: {
73
+ input: any;
74
+ output: any;
75
+ };
72
76
  PhoneNumber: {
73
77
  input: string;
74
78
  output: string;
@@ -180,6 +184,10 @@ export type GitRepository = {
180
184
  id: Scalars['ID']['output'];
181
185
  name: Scalars['String']['output'];
182
186
  };
187
+ export type I18nText = {
188
+ lang: Scalars['Locale']['output'];
189
+ value: Scalars['String']['output'];
190
+ };
183
191
  export type Mutation = {
184
192
  batchDeploy: Array<Deployment>;
185
193
  createTenant: Tenant;
@@ -211,6 +219,15 @@ export type MutationUpdateAccountParametersArgs = {
211
219
  export type MutationUpdateTenantArgs = {
212
220
  input: UpdateTenantInput;
213
221
  };
222
+ export type NumberFilterInput = {
223
+ btw?: InputMaybe<Array<Scalars['Float']['input']>>;
224
+ eq?: InputMaybe<Scalars['Float']['input']>;
225
+ gt?: InputMaybe<Scalars['Float']['input']>;
226
+ gte?: InputMaybe<Scalars['Float']['input']>;
227
+ lt?: InputMaybe<Scalars['Float']['input']>;
228
+ lte?: InputMaybe<Scalars['Float']['input']>;
229
+ ne?: InputMaybe<Scalars['Float']['input']>;
230
+ };
214
231
  export type PageInfo = {
215
232
  hasNext: Scalars['Boolean']['output'];
216
233
  next?: Maybe<Scalars['Base64']['output']>;
@@ -269,6 +286,26 @@ export type Region = {
269
286
  export type RemoveTenantInput = {
270
287
  tenantId: Scalars['ID']['input'];
271
288
  };
289
+ export type SearchResultsFacet = {
290
+ name: Scalars['String']['output'];
291
+ stats?: Maybe<SearchResultsFacetStats>;
292
+ values?: Maybe<Array<SearchResultsFacetValue>>;
293
+ };
294
+ export type SearchResultsFacetStats = {
295
+ max?: Maybe<Scalars['Float']['output']>;
296
+ min?: Maybe<Scalars['Float']['output']>;
297
+ };
298
+ export type SearchResultsFacetValue = {
299
+ count: Scalars['Float']['output'];
300
+ value: Scalars['String']['output'];
301
+ };
302
+ export type SearchResultsStats = {
303
+ found: Scalars['Float']['output'];
304
+ page: Scalars['Float']['output'];
305
+ perPage: Scalars['Float']['output'];
306
+ searchTime: Scalars['Float']['output'];
307
+ totalPages: Scalars['Float']['output'];
308
+ };
272
309
  export type Service = {
273
310
  accountId: Scalars['ID']['output'];
274
311
  endpoint: Scalars['String']['output'];
@@ -276,6 +313,11 @@ export type Service = {
276
313
  tenantId: Scalars['ID']['output'];
277
314
  type: Scalars['String']['output'];
278
315
  };
316
+ export type StringFilterInput = {
317
+ eq?: InputMaybe<Scalars['String']['input']>;
318
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
319
+ ne?: InputMaybe<Scalars['String']['input']>;
320
+ };
279
321
  export type Tenant = {
280
322
  account: AwsAccount;
281
323
  accountId: Scalars['ID']['output'];
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: any;
70
70
  output: any;
71
71
  };
72
+ Locale: {
73
+ input: any;
74
+ output: any;
75
+ };
72
76
  PhoneNumber: {
73
77
  input: string;
74
78
  output: string;
@@ -136,6 +140,10 @@ export type DrozNexoUsageStatistics = {
136
140
  totalConnections: Scalars['Int']['output'];
137
141
  totalSecrets: Scalars['Int']['output'];
138
142
  };
143
+ export type I18nText = {
144
+ lang: Scalars['Locale']['output'];
145
+ value: Scalars['String']['output'];
146
+ };
139
147
  export type Mutation = {
140
148
  createDrozNexoConnection: DrozNexoConnection;
141
149
  removeDrozNexoConnection: DrozNexoConnection;
@@ -147,6 +155,15 @@ export type MutationCreateDrozNexoConnectionArgs = {
147
155
  export type MutationRemoveDrozNexoConnectionArgs = {
148
156
  input: RemoveDrozNexoConnectionInput;
149
157
  };
158
+ export type NumberFilterInput = {
159
+ btw?: InputMaybe<Array<Scalars['Float']['input']>>;
160
+ eq?: InputMaybe<Scalars['Float']['input']>;
161
+ gt?: InputMaybe<Scalars['Float']['input']>;
162
+ gte?: InputMaybe<Scalars['Float']['input']>;
163
+ lt?: InputMaybe<Scalars['Float']['input']>;
164
+ lte?: InputMaybe<Scalars['Float']['input']>;
165
+ ne?: InputMaybe<Scalars['Float']['input']>;
166
+ };
150
167
  export type PageInfo = {
151
168
  hasNext: Scalars['Boolean']['output'];
152
169
  next?: Maybe<Scalars['Base64']['output']>;
@@ -166,6 +183,31 @@ export type RemoveDrozNexoConnectionInput = {
166
183
  id: Scalars['ID']['input'];
167
184
  versionId: Scalars['ID']['input'];
168
185
  };
186
+ export type SearchResultsFacet = {
187
+ name: Scalars['String']['output'];
188
+ stats?: Maybe<SearchResultsFacetStats>;
189
+ values?: Maybe<Array<SearchResultsFacetValue>>;
190
+ };
191
+ export type SearchResultsFacetStats = {
192
+ max?: Maybe<Scalars['Float']['output']>;
193
+ min?: Maybe<Scalars['Float']['output']>;
194
+ };
195
+ export type SearchResultsFacetValue = {
196
+ count: Scalars['Float']['output'];
197
+ value: Scalars['String']['output'];
198
+ };
199
+ export type SearchResultsStats = {
200
+ found: Scalars['Float']['output'];
201
+ page: Scalars['Float']['output'];
202
+ perPage: Scalars['Float']['output'];
203
+ searchTime: Scalars['Float']['output'];
204
+ totalPages: Scalars['Float']['output'];
205
+ };
206
+ export type StringFilterInput = {
207
+ eq?: InputMaybe<Scalars['String']['input']>;
208
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
209
+ ne?: InputMaybe<Scalars['String']['input']>;
210
+ };
169
211
  export declare enum Typenames {
170
212
  Any = "Any",
171
213
  GraphqlConnections = "GraphqlConnections",
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: any;
70
70
  output: any;
71
71
  };
72
+ Locale: {
73
+ input: any;
74
+ output: any;
75
+ };
72
76
  PhoneNumber: {
73
77
  input: string;
74
78
  output: string;
@@ -293,6 +297,10 @@ export type GetOrCreateCustomerInput = {
293
297
  name?: InputMaybe<Scalars['String']['input']>;
294
298
  phone?: InputMaybe<Scalars['PhoneNumber']['input']>;
295
299
  };
300
+ export type I18nText = {
301
+ lang: Scalars['Locale']['output'];
302
+ value: Scalars['String']['output'];
303
+ };
296
304
  export type ICredentials = {
297
305
  createdAt: Scalars['DateTime']['output'];
298
306
  description: Scalars['String']['output'];
@@ -419,6 +427,15 @@ export type MutationUpdateStateMachineConfigArgs = {
419
427
  export type MutationUpdateStateMachineConfigStateArgs = {
420
428
  input: UpdateStateMachineConfigStateInput;
421
429
  };
430
+ export type NumberFilterInput = {
431
+ btw?: InputMaybe<Array<Scalars['Float']['input']>>;
432
+ eq?: InputMaybe<Scalars['Float']['input']>;
433
+ gt?: InputMaybe<Scalars['Float']['input']>;
434
+ gte?: InputMaybe<Scalars['Float']['input']>;
435
+ lt?: InputMaybe<Scalars['Float']['input']>;
436
+ lte?: InputMaybe<Scalars['Float']['input']>;
437
+ ne?: InputMaybe<Scalars['Float']['input']>;
438
+ };
422
439
  export type OAuth2Credentials = {
423
440
  clientId: Scalars['String']['output'];
424
441
  clientSecret: Scalars['String']['output'];
@@ -623,6 +640,26 @@ export type SafeCredentials = ICredentials & {
623
640
  type: CredentialsType;
624
641
  updatedAt: Scalars['DateTime']['output'];
625
642
  };
643
+ export type SearchResultsFacet = {
644
+ name: Scalars['String']['output'];
645
+ stats?: Maybe<SearchResultsFacetStats>;
646
+ values?: Maybe<Array<SearchResultsFacetValue>>;
647
+ };
648
+ export type SearchResultsFacetStats = {
649
+ max?: Maybe<Scalars['Float']['output']>;
650
+ min?: Maybe<Scalars['Float']['output']>;
651
+ };
652
+ export type SearchResultsFacetValue = {
653
+ count: Scalars['Float']['output'];
654
+ value: Scalars['String']['output'];
655
+ };
656
+ export type SearchResultsStats = {
657
+ found: Scalars['Float']['output'];
658
+ page: Scalars['Float']['output'];
659
+ perPage: Scalars['Float']['output'];
660
+ searchTime: Scalars['Float']['output'];
661
+ totalPages: Scalars['Float']['output'];
662
+ };
626
663
  export type SecureCronJob = {
627
664
  appId: Scalars['ID']['output'];
628
665
  description?: Maybe<Scalars['String']['output']>;
@@ -699,6 +736,11 @@ export type Storage = {
699
736
  updatedAt: Scalars['DateTime']['output'];
700
737
  versionId: Scalars['String']['output'];
701
738
  };
739
+ export type StringFilterInput = {
740
+ eq?: InputMaybe<Scalars['String']['input']>;
741
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
742
+ ne?: InputMaybe<Scalars['String']['input']>;
743
+ };
702
744
  export declare enum Typenames {
703
745
  Agents = "Agents",
704
746
  Any = "Any",
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: any;
70
70
  output: any;
71
71
  };
72
+ Locale: {
73
+ input: any;
74
+ output: any;
75
+ };
72
76
  PhoneNumber: {
73
77
  input: string;
74
78
  output: string;
@@ -103,6 +107,10 @@ export type ForceReSyncReclameAquiTicketInput = {
103
107
  ticketId: Scalars['ID']['input'];
104
108
  ticketIdType: ReclameAquiTicketIdType;
105
109
  };
110
+ export type I18nText = {
111
+ lang: Scalars['Locale']['output'];
112
+ value: Scalars['String']['output'];
113
+ };
106
114
  export type Mutation = {
107
115
  createReclameAquiInstance?: Maybe<ReclameAquiInstance>;
108
116
  forceReSyncReclameAquiTicket?: Maybe<Scalars['Boolean']['output']>;
@@ -130,6 +138,15 @@ export type MutationSendReclameAquiModerationRequestArgs = {
130
138
  export type MutationUpdateReclameAquiInstanceArgs = {
131
139
  input: UpdateReclameAquiInstanceInput;
132
140
  };
141
+ export type NumberFilterInput = {
142
+ btw?: InputMaybe<Array<Scalars['Float']['input']>>;
143
+ eq?: InputMaybe<Scalars['Float']['input']>;
144
+ gt?: InputMaybe<Scalars['Float']['input']>;
145
+ gte?: InputMaybe<Scalars['Float']['input']>;
146
+ lt?: InputMaybe<Scalars['Float']['input']>;
147
+ lte?: InputMaybe<Scalars['Float']['input']>;
148
+ ne?: InputMaybe<Scalars['Float']['input']>;
149
+ };
133
150
  export type PageInfo = {
134
151
  hasNext: Scalars['Boolean']['output'];
135
152
  next?: Maybe<Scalars['Base64']['output']>;
@@ -191,12 +208,37 @@ export type RemoveReclameAquiInstanceInput = {
191
208
  export type RequestReclameAquiTicketEvaluationInput = {
192
209
  sessionId: Scalars['ID']['input'];
193
210
  };
211
+ export type SearchResultsFacet = {
212
+ name: Scalars['String']['output'];
213
+ stats?: Maybe<SearchResultsFacetStats>;
214
+ values?: Maybe<Array<SearchResultsFacetValue>>;
215
+ };
216
+ export type SearchResultsFacetStats = {
217
+ max?: Maybe<Scalars['Float']['output']>;
218
+ min?: Maybe<Scalars['Float']['output']>;
219
+ };
220
+ export type SearchResultsFacetValue = {
221
+ count: Scalars['Float']['output'];
222
+ value: Scalars['String']['output'];
223
+ };
224
+ export type SearchResultsStats = {
225
+ found: Scalars['Float']['output'];
226
+ page: Scalars['Float']['output'];
227
+ perPage: Scalars['Float']['output'];
228
+ searchTime: Scalars['Float']['output'];
229
+ totalPages: Scalars['Float']['output'];
230
+ };
194
231
  export type SendReclameAquiModerationRequestInput = {
195
232
  moderationAttachmentUrl?: InputMaybe<Scalars['String']['input']>;
196
233
  moderationReasonCode: Scalars['ID']['input'];
197
234
  moderationReasonDescription: Scalars['String']['input'];
198
235
  sessionId: Scalars['ID']['input'];
199
236
  };
237
+ export type StringFilterInput = {
238
+ eq?: InputMaybe<Scalars['String']['input']>;
239
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
240
+ ne?: InputMaybe<Scalars['String']['input']>;
241
+ };
200
242
  export declare enum Typenames {
201
243
  Any = "Any",
202
244
  GraphqlConnections = "GraphqlConnections",
@@ -69,6 +69,10 @@ export type Scalars = {
69
69
  input: any;
70
70
  output: any;
71
71
  };
72
+ Locale: {
73
+ input: any;
74
+ output: any;
75
+ };
72
76
  PhoneNumber: {
73
77
  input: string;
74
78
  output: string;
@@ -99,6 +103,10 @@ export type CreateZendeskInstanceInput = {
99
103
  name: Scalars['String']['input'];
100
104
  sessionFieldMappings?: InputMaybe<Array<ZendeskSessionFieldMappingInput>>;
101
105
  };
106
+ export type I18nText = {
107
+ lang: Scalars['Locale']['output'];
108
+ value: Scalars['String']['output'];
109
+ };
102
110
  export type Mutation = {
103
111
  createZendeskInstance?: Maybe<ZendeskInstance>;
104
112
  removeZendeskInstance?: Maybe<ZendeskInstance>;
@@ -118,6 +126,15 @@ export type MutationUpdateZendeskInstanceArgs = {
118
126
  export type MutationValidateZendeskInstanceArgs = {
119
127
  input: ValidateZendeskInstanceInput;
120
128
  };
129
+ export type NumberFilterInput = {
130
+ btw?: InputMaybe<Array<Scalars['Float']['input']>>;
131
+ eq?: InputMaybe<Scalars['Float']['input']>;
132
+ gt?: InputMaybe<Scalars['Float']['input']>;
133
+ gte?: InputMaybe<Scalars['Float']['input']>;
134
+ lt?: InputMaybe<Scalars['Float']['input']>;
135
+ lte?: InputMaybe<Scalars['Float']['input']>;
136
+ ne?: InputMaybe<Scalars['Float']['input']>;
137
+ };
121
138
  export type PageInfo = {
122
139
  hasNext: Scalars['Boolean']['output'];
123
140
  next?: Maybe<Scalars['Base64']['output']>;
@@ -154,6 +171,31 @@ export type QueryListZendeskTicketCustomFieldsArgs = {
154
171
  export type RemoveZendeskInstanceInput = {
155
172
  id: Scalars['ID']['input'];
156
173
  };
174
+ export type SearchResultsFacet = {
175
+ name: Scalars['String']['output'];
176
+ stats?: Maybe<SearchResultsFacetStats>;
177
+ values?: Maybe<Array<SearchResultsFacetValue>>;
178
+ };
179
+ export type SearchResultsFacetStats = {
180
+ max?: Maybe<Scalars['Float']['output']>;
181
+ min?: Maybe<Scalars['Float']['output']>;
182
+ };
183
+ export type SearchResultsFacetValue = {
184
+ count: Scalars['Float']['output'];
185
+ value: Scalars['String']['output'];
186
+ };
187
+ export type SearchResultsStats = {
188
+ found: Scalars['Float']['output'];
189
+ page: Scalars['Float']['output'];
190
+ perPage: Scalars['Float']['output'];
191
+ searchTime: Scalars['Float']['output'];
192
+ totalPages: Scalars['Float']['output'];
193
+ };
194
+ export type StringFilterInput = {
195
+ eq?: InputMaybe<Scalars['String']['input']>;
196
+ in?: InputMaybe<Array<Scalars['String']['input']>>;
197
+ ne?: InputMaybe<Scalars['String']['input']>;
198
+ };
157
199
  export type TriggerApp = {
158
200
  description?: Maybe<Scalars['String']['output']>;
159
201
  id: Scalars['ID']['output'];