@bcrumbs.net/inbox 0.0.20 → 0.0.22
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/assets/ar/inbox.json +6 -2
- package/assets/en/inbox.json +5 -1
- package/index.cjs.js +174 -145
- package/index.esm.js +174 -145
- package/package.json +1 -1
- package/src/app/dashboard/components/AgentLiveReport/AgentCardItem.d.ts +6 -0
- package/src/app/dashboard/components/AgentLiveReport/index.d.ts +6 -0
- package/src/app/inbox/components/ConvDetails/ConvStageEditor.d.ts +1 -1
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +1 -0
- package/src/app/inbox/hooks/useSendMessage.d.ts +2 -2
- package/src/app/resources/components/ListResources/ListLazyResourcesTable.d.ts +5 -0
- package/src/app/resources/components/ListResources/ListResourcesTable.d.ts +5 -0
- package/src/app/resources/components/ListResources/Utils.d.ts +24 -0
- package/src/app/resources/config/types.d.ts +14 -1
- package/src/assets/locales/translations.d.ts +8 -89
- package/src/context/themeContext.d.ts +4 -3
- package/src/graphql.autogenerated.d.ts +164 -110
- package/src/lib/inbox.d.ts +1 -0
- /package/src/app/resources/components/{ListResources.d.ts → ListResources/index.d.ts} +0 -0
|
@@ -79,6 +79,49 @@ export type Scalars = {
|
|
|
79
79
|
output: any;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
|
+
export type Ai = {
|
|
83
|
+
__typename?: 'AI';
|
|
84
|
+
createdAt: Scalars['DateTime']['output'];
|
|
85
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
86
|
+
id: Scalars['ID']['output'];
|
|
87
|
+
name: Scalars['String']['output'];
|
|
88
|
+
type: AiType;
|
|
89
|
+
workspaceId: Scalars['Int']['output'];
|
|
90
|
+
};
|
|
91
|
+
export type AiCreateInput = {
|
|
92
|
+
integrationProperties: Scalars['JSON']['input'];
|
|
93
|
+
name: Scalars['String']['input'];
|
|
94
|
+
type: AiType;
|
|
95
|
+
workspaceId: Scalars['Int']['input'];
|
|
96
|
+
};
|
|
97
|
+
export type AiDeleteInput = {
|
|
98
|
+
id: Scalars['ID']['input'];
|
|
99
|
+
workspaceId: Scalars['Int']['input'];
|
|
100
|
+
};
|
|
101
|
+
export type AiInput = {
|
|
102
|
+
id: Scalars['ID']['input'];
|
|
103
|
+
workspaceId: Scalars['Int']['input'];
|
|
104
|
+
};
|
|
105
|
+
export type AiPatchInput = {
|
|
106
|
+
id: Scalars['ID']['input'];
|
|
107
|
+
integrationProperties?: InputMaybe<Scalars['JSON']['input']>;
|
|
108
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
109
|
+
workspaceId: Scalars['Int']['input'];
|
|
110
|
+
};
|
|
111
|
+
export declare const AiType: {
|
|
112
|
+
readonly OPENAI: "openai";
|
|
113
|
+
readonly PINECONE: "pinecone";
|
|
114
|
+
};
|
|
115
|
+
export type AiType = typeof AiType[keyof typeof AiType];
|
|
116
|
+
export type AIsInput = {
|
|
117
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
118
|
+
type?: InputMaybe<AiType>;
|
|
119
|
+
workspaceId: Scalars['Int']['input'];
|
|
120
|
+
};
|
|
121
|
+
export type AIsPayload = {
|
|
122
|
+
__typename?: 'AIsPayload';
|
|
123
|
+
nodes?: Maybe<Array<Ai>>;
|
|
124
|
+
};
|
|
82
125
|
export type Agent = {
|
|
83
126
|
__typename?: 'Agent';
|
|
84
127
|
avatar?: Maybe<Scalars['String']['output']>;
|
|
@@ -141,49 +184,6 @@ export type AgentsReportPayload = {
|
|
|
141
184
|
__typename?: 'AgentsReportPayload';
|
|
142
185
|
nodes?: Maybe<Array<AgentReport>>;
|
|
143
186
|
};
|
|
144
|
-
export type Ai = {
|
|
145
|
-
__typename?: 'AI';
|
|
146
|
-
createdAt: Scalars['DateTime']['output'];
|
|
147
|
-
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
148
|
-
id: Scalars['ID']['output'];
|
|
149
|
-
name: Scalars['String']['output'];
|
|
150
|
-
type: AiType;
|
|
151
|
-
workspaceId: Scalars['Int']['output'];
|
|
152
|
-
};
|
|
153
|
-
export type AiCreateInput = {
|
|
154
|
-
integrationProperties: Scalars['JSON']['input'];
|
|
155
|
-
name: Scalars['String']['input'];
|
|
156
|
-
type: AiType;
|
|
157
|
-
workspaceId: Scalars['Int']['input'];
|
|
158
|
-
};
|
|
159
|
-
export type AiDeleteInput = {
|
|
160
|
-
id: Scalars['ID']['input'];
|
|
161
|
-
workspaceId: Scalars['Int']['input'];
|
|
162
|
-
};
|
|
163
|
-
export type AiInput = {
|
|
164
|
-
id: Scalars['ID']['input'];
|
|
165
|
-
workspaceId: Scalars['Int']['input'];
|
|
166
|
-
};
|
|
167
|
-
export type AiPatchInput = {
|
|
168
|
-
id: Scalars['ID']['input'];
|
|
169
|
-
integrationProperties?: InputMaybe<Scalars['JSON']['input']>;
|
|
170
|
-
name?: InputMaybe<Scalars['String']['input']>;
|
|
171
|
-
workspaceId: Scalars['Int']['input'];
|
|
172
|
-
};
|
|
173
|
-
export type AIsInput = {
|
|
174
|
-
name?: InputMaybe<Scalars['String']['input']>;
|
|
175
|
-
type?: InputMaybe<AiType>;
|
|
176
|
-
workspaceId: Scalars['Int']['input'];
|
|
177
|
-
};
|
|
178
|
-
export type AIsPayload = {
|
|
179
|
-
__typename?: 'AIsPayload';
|
|
180
|
-
nodes?: Maybe<Array<Ai>>;
|
|
181
|
-
};
|
|
182
|
-
export declare const AiType: {
|
|
183
|
-
readonly OPENAI: "openai";
|
|
184
|
-
readonly PINECONE: "pinecone";
|
|
185
|
-
};
|
|
186
|
-
export type AiType = typeof AiType[keyof typeof AiType];
|
|
187
187
|
export type ApiKey = {
|
|
188
188
|
__typename?: 'ApiKey';
|
|
189
189
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -261,6 +261,14 @@ export type BroadcastPatchInput = {
|
|
|
261
261
|
templateName: Scalars['String']['input'];
|
|
262
262
|
workspaceId: Scalars['Int']['input'];
|
|
263
263
|
};
|
|
264
|
+
export declare const BroadcastState: {
|
|
265
|
+
readonly COMPLETED: "completed";
|
|
266
|
+
readonly DRAFT: "draft";
|
|
267
|
+
readonly FAILED: "failed";
|
|
268
|
+
readonly INPROGRESS: "inProgress";
|
|
269
|
+
readonly SCHEDULED: "scheduled";
|
|
270
|
+
};
|
|
271
|
+
export type BroadcastState = typeof BroadcastState[keyof typeof BroadcastState];
|
|
264
272
|
export type BroadcastsInput = {
|
|
265
273
|
integrationId?: InputMaybe<Scalars['ID']['input']>;
|
|
266
274
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -273,14 +281,6 @@ export type BroadcastsPayload = {
|
|
|
273
281
|
nodes?: Maybe<Array<Broadcast>>;
|
|
274
282
|
pageInfo?: Maybe<PageInfo>;
|
|
275
283
|
};
|
|
276
|
-
export declare const BroadcastState: {
|
|
277
|
-
readonly COMPLETED: "completed";
|
|
278
|
-
readonly DRAFT: "draft";
|
|
279
|
-
readonly FAILED: "failed";
|
|
280
|
-
readonly INPROGRESS: "inProgress";
|
|
281
|
-
readonly SCHEDULED: "scheduled";
|
|
282
|
-
};
|
|
283
|
-
export type BroadcastState = typeof BroadcastState[keyof typeof BroadcastState];
|
|
284
284
|
export type Client = {
|
|
285
285
|
__typename?: 'Client';
|
|
286
286
|
address?: Maybe<Scalars['String']['output']>;
|
|
@@ -298,6 +298,20 @@ export type Client = {
|
|
|
298
298
|
tags?: Maybe<Array<Scalars['String']['output']>>;
|
|
299
299
|
workspaceId: Scalars['Int']['output'];
|
|
300
300
|
};
|
|
301
|
+
export type ClientCreateInput = {
|
|
302
|
+
address?: InputMaybe<Scalars['String']['input']>;
|
|
303
|
+
city?: InputMaybe<Scalars['String']['input']>;
|
|
304
|
+
code?: InputMaybe<Scalars['String']['input']>;
|
|
305
|
+
country?: InputMaybe<Scalars['String']['input']>;
|
|
306
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
307
|
+
/** externalClientId is required, in case of WhatsApp integration this will be the phone number of the client without + and without spaces */
|
|
308
|
+
externalClientId: Scalars['String']['input'];
|
|
309
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
310
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
311
|
+
surname?: InputMaybe<Scalars['String']['input']>;
|
|
312
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
313
|
+
workspaceId: Scalars['Int']['input'];
|
|
314
|
+
};
|
|
301
315
|
export type ClientInput = {
|
|
302
316
|
id: Scalars['ID']['input'];
|
|
303
317
|
workspaceId: Scalars['Int']['input'];
|
|
@@ -315,6 +329,11 @@ export type ClientPatchInput = {
|
|
|
315
329
|
surname?: InputMaybe<Scalars['String']['input']>;
|
|
316
330
|
workspaceId: Scalars['Int']['input'];
|
|
317
331
|
};
|
|
332
|
+
export type ClientTagInput = {
|
|
333
|
+
clientId: Scalars['ID']['input'];
|
|
334
|
+
tag: Scalars['String']['input'];
|
|
335
|
+
workspaceId: Scalars['Int']['input'];
|
|
336
|
+
};
|
|
318
337
|
export type ClientsInput = {
|
|
319
338
|
city?: InputMaybe<Scalars['String']['input']>;
|
|
320
339
|
code?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -334,11 +353,6 @@ export type ClientsPayload = {
|
|
|
334
353
|
nodes?: Maybe<Array<Client>>;
|
|
335
354
|
pageInfo?: Maybe<PageInfo>;
|
|
336
355
|
};
|
|
337
|
-
export type ClientTagInput = {
|
|
338
|
-
clientId: Scalars['ID']['input'];
|
|
339
|
-
tag: Scalars['String']['input'];
|
|
340
|
-
workspaceId: Scalars['Int']['input'];
|
|
341
|
-
};
|
|
342
356
|
export type ConvAssignInput = {
|
|
343
357
|
agentId?: InputMaybe<Scalars['ID']['input']>;
|
|
344
358
|
convId: Scalars['ID']['input'];
|
|
@@ -356,6 +370,27 @@ export type ConvEndInput = {
|
|
|
356
370
|
integrationId: Scalars['ID']['input'];
|
|
357
371
|
workspaceId: Scalars['Int']['input'];
|
|
358
372
|
};
|
|
373
|
+
export type ConvPatchInput = {
|
|
374
|
+
convId: Scalars['ID']['input'];
|
|
375
|
+
integrationId: Scalars['ID']['input'];
|
|
376
|
+
orderNo?: InputMaybe<Scalars['String']['input']>;
|
|
377
|
+
stage?: InputMaybe<Scalars['String']['input']>;
|
|
378
|
+
workspaceId: Scalars['Int']['input'];
|
|
379
|
+
};
|
|
380
|
+
export type ConvStartInput = {
|
|
381
|
+
clientId?: InputMaybe<Scalars['ID']['input']>;
|
|
382
|
+
integrationId: Scalars['ID']['input'];
|
|
383
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
384
|
+
templateLang?: InputMaybe<Scalars['String']['input']>;
|
|
385
|
+
templateName: Scalars['String']['input'];
|
|
386
|
+
workspaceId: Scalars['Int']['input'];
|
|
387
|
+
};
|
|
388
|
+
export type ConvTagInput = {
|
|
389
|
+
convId: Scalars['ID']['input'];
|
|
390
|
+
integrationId: Scalars['ID']['input'];
|
|
391
|
+
tag: Scalars['String']['input'];
|
|
392
|
+
workspaceId: Scalars['Int']['input'];
|
|
393
|
+
};
|
|
359
394
|
export type Conversation = {
|
|
360
395
|
__typename?: 'Conversation';
|
|
361
396
|
aiAssigneed?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -398,13 +433,6 @@ export type ConversationReport = {
|
|
|
398
433
|
integrationId: Scalars['ID']['output'];
|
|
399
434
|
workspaceId: Scalars['Int']['output'];
|
|
400
435
|
};
|
|
401
|
-
export type ConvPatchInput = {
|
|
402
|
-
convId: Scalars['ID']['input'];
|
|
403
|
-
integrationId: Scalars['ID']['input'];
|
|
404
|
-
orderNo?: InputMaybe<Scalars['String']['input']>;
|
|
405
|
-
stage?: InputMaybe<Scalars['String']['input']>;
|
|
406
|
-
workspaceId: Scalars['Int']['input'];
|
|
407
|
-
};
|
|
408
436
|
export type ConvsInput = {
|
|
409
437
|
assigneeId?: InputMaybe<Scalars['ID']['input']>;
|
|
410
438
|
clientId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -431,20 +459,6 @@ export type ConvsReportPayload = {
|
|
|
431
459
|
__typename?: 'ConvsReportPayload';
|
|
432
460
|
nodes?: Maybe<Array<ConversationReport>>;
|
|
433
461
|
};
|
|
434
|
-
export type ConvStartInput = {
|
|
435
|
-
clientId?: InputMaybe<Scalars['ID']['input']>;
|
|
436
|
-
integrationId: Scalars['ID']['input'];
|
|
437
|
-
phone?: InputMaybe<Scalars['String']['input']>;
|
|
438
|
-
templateLang?: InputMaybe<Scalars['String']['input']>;
|
|
439
|
-
templateName: Scalars['String']['input'];
|
|
440
|
-
workspaceId: Scalars['Int']['input'];
|
|
441
|
-
};
|
|
442
|
-
export type ConvTagInput = {
|
|
443
|
-
convId: Scalars['ID']['input'];
|
|
444
|
-
integrationId: Scalars['ID']['input'];
|
|
445
|
-
tag: Scalars['String']['input'];
|
|
446
|
-
workspaceId: Scalars['Int']['input'];
|
|
447
|
-
};
|
|
448
462
|
export declare const ErrorCode: {
|
|
449
463
|
readonly FILE_NOT_FOUND: "FILE_NOT_FOUND";
|
|
450
464
|
readonly FILE_UPLOAD_ERROR: "FILE_UPLOAD_ERROR";
|
|
@@ -527,16 +541,6 @@ export type IntegrationPatchInput = {
|
|
|
527
541
|
properties?: InputMaybe<Scalars['JSON']['input']>;
|
|
528
542
|
workspaceId: Scalars['Int']['input'];
|
|
529
543
|
};
|
|
530
|
-
export type IntegrationsInput = {
|
|
531
|
-
name?: InputMaybe<Scalars['String']['input']>;
|
|
532
|
-
state?: InputMaybe<IntegrationState>;
|
|
533
|
-
type?: InputMaybe<IntegrationType>;
|
|
534
|
-
workspaceId: Scalars['Int']['input'];
|
|
535
|
-
};
|
|
536
|
-
export type IntegrationsPayload = {
|
|
537
|
-
__typename?: 'IntegrationsPayload';
|
|
538
|
-
nodes?: Maybe<Array<Integration>>;
|
|
539
|
-
};
|
|
540
544
|
export declare const IntegrationState: {
|
|
541
545
|
readonly ACTIVE: "ACTIVE";
|
|
542
546
|
readonly DELETED: "DELETED";
|
|
@@ -563,6 +567,16 @@ export type IntegrationWithSecrets = {
|
|
|
563
567
|
type: IntegrationType;
|
|
564
568
|
workspaceId: Scalars['Int']['output'];
|
|
565
569
|
};
|
|
570
|
+
export type IntegrationsInput = {
|
|
571
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
572
|
+
state?: InputMaybe<IntegrationState>;
|
|
573
|
+
type?: InputMaybe<IntegrationType>;
|
|
574
|
+
workspaceId: Scalars['Int']['input'];
|
|
575
|
+
};
|
|
576
|
+
export type IntegrationsPayload = {
|
|
577
|
+
__typename?: 'IntegrationsPayload';
|
|
578
|
+
nodes?: Maybe<Array<Integration>>;
|
|
579
|
+
};
|
|
566
580
|
export declare const MediaFormat: {
|
|
567
581
|
readonly GIF: "gif";
|
|
568
582
|
readonly JPG: "jpg";
|
|
@@ -585,6 +599,7 @@ export type Message = {
|
|
|
585
599
|
externalMessageId?: Maybe<Scalars['String']['output']>;
|
|
586
600
|
isAgent: Scalars['Boolean']['output'];
|
|
587
601
|
messageId: Scalars['ID']['output'];
|
|
602
|
+
noteType?: Maybe<NoteType>;
|
|
588
603
|
status?: Maybe<MessageStatus>;
|
|
589
604
|
tags?: Maybe<Array<Scalars['String']['output']>>;
|
|
590
605
|
type: MessageType;
|
|
@@ -622,23 +637,10 @@ export type MessageInput = {
|
|
|
622
637
|
content: Scalars['String']['input'];
|
|
623
638
|
convId: Scalars['ID']['input'];
|
|
624
639
|
integrationId: Scalars['ID']['input'];
|
|
640
|
+
noteType?: InputMaybe<NoteType>;
|
|
625
641
|
type: MessageType;
|
|
626
642
|
workspaceId: Scalars['Int']['input'];
|
|
627
643
|
};
|
|
628
|
-
export type MessagesInput = {
|
|
629
|
-
assigneeId?: InputMaybe<Scalars['ID']['input']>;
|
|
630
|
-
clientId?: InputMaybe<Scalars['ID']['input']>;
|
|
631
|
-
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
632
|
-
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
633
|
-
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
634
|
-
type?: InputMaybe<MessageType>;
|
|
635
|
-
workspaceId: Scalars['Int']['input'];
|
|
636
|
-
};
|
|
637
|
-
export type MessagesPayload = {
|
|
638
|
-
__typename?: 'MessagesPayload';
|
|
639
|
-
nodes?: Maybe<Array<Message>>;
|
|
640
|
-
pageInfo?: Maybe<PageInfo>;
|
|
641
|
-
};
|
|
642
644
|
export declare const MessageStatus: {
|
|
643
645
|
readonly DELIVERED: "delivered";
|
|
644
646
|
readonly FAILED: "failed";
|
|
@@ -680,6 +682,20 @@ export declare const MessageType: {
|
|
|
680
682
|
readonly VIDEO: "video";
|
|
681
683
|
};
|
|
682
684
|
export type MessageType = typeof MessageType[keyof typeof MessageType];
|
|
685
|
+
export type MessagesInput = {
|
|
686
|
+
assigneeId?: InputMaybe<Scalars['ID']['input']>;
|
|
687
|
+
clientId?: InputMaybe<Scalars['ID']['input']>;
|
|
688
|
+
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
689
|
+
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
690
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
691
|
+
type?: InputMaybe<MessageType>;
|
|
692
|
+
workspaceId: Scalars['Int']['input'];
|
|
693
|
+
};
|
|
694
|
+
export type MessagesPayload = {
|
|
695
|
+
__typename?: 'MessagesPayload';
|
|
696
|
+
nodes?: Maybe<Array<Message>>;
|
|
697
|
+
pageInfo?: Maybe<PageInfo>;
|
|
698
|
+
};
|
|
683
699
|
export type Mutation = {
|
|
684
700
|
__typename?: 'Mutation';
|
|
685
701
|
addMessage: Message;
|
|
@@ -690,6 +706,7 @@ export type Mutation = {
|
|
|
690
706
|
createAgent: Agent;
|
|
691
707
|
createAi: Ai;
|
|
692
708
|
createBroadcast: Broadcast;
|
|
709
|
+
createClient: Client;
|
|
693
710
|
createIntegration: Integration;
|
|
694
711
|
createTag: Tag;
|
|
695
712
|
createWebhook: Webhook;
|
|
@@ -712,6 +729,7 @@ export type Mutation = {
|
|
|
712
729
|
patchConv: Conversation;
|
|
713
730
|
patchIntegration: Integration;
|
|
714
731
|
say?: Maybe<HelloMessage>;
|
|
732
|
+
sendNotification: Message;
|
|
715
733
|
startConv: Conversation;
|
|
716
734
|
tagClient: Client;
|
|
717
735
|
tagConv: Conversation;
|
|
@@ -744,6 +762,9 @@ export type MutationCreateAiArgs = {
|
|
|
744
762
|
export type MutationCreateBroadcastArgs = {
|
|
745
763
|
input: BroadcastCreateInput;
|
|
746
764
|
};
|
|
765
|
+
export type MutationCreateClientArgs = {
|
|
766
|
+
input: ClientCreateInput;
|
|
767
|
+
};
|
|
747
768
|
export type MutationCreateIntegrationArgs = {
|
|
748
769
|
input: IntegrationCreateInput;
|
|
749
770
|
};
|
|
@@ -807,6 +828,9 @@ export type MutationPatchIntegrationArgs = {
|
|
|
807
828
|
export type MutationSayArgs = {
|
|
808
829
|
input: UserInput;
|
|
809
830
|
};
|
|
831
|
+
export type MutationSendNotificationArgs = {
|
|
832
|
+
input: SendNotificationInput;
|
|
833
|
+
};
|
|
810
834
|
export type MutationStartConvArgs = {
|
|
811
835
|
input: ConvStartInput;
|
|
812
836
|
};
|
|
@@ -828,6 +852,16 @@ export type MutationUntagConvArgs = {
|
|
|
828
852
|
export type MutationUntagMessageArgs = {
|
|
829
853
|
input: MessageTagInput;
|
|
830
854
|
};
|
|
855
|
+
export declare const NoteType: {
|
|
856
|
+
readonly ASSIGN: "ASSIGN";
|
|
857
|
+
readonly MEMO: "MEMO";
|
|
858
|
+
readonly STAGE: "STAGE";
|
|
859
|
+
readonly TAG: "TAG";
|
|
860
|
+
readonly UNASSIGN: "UNASSIGN";
|
|
861
|
+
readonly UNSTAGE: "UNSTAGE";
|
|
862
|
+
readonly UNTAG: "UNTAG";
|
|
863
|
+
};
|
|
864
|
+
export type NoteType = typeof NoteType[keyof typeof NoteType];
|
|
831
865
|
export type PageInfo = {
|
|
832
866
|
__typename?: 'PageInfo';
|
|
833
867
|
count?: Maybe<Scalars['Int']['output']>;
|
|
@@ -950,6 +984,15 @@ export declare const Role: {
|
|
|
950
984
|
readonly OWNER: "OWNER";
|
|
951
985
|
};
|
|
952
986
|
export type Role = typeof Role[keyof typeof Role];
|
|
987
|
+
export type SendNotificationInput = {
|
|
988
|
+
clientId?: InputMaybe<Scalars['ID']['input']>;
|
|
989
|
+
integrationId: Scalars['ID']['input'];
|
|
990
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
991
|
+
templateComponents?: InputMaybe<Scalars['JSON']['input']>;
|
|
992
|
+
templateLang?: InputMaybe<Scalars['String']['input']>;
|
|
993
|
+
templateName: Scalars['String']['input'];
|
|
994
|
+
workspaceId: Scalars['Int']['input'];
|
|
995
|
+
};
|
|
953
996
|
export type StartByCountryCodeConfig = {
|
|
954
997
|
__typename?: 'StartByCountryCodeConfig';
|
|
955
998
|
assigneeId: Scalars['ID']['output'];
|
|
@@ -1005,6 +1048,15 @@ export type TagDeleteInput = {
|
|
|
1005
1048
|
id: Scalars['ID']['input'];
|
|
1006
1049
|
workspaceId: Scalars['Int']['input'];
|
|
1007
1050
|
};
|
|
1051
|
+
export declare const TagType: {
|
|
1052
|
+
readonly CLIENT: "client";
|
|
1053
|
+
readonly CLIENTSTAGE: "clientStage";
|
|
1054
|
+
readonly COMMON: "common";
|
|
1055
|
+
readonly CONVSTAGE: "convStage";
|
|
1056
|
+
readonly CONVERSATION: "conversation";
|
|
1057
|
+
readonly MESSAGE: "message";
|
|
1058
|
+
};
|
|
1059
|
+
export type TagType = typeof TagType[keyof typeof TagType];
|
|
1008
1060
|
export type TagsInput = {
|
|
1009
1061
|
tag?: InputMaybe<Scalars['String']['input']>;
|
|
1010
1062
|
type?: InputMaybe<TagType>;
|
|
@@ -1014,15 +1066,6 @@ export type TagsPayload = {
|
|
|
1014
1066
|
__typename?: 'TagsPayload';
|
|
1015
1067
|
nodes?: Maybe<Array<Tag>>;
|
|
1016
1068
|
};
|
|
1017
|
-
export declare const TagType: {
|
|
1018
|
-
readonly CLIENT: "client";
|
|
1019
|
-
readonly CLIENTSTAGE: "clientStage";
|
|
1020
|
-
readonly COMMON: "common";
|
|
1021
|
-
readonly CONVERSATION: "conversation";
|
|
1022
|
-
readonly CONVSTAGE: "convStage";
|
|
1023
|
-
readonly MESSAGE: "message";
|
|
1024
|
-
};
|
|
1025
|
-
export type TagType = typeof TagType[keyof typeof TagType];
|
|
1026
1069
|
export declare const TemplateState: {
|
|
1027
1070
|
readonly APPROVED: "APPROVED";
|
|
1028
1071
|
readonly DELETED: "DELETED";
|
|
@@ -1321,6 +1364,7 @@ export type ConversationFragment = {
|
|
|
1321
1364
|
messageId: string;
|
|
1322
1365
|
content: string;
|
|
1323
1366
|
type: MessageType;
|
|
1367
|
+
noteType?: NoteType | null;
|
|
1324
1368
|
isAgent: boolean;
|
|
1325
1369
|
agentId?: string | null;
|
|
1326
1370
|
status?: MessageStatus | null;
|
|
@@ -1353,6 +1397,7 @@ export type MessageFragment = {
|
|
|
1353
1397
|
messageId: string;
|
|
1354
1398
|
content: string;
|
|
1355
1399
|
type: MessageType;
|
|
1400
|
+
noteType?: NoteType | null;
|
|
1356
1401
|
isAgent: boolean;
|
|
1357
1402
|
agentId?: string | null;
|
|
1358
1403
|
status?: MessageStatus | null;
|
|
@@ -1393,6 +1438,7 @@ export type AddMessageMutation = {
|
|
|
1393
1438
|
messageId: string;
|
|
1394
1439
|
content: string;
|
|
1395
1440
|
type: MessageType;
|
|
1441
|
+
noteType?: NoteType | null;
|
|
1396
1442
|
isAgent: boolean;
|
|
1397
1443
|
agentId?: string | null;
|
|
1398
1444
|
status?: MessageStatus | null;
|
|
@@ -1478,6 +1524,7 @@ export type AssignConvMutation = {
|
|
|
1478
1524
|
messageId: string;
|
|
1479
1525
|
content: string;
|
|
1480
1526
|
type: MessageType;
|
|
1527
|
+
noteType?: NoteType | null;
|
|
1481
1528
|
isAgent: boolean;
|
|
1482
1529
|
agentId?: string | null;
|
|
1483
1530
|
status?: MessageStatus | null;
|
|
@@ -1652,6 +1699,7 @@ export type ConvsQuery = {
|
|
|
1652
1699
|
messageId: string;
|
|
1653
1700
|
content: string;
|
|
1654
1701
|
type: MessageType;
|
|
1702
|
+
noteType?: NoteType | null;
|
|
1655
1703
|
isAgent: boolean;
|
|
1656
1704
|
agentId?: string | null;
|
|
1657
1705
|
status?: MessageStatus | null;
|
|
@@ -1798,6 +1846,7 @@ export type EndConvMutation = {
|
|
|
1798
1846
|
messageId: string;
|
|
1799
1847
|
content: string;
|
|
1800
1848
|
type: MessageType;
|
|
1849
|
+
noteType?: NoteType | null;
|
|
1801
1850
|
isAgent: boolean;
|
|
1802
1851
|
agentId?: string | null;
|
|
1803
1852
|
status?: MessageStatus | null;
|
|
@@ -1864,6 +1913,7 @@ export type MessagesQuery = {
|
|
|
1864
1913
|
messageId: string;
|
|
1865
1914
|
content: string;
|
|
1866
1915
|
type: MessageType;
|
|
1916
|
+
noteType?: NoteType | null;
|
|
1867
1917
|
isAgent: boolean;
|
|
1868
1918
|
agentId?: string | null;
|
|
1869
1919
|
status?: MessageStatus | null;
|
|
@@ -1977,6 +2027,7 @@ export type PatchConvMutation = {
|
|
|
1977
2027
|
messageId: string;
|
|
1978
2028
|
content: string;
|
|
1979
2029
|
type: MessageType;
|
|
2030
|
+
noteType?: NoteType | null;
|
|
1980
2031
|
isAgent: boolean;
|
|
1981
2032
|
agentId?: string | null;
|
|
1982
2033
|
status?: MessageStatus | null;
|
|
@@ -2032,6 +2083,7 @@ export type StartConvMutation = {
|
|
|
2032
2083
|
messageId: string;
|
|
2033
2084
|
content: string;
|
|
2034
2085
|
type: MessageType;
|
|
2086
|
+
noteType?: NoteType | null;
|
|
2035
2087
|
isAgent: boolean;
|
|
2036
2088
|
agentId?: string | null;
|
|
2037
2089
|
status?: MessageStatus | null;
|
|
@@ -2110,6 +2162,7 @@ export type TagConvMutation = {
|
|
|
2110
2162
|
messageId: string;
|
|
2111
2163
|
content: string;
|
|
2112
2164
|
type: MessageType;
|
|
2165
|
+
noteType?: NoteType | null;
|
|
2113
2166
|
isAgent: boolean;
|
|
2114
2167
|
agentId?: string | null;
|
|
2115
2168
|
status?: MessageStatus | null;
|
|
@@ -2204,6 +2257,7 @@ export type UntagConvMutation = {
|
|
|
2204
2257
|
messageId: string;
|
|
2205
2258
|
content: string;
|
|
2206
2259
|
type: MessageType;
|
|
2260
|
+
noteType?: NoteType | null;
|
|
2207
2261
|
isAgent: boolean;
|
|
2208
2262
|
agentId?: string | null;
|
|
2209
2263
|
status?: MessageStatus | null;
|
package/src/lib/inbox.d.ts
CHANGED
|
File without changes
|