@droz-js/sdk 0.7.4 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.7.4",
4
+ "version": "0.7.6",
5
5
  "private": false,
6
6
  "exports": {
7
7
  ".": "./src/index.js",
package/src/sdks/ai.d.ts CHANGED
@@ -185,6 +185,7 @@ export type MutationUpdateQnAInstanceArgs = {
185
185
  };
186
186
  export type NlpInstance = {
187
187
  createdAt: Scalars['DateTime']['output'];
188
+ drn: Scalars['DRN']['output'];
188
189
  id: Scalars['ID']['output'];
189
190
  name: Scalars['String']['output'];
190
191
  options: Array<NlpOption>;
@@ -222,6 +223,7 @@ export type PageInfo = {
222
223
  };
223
224
  export type QnAInstance = {
224
225
  createdAt: Scalars['DateTime']['output'];
226
+ drn: Scalars['DRN']['output'];
225
227
  id: Scalars['ID']['output'];
226
228
  name: Scalars['String']['output'];
227
229
  prompt: Scalars['String']['output'];
@@ -343,7 +345,7 @@ export type UpdateQnAInstanceInput = {
343
345
  retrieverCredentialsId?: InputMaybe<Scalars['ID']['input']>;
344
346
  retrieverTenantId?: InputMaybe<Scalars['String']['input']>;
345
347
  };
346
- export type NlpInstanceFragment = (Pick<NlpInstance, 'id' | 'name' | 'createdAt' | 'updatedAt'> & {
348
+ export type NlpInstanceFragment = (Pick<NlpInstance, 'id' | 'name' | 'drn' | 'createdAt' | 'updatedAt'> & {
347
349
  options: Array<Pick<NlpOption, 'transition' | 'samples'>>;
348
350
  });
349
351
  export type GetNlpInstanceQueryVariables = Exact<{
@@ -383,7 +385,7 @@ export type TestNlpInstanceQueryVariables = Exact<{
383
385
  export type TestNlpInstanceQuery = {
384
386
  testNlpInstance?: Maybe<Pick<TestNlpInstanceResult, 'transition' | 'confidence'>>;
385
387
  };
386
- export type QnaFragmentFragment = Pick<QnAInstance, 'id' | 'name' | 'createdAt' | 'updatedAt'>;
388
+ export type QnaFragmentFragment = Pick<QnAInstance, 'id' | 'name' | 'drn' | 'createdAt' | 'updatedAt'>;
387
389
  export type GetQnAInstanceQueryVariables = Exact<{
388
390
  id: Scalars['ID']['input'];
389
391
  }>;
@@ -424,20 +426,20 @@ export type RemoveQnAInstanceMutationVariables = Exact<{
424
426
  export type RemoveQnAInstanceMutation = {
425
427
  removeQnAInstance?: Maybe<QnaFragmentFragment>;
426
428
  };
427
- export declare const NlpInstanceFragmentDoc = "\n fragment nlpInstance on NlpInstance {\n id\n name\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
428
- export declare const QnaFragmentFragmentDoc = "\n fragment qnaFragment on QnAInstance {\n id\n name\n createdAt\n updatedAt\n}\n ";
429
- export declare const GetNlpInstanceDocument = "\n query getNlpInstance($id: ID!) {\n getNlpInstance(id: $id) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
430
- export declare const ListNlpInstancesDocument = "\n query listNlpInstances {\n listNlpInstances {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
431
- export declare const CreateNlpInstanceDocument = "\n mutation createNlpInstance($input: CreateNlpInstanceInput!) {\n createNlpInstance(input: $input) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
432
- export declare const UpdateNlpInstanceDocument = "\n mutation updateNlpInstance($input: UpdateNlpInstanceInput!) {\n updateNlpInstance(input: $input) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
433
- export declare const RemoveNlpInstanceDocument = "\n mutation removeNlpInstance($input: RemoveNlpInstanceInput!) {\n removeNlpInstance(input: $input) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
429
+ export declare const NlpInstanceFragmentDoc = "\n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
430
+ export declare const QnaFragmentFragmentDoc = "\n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
431
+ export declare const GetNlpInstanceDocument = "\n query getNlpInstance($id: ID!) {\n getNlpInstance(id: $id) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
432
+ export declare const ListNlpInstancesDocument = "\n query listNlpInstances {\n listNlpInstances {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
433
+ export declare const CreateNlpInstanceDocument = "\n mutation createNlpInstance($input: CreateNlpInstanceInput!) {\n createNlpInstance(input: $input) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
434
+ export declare const UpdateNlpInstanceDocument = "\n mutation updateNlpInstance($input: UpdateNlpInstanceInput!) {\n updateNlpInstance(input: $input) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
435
+ export declare const RemoveNlpInstanceDocument = "\n mutation removeNlpInstance($input: RemoveNlpInstanceInput!) {\n removeNlpInstance(input: $input) {\n ...nlpInstance\n }\n}\n \n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
434
436
  export declare const TestNlpInstanceDocument = "\n query testNlpInstance($id: ID!, $sample: String!) {\n testNlpInstance(id: $id, sample: $sample) {\n transition\n confidence\n }\n}\n ";
435
- export declare const GetQnAInstanceDocument = "\n query getQnAInstance($id: ID!) {\n getQnAInstance(id: $id) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n createdAt\n updatedAt\n}\n ";
436
- export declare const ListQnAInstancesDocument = "\n query listQnAInstances {\n listQnAInstances {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n createdAt\n updatedAt\n}\n ";
437
+ export declare const GetQnAInstanceDocument = "\n query getQnAInstance($id: ID!) {\n getQnAInstance(id: $id) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
438
+ export declare const ListQnAInstancesDocument = "\n query listQnAInstances {\n listQnAInstances {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
437
439
  export declare const TestQnAInstanceDocument = "\n query testQnAInstance($id: ID!, $input: String!, $history: String) {\n testQnAInstance(id: $id, input: $input, history: $history) {\n answer\n context {\n id\n title\n url\n content\n }\n }\n}\n ";
438
- export declare const CreateQnAInstanceDocument = "\n mutation createQnAInstance($input: CreateQnAInstanceInput!) {\n createQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n createdAt\n updatedAt\n}\n ";
439
- export declare const UpdateQnAInstanceDocument = "\n mutation updateQnAInstance($input: UpdateQnAInstanceInput!) {\n updateQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n createdAt\n updatedAt\n}\n ";
440
- export declare const RemoveQnAInstanceDocument = "\n mutation removeQnAInstance($input: RemoveQnAInstanceInput!) {\n removeQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n createdAt\n updatedAt\n}\n ";
440
+ export declare const CreateQnAInstanceDocument = "\n mutation createQnAInstance($input: CreateQnAInstanceInput!) {\n createQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
441
+ export declare const UpdateQnAInstanceDocument = "\n mutation updateQnAInstance($input: UpdateQnAInstanceInput!) {\n updateQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
442
+ export declare const RemoveQnAInstanceDocument = "\n mutation removeQnAInstance($input: RemoveQnAInstanceInput!) {\n removeQnAInstance(input: $input) {\n ...qnaFragment\n }\n}\n \n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
441
443
  export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
442
444
  export declare function getSdk<C>(requester: Requester<C>): {
443
445
  getNlpInstance(variables: GetNlpInstanceQueryVariables, options?: C): Promise<GetNlpInstanceQuery>;
package/src/sdks/ai.js CHANGED
@@ -28,6 +28,7 @@ exports.NlpInstanceFragmentDoc = `
28
28
  fragment nlpInstance on NlpInstance {
29
29
  id
30
30
  name
31
+ drn
31
32
  options {
32
33
  transition
33
34
  samples
@@ -40,6 +41,7 @@ exports.QnaFragmentFragmentDoc = `
40
41
  fragment qnaFragment on QnAInstance {
41
42
  id
42
43
  name
44
+ drn
43
45
  createdAt
44
46
  updatedAt
45
47
  }
@@ -157,6 +157,7 @@ export type CasasBahiaInstance = {
157
157
  createdAt: Scalars['DateTime']['output'];
158
158
  credentialId?: Maybe<Scalars['ID']['output']>;
159
159
  cronJobId?: Maybe<Scalars['ID']['output']>;
160
+ drn: Scalars['DRN']['output'];
160
161
  id: Scalars['ID']['output'];
161
162
  isTest?: Maybe<Scalars['Boolean']['output']>;
162
163
  name: Scalars['String']['output'];
@@ -309,7 +310,7 @@ export type UpdateCasasBahiaInstanceInput = {
309
310
  isTest?: InputMaybe<Scalars['Boolean']['input']>;
310
311
  name?: InputMaybe<Scalars['String']['input']>;
311
312
  };
312
- export type CasasbahiaInstanceFragment = Pick<CasasBahiaInstance, 'id' | 'name' | 'credentialId' | 'cronJobId' | 'createdAt' | 'updatedAt'>;
313
+ export type CasasbahiaInstanceFragment = Pick<CasasBahiaInstance, 'id' | 'name' | 'drn' | 'credentialId' | 'cronJobId' | 'createdAt' | 'updatedAt'>;
313
314
  export type SolutionsFragment = (Pick<Solutions, 'id' | 'name' | 'description'> & {
314
315
  fields: Array<Pick<SolutionField, 'name' | 'type' | 'required' | 'minLength' | 'format'>>;
315
316
  });
@@ -353,14 +354,14 @@ export type ApplySolutionMutationVariables = Exact<{
353
354
  input: ApplySolutionInput;
354
355
  }>;
355
356
  export type ApplySolutionMutation = Pick<Mutation, 'applySolution'>;
356
- export declare const CasasbahiaInstanceFragmentDoc = "\n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
357
+ export declare const CasasbahiaInstanceFragmentDoc = "\n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n drn\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
357
358
  export declare const SolutionsFragmentDoc = "\n fragment solutions on Solutions {\n id\n name\n description\n fields {\n name\n type\n required\n minLength\n format\n }\n}\n ";
358
- export declare const GetCasasBahiaInstanceDocument = "\n query getCasasBahiaInstance($id: ID!) {\n getCasasBahiaInstance(id: $id) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
359
- export declare const ListCasasBahiaInstancesDocument = "\n query listCasasBahiaInstances {\n listCasasBahiaInstances {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
359
+ export declare const GetCasasBahiaInstanceDocument = "\n query getCasasBahiaInstance($id: ID!) {\n getCasasBahiaInstance(id: $id) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n drn\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
360
+ export declare const ListCasasBahiaInstancesDocument = "\n query listCasasBahiaInstances {\n listCasasBahiaInstances {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n drn\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
360
361
  export declare const ListAvailableSolutionsDocument = "\n query listAvailableSolutions($sessionId: ID!) {\n listAvailableSolutions(sessionId: $sessionId) {\n ...solutions\n }\n}\n \n fragment solutions on Solutions {\n id\n name\n description\n fields {\n name\n type\n required\n minLength\n format\n }\n}\n ";
361
- export declare const CreateCasasBahiaInstanceDocument = "\n mutation createCasasBahiaInstance($input: CreateCasasBahiaInstanceInput!) {\n createCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
362
- export declare const UpdateCasasBahiaInstanceDocument = "\n mutation updateCasasBahiaInstance($input: UpdateCasasBahiaInstanceInput!) {\n updateCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
363
- export declare const RemoveCasasBahiaInstanceDocument = "\n mutation removeCasasBahiaInstance($input: RemoveCasasBahiaInstanceInput!) {\n removeCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
362
+ export declare const CreateCasasBahiaInstanceDocument = "\n mutation createCasasBahiaInstance($input: CreateCasasBahiaInstanceInput!) {\n createCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n drn\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
363
+ export declare const UpdateCasasBahiaInstanceDocument = "\n mutation updateCasasBahiaInstance($input: UpdateCasasBahiaInstanceInput!) {\n updateCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n drn\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
364
+ export declare const RemoveCasasBahiaInstanceDocument = "\n mutation removeCasasBahiaInstance($input: RemoveCasasBahiaInstanceInput!) {\n removeCasasBahiaInstance(input: $input) {\n ...casasbahiaInstance\n }\n}\n \n fragment casasbahiaInstance on CasasBahiaInstance {\n id\n name\n drn\n credentialId\n cronJobId\n createdAt\n updatedAt\n}\n ";
364
365
  export declare const ApplySolutionDocument = "\n mutation applySolution($input: ApplySolutionInput!) {\n applySolution(input: $input)\n}\n ";
365
366
  export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
366
367
  export declare function getSdk<C>(requester: Requester<C>): {
@@ -31,6 +31,7 @@ exports.CasasbahiaInstanceFragmentDoc = `
31
31
  fragment casasbahiaInstance on CasasBahiaInstance {
32
32
  id
33
33
  name
34
+ drn
34
35
  credentialId
35
36
  cronJobId
36
37
  createdAt
@@ -140,6 +140,7 @@ export declare enum Can {
140
140
  }
141
141
  export type ChatWidget = {
142
142
  createdAt: Scalars['DateTime']['output'];
143
+ drn: Scalars['DRN']['output'];
143
144
  id: Scalars['ID']['output'];
144
145
  name: Scalars['String']['output'];
145
146
  updatedAt: Scalars['DateTime']['output'];
@@ -161,11 +162,15 @@ export type ChatWidgetMessage = {
161
162
  id: Scalars['ID']['output'];
162
163
  payload: Array<ChatWidgetMessagePayload>;
163
164
  sessionClosed: Scalars['Boolean']['output'];
165
+ type: Scalars['String']['output'];
164
166
  };
165
167
  export type ChatWidgetMessagePayload = {
168
+ channelId: Scalars['String']['output'];
166
169
  content: Scalars['String']['output'];
167
170
  contentType: Scalars['String']['output'];
168
171
  filename?: Maybe<Scalars['String']['output']>;
172
+ from: Scalars['String']['output'];
173
+ to: Scalars['String']['output'];
169
174
  };
170
175
  export type ChatWidgetSession = {
171
176
  id: Scalars['ID']['output'];
@@ -188,7 +193,7 @@ export type Mutation = {
188
193
  closeChatWidgetSession?: Maybe<Scalars['Void']['output']>;
189
194
  createChatWidget?: Maybe<ChatWidget>;
190
195
  removeChatWidget?: Maybe<ChatWidget>;
191
- sendMessageToChatWidget?: Maybe<Scalars['Void']['output']>;
196
+ sendMessageToChatWidget?: Maybe<ChatWidgetMessage>;
192
197
  startChatWidgetSession?: Maybe<ChatWidgetSession>;
193
198
  updateChatWidget?: Maybe<ChatWidget>;
194
199
  version?: Maybe<Scalars['String']['output']>;
@@ -327,9 +332,9 @@ export type UpdateChatWidgetInput = {
327
332
  id: Scalars['ID']['input'];
328
333
  name: Scalars['String']['input'];
329
334
  };
330
- export type ChatWidgetFragment = Pick<ChatWidget, 'id' | 'name' | 'createdAt' | 'updatedAt'>;
331
- export type ChatWidgetMessageFragment = (Pick<ChatWidgetMessage, 'id' | 'sessionClosed'> & {
332
- payload: Array<Pick<ChatWidgetMessagePayload, 'contentType' | 'content' | 'filename'>>;
335
+ export type ChatWidgetFragment = Pick<ChatWidget, 'id' | 'name' | 'drn' | 'createdAt' | 'updatedAt'>;
336
+ export type ChatWidgetMessageFragment = (Pick<ChatWidgetMessage, 'id' | 'type' | 'sessionClosed'> & {
337
+ payload: Array<Pick<ChatWidgetMessagePayload, 'from' | 'to' | 'channelId' | 'contentType' | 'content' | 'filename'>>;
333
338
  });
334
339
  export type GetChatWidgetQueryVariables = Exact<{
335
340
  id: Scalars['ID']['input'];
@@ -370,7 +375,9 @@ export type StartChatWidgetSessionMutation = {
370
375
  export type SendMessageToChatWidgetMutationVariables = Exact<{
371
376
  input: SendMessageToChatWidgetInput;
372
377
  }>;
373
- export type SendMessageToChatWidgetMutation = Pick<Mutation, 'sendMessageToChatWidget'>;
378
+ export type SendMessageToChatWidgetMutation = {
379
+ sendMessageToChatWidget?: Maybe<ChatWidgetMessageFragment>;
380
+ };
374
381
  export type CloseChatWidgetSessionMutationVariables = Exact<{
375
382
  input: CloseChatWidgetSessionInput;
376
383
  }>;
@@ -381,17 +388,17 @@ export type OnChatWidgetMessageSubscriptionVariables = Exact<{
381
388
  export type OnChatWidgetMessageSubscription = {
382
389
  onChatWidgetMessage: ChatWidgetMessageFragment;
383
390
  };
384
- export declare const ChatWidgetFragmentDoc = "\n fragment chatWidget on ChatWidget {\n id\n name\n createdAt\n updatedAt\n}\n ";
385
- export declare const ChatWidgetMessageFragmentDoc = "\n fragment chatWidgetMessage on ChatWidgetMessage {\n id\n payload {\n contentType\n content\n filename\n }\n sessionClosed\n}\n ";
386
- export declare const GetChatWidgetDocument = "\n query getChatWidget($id: ID!) {\n getChatWidget(id: $id) {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n createdAt\n updatedAt\n}\n ";
387
- export declare const ListChatWidgetsDocument = "\n query listChatWidgets {\n listChatWidgets {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n createdAt\n updatedAt\n}\n ";
388
- export declare const CreateChatWidgetDocument = "\n mutation createChatWidget($input: CreateChatWidgetInput!) {\n createChatWidget(input: $input) {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n createdAt\n updatedAt\n}\n ";
389
- export declare const UpdateChatWidgetDocument = "\n mutation updateChatWidget($input: UpdateChatWidgetInput!) {\n updateChatWidget(input: $input) {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n createdAt\n updatedAt\n}\n ";
390
- export declare const RemoveChatWidgetDocument = "\n mutation removeChatWidget($input: RemoveChatWidgetInput!) {\n removeChatWidget(input: $input) {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n createdAt\n updatedAt\n}\n ";
391
+ export declare const ChatWidgetFragmentDoc = "\n fragment chatWidget on ChatWidget {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
392
+ export declare const ChatWidgetMessageFragmentDoc = "\n fragment chatWidgetMessage on ChatWidgetMessage {\n id\n type\n sessionClosed\n payload {\n from\n to\n channelId\n contentType\n content\n filename\n }\n}\n ";
393
+ export declare const GetChatWidgetDocument = "\n query getChatWidget($id: ID!) {\n getChatWidget(id: $id) {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
394
+ export declare const ListChatWidgetsDocument = "\n query listChatWidgets {\n listChatWidgets {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
395
+ export declare const CreateChatWidgetDocument = "\n mutation createChatWidget($input: CreateChatWidgetInput!) {\n createChatWidget(input: $input) {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
396
+ export declare const UpdateChatWidgetDocument = "\n mutation updateChatWidget($input: UpdateChatWidgetInput!) {\n updateChatWidget(input: $input) {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
397
+ export declare const RemoveChatWidgetDocument = "\n mutation removeChatWidget($input: RemoveChatWidgetInput!) {\n removeChatWidget(input: $input) {\n ...chatWidget\n }\n}\n \n fragment chatWidget on ChatWidget {\n id\n name\n drn\n createdAt\n updatedAt\n}\n ";
391
398
  export declare const StartChatWidgetSessionDocument = "\n mutation startChatWidgetSession($input: StartChatWidgetSessionInput!) {\n startChatWidgetSession(input: $input) {\n id\n }\n}\n ";
392
- export declare const SendMessageToChatWidgetDocument = "\n mutation sendMessageToChatWidget($input: SendMessageToChatWidgetInput!) {\n sendMessageToChatWidget(input: $input)\n}\n ";
399
+ export declare const SendMessageToChatWidgetDocument = "\n mutation sendMessageToChatWidget($input: SendMessageToChatWidgetInput!) {\n sendMessageToChatWidget(input: $input) {\n ...chatWidgetMessage\n }\n}\n \n fragment chatWidgetMessage on ChatWidgetMessage {\n id\n type\n sessionClosed\n payload {\n from\n to\n channelId\n contentType\n content\n filename\n }\n}\n ";
393
400
  export declare const CloseChatWidgetSessionDocument = "\n mutation closeChatWidgetSession($input: CloseChatWidgetSessionInput!) {\n closeChatWidgetSession(input: $input)\n}\n ";
394
- export declare const OnChatWidgetMessageDocument = "\n subscription onChatWidgetMessage($sessionId: ID!) {\n onChatWidgetMessage(sessionId: $sessionId) {\n ...chatWidgetMessage\n }\n}\n \n fragment chatWidgetMessage on ChatWidgetMessage {\n id\n payload {\n contentType\n content\n filename\n }\n sessionClosed\n}\n ";
401
+ export declare const OnChatWidgetMessageDocument = "\n subscription onChatWidgetMessage($sessionId: ID!) {\n onChatWidgetMessage(sessionId: $sessionId) {\n ...chatWidgetMessage\n }\n}\n \n fragment chatWidgetMessage on ChatWidgetMessage {\n id\n type\n sessionClosed\n payload {\n from\n to\n channelId\n contentType\n content\n filename\n }\n}\n ";
395
402
  export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
396
403
  export declare function getSdk<C>(requester: Requester<C>): {
397
404
  getChatWidget(variables: GetChatWidgetQueryVariables, options?: C): Promise<GetChatWidgetQuery>;
@@ -33,6 +33,7 @@ exports.ChatWidgetFragmentDoc = `
33
33
  fragment chatWidget on ChatWidget {
34
34
  id
35
35
  name
36
+ drn
36
37
  createdAt
37
38
  updatedAt
38
39
  }
@@ -40,12 +41,16 @@ exports.ChatWidgetFragmentDoc = `
40
41
  exports.ChatWidgetMessageFragmentDoc = `
41
42
  fragment chatWidgetMessage on ChatWidgetMessage {
42
43
  id
44
+ type
45
+ sessionClosed
43
46
  payload {
47
+ from
48
+ to
49
+ channelId
44
50
  contentType
45
51
  content
46
52
  filename
47
53
  }
48
- sessionClosed
49
54
  }
50
55
  `;
51
56
  exports.GetChatWidgetDocument = `
@@ -92,9 +97,11 @@ exports.StartChatWidgetSessionDocument = `
92
97
  `;
93
98
  exports.SendMessageToChatWidgetDocument = `
94
99
  mutation sendMessageToChatWidget($input: SendMessageToChatWidgetInput!) {
95
- sendMessageToChatWidget(input: $input)
100
+ sendMessageToChatWidget(input: $input) {
101
+ ...chatWidgetMessage
102
+ }
96
103
  }
97
- `;
104
+ ${exports.ChatWidgetMessageFragmentDoc}`;
98
105
  exports.CloseChatWidgetSessionDocument = `
99
106
  mutation closeChatWidgetSession($input: CloseChatWidgetSessionInput!) {
100
107
  closeChatWidgetSession(input: $input)
@@ -169,6 +169,7 @@ export type CreateDrozBotTicketProfileInput = {
169
169
  export type DrozBotInstance = {
170
170
  createdAt: Scalars['DateTime']['output'];
171
171
  credentialId: Scalars['ID']['output'];
172
+ drn: Scalars['DRN']['output'];
172
173
  id: Scalars['ID']['output'];
173
174
  isTest?: Maybe<Scalars['Boolean']['output']>;
174
175
  name: Scalars['String']['output'];
@@ -308,7 +309,7 @@ export type UpdateDrozBotInstanceInput = {
308
309
  isTest?: InputMaybe<Scalars['Boolean']['input']>;
309
310
  name?: InputMaybe<Scalars['String']['input']>;
310
311
  };
311
- export type DrozbotFragment = Pick<DrozBotInstance, 'id' | 'name' | 'credentialId' | 'isTest' | 'createdAt' | 'updatedAt'>;
312
+ export type DrozbotFragment = Pick<DrozBotInstance, 'id' | 'name' | 'drn' | 'credentialId' | 'isTest' | 'createdAt' | 'updatedAt'>;
312
313
  export type GetDrozBotInstanceQueryVariables = Exact<{
313
314
  id: Scalars['ID']['input'];
314
315
  }>;
@@ -351,12 +352,12 @@ export type CreateDrozBotTicketCommentMutationVariables = Exact<{
351
352
  export type CreateDrozBotTicketCommentMutation = {
352
353
  createDrozBotTicketComment: Pick<DrozBotTicketComment, 'id' | 'ticketId'>;
353
354
  };
354
- export declare const DrozbotFragmentDoc = "\n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
355
- export declare const GetDrozBotInstanceDocument = "\n query getDrozBotInstance($id: ID!) {\n getDrozBotInstance(id: $id) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
356
- export declare const ListDrozBotInstancesDocument = "\n query listDrozBotInstances {\n listDrozBotInstances {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
357
- export declare const CreateDrozBotInstanceDocument = "\n mutation createDrozBotInstance($input: CreateDrozBotInstanceInput!) {\n createDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
358
- export declare const UpdateDrozBotInstanceDocument = "\n mutation updateDrozBotInstance($input: UpdateDrozBotInstanceInput!) {\n updateDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
359
- export declare const RemoveDrozBotInstanceDocument = "\n mutation removeDrozBotInstance($input: RemoveDrozBotInstanceInput!) {\n removeDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
355
+ export declare const DrozbotFragmentDoc = "\n fragment drozbot on DrozBotInstance {\n id\n name\n drn\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
356
+ export declare const GetDrozBotInstanceDocument = "\n query getDrozBotInstance($id: ID!) {\n getDrozBotInstance(id: $id) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n drn\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
357
+ export declare const ListDrozBotInstancesDocument = "\n query listDrozBotInstances {\n listDrozBotInstances {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n drn\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
358
+ export declare const CreateDrozBotInstanceDocument = "\n mutation createDrozBotInstance($input: CreateDrozBotInstanceInput!) {\n createDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n drn\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
359
+ export declare const UpdateDrozBotInstanceDocument = "\n mutation updateDrozBotInstance($input: UpdateDrozBotInstanceInput!) {\n updateDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n drn\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
360
+ export declare const RemoveDrozBotInstanceDocument = "\n mutation removeDrozBotInstance($input: RemoveDrozBotInstanceInput!) {\n removeDrozBotInstance(input: $input) {\n ...drozbot\n }\n}\n \n fragment drozbot on DrozBotInstance {\n id\n name\n drn\n credentialId\n isTest\n createdAt\n updatedAt\n}\n ";
360
361
  export declare const CreateDrozBotTicketDocument = "\n mutation createDrozBotTicket($input: CreateDrozBotTicketInput!) {\n createDrozBotTicket(input: $input) {\n id\n instanceId\n }\n}\n ";
361
362
  export declare const CreateDrozBotTicketCommentDocument = "\n mutation createDrozBotTicketComment($input: CreateDrozBotTicketCommentInput!) {\n createDrozBotTicketComment(input: $input) {\n id\n ticketId\n }\n}\n ";
362
363
  export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
@@ -27,6 +27,7 @@ exports.DrozbotFragmentDoc = `
27
27
  fragment drozbot on DrozBotInstance {
28
28
  id
29
29
  name
30
+ drn
30
31
  credentialId
31
32
  isTest
32
33
  createdAt
@@ -211,6 +211,7 @@ export type DrozChatAgent = {
211
211
  export type DrozChatChannel = {
212
212
  agentIds?: Maybe<Array<Scalars['ID']['output']>>;
213
213
  createdAt: Scalars['DateTime']['output'];
214
+ drn: Scalars['DRN']['output'];
214
215
  id: Scalars['ID']['output'];
215
216
  name: Scalars['String']['output'];
216
217
  updatedAt: Scalars['DateTime']['output'];
@@ -650,7 +651,7 @@ export type UpdateTicketInput = {
650
651
  priority?: InputMaybe<TicketPriority>;
651
652
  subject?: InputMaybe<Scalars['String']['input']>;
652
653
  };
653
- export type DrozChatChannelFragment = Pick<DrozChatChannel, 'id' | 'name' | 'agentIds' | 'createdAt' | 'updatedAt'>;
654
+ export type DrozChatChannelFragment = Pick<DrozChatChannel, 'id' | 'name' | 'drn' | 'agentIds' | 'createdAt' | 'updatedAt'>;
654
655
  export type GetDrozChatChannelQueryVariables = Exact<{
655
656
  id: Scalars['ID']['input'];
656
657
  }>;
@@ -912,43 +913,43 @@ export declare const DrozChatAgentFragmentDoc = "\n fragment drozChatAgent on
912
913
  export declare const TagFragmentDoc = "\n fragment tag on TicketTag {\n name\n createdBy {\n ...drozChatAgent\n }\n createdAt\n updatedAt\n}\n ";
913
914
  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 ";
914
915
  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 ";
915
- export declare const DrozChatChannelFragmentDoc = "\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n agentIds\n createdAt\n updatedAt\n}\n ";
916
+ export declare const DrozChatChannelFragmentDoc = "\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
916
917
  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 ";
917
918
  export declare const SessionAttributesFragmentDoc = "\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
918
919
  export declare const TicketWithSessionFragmentDoc = "\n fragment ticketWithSession on Ticket {\n ...ticket\n sessionAttributes {\n ...sessionAttributes\n }\n}\n ";
919
920
  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 ";
920
921
  export declare const FacetsFragmentDoc = "\n fragment facets on TicketsSearchResultsFacet {\n ... on SearchResultsFacet {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\n }\n ... on AgentSearchResultsFacet {\n name\n values {\n agent {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n ... on ChannelSearchResultsFacet {\n name\n values {\n channel {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n}\n ";
921
- 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 ";
922
- 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 ";
923
- 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 agentIds\n createdAt\n updatedAt\n}\n ";
924
- 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 agentIds\n createdAt\n updatedAt\n}\n ";
925
- 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 agentIds\n createdAt\n updatedAt\n}\n ";
926
- 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 agentIds\n createdAt\n updatedAt\n}\n ";
927
- 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 agentIds\n createdAt\n updatedAt\n}\n ";
928
- 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 agentIds\n createdAt\n updatedAt\n}\n ";
929
- 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 agentIds\n createdAt\n updatedAt\n}\n ";
922
+ export declare const GetDrozChatChannelDocument = "\n query getDrozChatChannel($id: ID!) {\n getDrozChatChannel(id: $id) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
923
+ export declare const ListDrozChatChannelsDocument = "\n query listDrozChatChannels {\n listDrozChatChannels {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
924
+ 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 createdAt\n updatedAt\n}\n ";
925
+ 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 createdAt\n updatedAt\n}\n ";
926
+ 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 createdAt\n updatedAt\n}\n ";
927
+ 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 createdAt\n updatedAt\n}\n ";
928
+ export declare const EnableDrozChatChannelDocument = "\n mutation enableDrozChatChannel($input: EnableDrozChatChannelInput!) {\n enableDrozChatChannel(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
929
+ export declare const AddDrozChatChannelAgentDocument = "\n mutation addDrozChatChannelAgent($input: AddDrozChatChannelAgentInput!) {\n addDrozChatChannelAgent(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
930
+ export declare const RemoveDrozChatChannelAgentDocument = "\n mutation removeDrozChatChannelAgent($input: RemoveDrozChatChannelAgentInput!) {\n removeDrozChatChannelAgent(input: $input) {\n ...drozChatChannel\n }\n}\n \n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
930
931
  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 ";
931
932
  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 ";
932
933
  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 ";
933
- 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 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\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 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 ";
934
- 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\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 agentIds\n createdAt\n updatedAt\n}\n ";
935
- 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\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 agentIds\n createdAt\n updatedAt\n}\n ";
934
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
935
+ 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
936
+ 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n ";
936
937
  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 ";
937
- 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 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\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 agentIds\n createdAt\n updatedAt\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 agent {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n ... on ChannelSearchResultsFacet {\n name\n values {\n channel {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n}\n ";
938
- 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 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\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 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 ";
939
- 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 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\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 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 ";
938
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment 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 agent {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n ... on ChannelSearchResultsFacet {\n name\n values {\n channel {\n id\n name\n }\n count\n }\n stats {\n min\n max\n }\n }\n}\n ";
939
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
940
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
940
941
  export declare const MarkTicketMessagesAsReadDocument = "\n mutation markTicketMessagesAsRead($input: MarkTicketMessagesAsReadInput!) {\n markTicketMessagesAsRead(input: $input)\n}\n ";
941
942
  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 ";
942
943
  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 ";
943
- 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 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\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 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 ";
944
- 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 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\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 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 ";
945
- 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 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\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 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 ";
946
- 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 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\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 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 ";
947
- 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 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\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 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 ";
948
- 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 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\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 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 ";
949
- 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 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\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 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 ";
950
- 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 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\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 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 ";
951
- 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 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\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 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 ";
944
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
945
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
946
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
947
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
948
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
949
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
950
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
951
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
952
+ 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 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\n fragment drozChatAgent on DrozChatAgent {\n id\n name\n}\n \n\n fragment customer on DrozChatCustomer {\n id\n name\n alternateName\n email\n phone\n document\n externalId\n emails\n phones\n documents\n externalIds\n createdAt\n updatedAt\n}\n \n\n fragment ticketTriggerApp on TicketTriggerApp {\n drn\n name\n appId\n appName\n appColor\n channels {\n id\n main\n readonly\n hidden\n sources\n unreadMessagesCount\n }\n}\n \n\n fragment drozChatChannel on DrozChatChannel {\n id\n name\n drn\n agentIds\n createdAt\n updatedAt\n}\n \n\n fragment sessionAttributes on TicketSessionAttributes {\n organization\n source\n order\n products\n review\n tags\n}\n ";
952
953
  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 ";
953
954
  export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
954
955
  export declare function getSdk<C>(requester: Requester<C>): {
@@ -128,6 +128,7 @@ exports.DrozChatChannelFragmentDoc = `
128
128
  fragment drozChatChannel on DrozChatChannel {
129
129
  id
130
130
  name
131
+ drn
131
132
  agentIds
132
133
  createdAt
133
134
  updatedAt