@bcrumbs.net/inbox 0.0.39 → 0.0.41
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 +236 -226
- package/assets/en/inbox.json +238 -228
- package/index.cjs.d.ts +1 -1
- package/index.cjs.js +2061 -1641
- package/index.esm.d.ts +1 -1
- package/index.esm.js +2063 -1643
- package/package.json +3 -3
- package/src/app/ai/components/playground/Button.d.ts +1 -1
- package/src/app/ai/components/playground/TooltipIconButton.d.ts +2 -2
- package/src/app/auth/components/UserAvatar/index.d.ts +2 -10
- package/src/app/auth/pages/PartnerLogin.d.ts +11 -0
- package/src/app/auth/pages/Profile.d.ts +0 -7
- package/src/app/broadcast/components/BroadcastSampleContacts.d.ts +4 -1
- package/src/app/contact/components/ContactFormFields.d.ts +3 -1
- package/src/app/contact/components/ImportProgressDialog.d.ts +10 -0
- package/src/app/contact/components/ImportSuccessDialog.d.ts +8 -0
- package/src/app/contact/components/ImportValidationErrorDialog.d.ts +13 -0
- package/src/app/contact/config/contactForm.d.ts +3 -1
- package/src/app/contact/hooks/useAgentFullName.d.ts +6 -0
- package/src/app/contact/hooks/useAgentOptions.d.ts +19 -0
- package/src/app/contact/hooks/useLifecycleSelectOptions.d.ts +9 -0
- package/src/app/contact/pages/contact/ContactHeader.d.ts +6 -0
- package/src/app/generic/hooks/useResourceColumns.d.ts +4 -1
- package/src/app/inbox/components/NewDetails/ClientSection.d.ts +10 -0
- package/src/app/inbox/components/NewDetails/index.d.ts +3 -1
- package/src/app/inbox/hooks/useConvFilters.d.ts +4 -1
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +1 -1
- package/src/app/inbox/hooks/useTags.d.ts +1 -1
- package/src/app/inbox/utils/convs.d.ts +8 -2
- package/src/app/resources/components/ListResources/Utils.d.ts +0 -1
- package/src/app/resources/config/broadcast.d.ts +1 -3
- package/src/app/subscriptions/components/SubscriptionSwitcher/index.d.ts +2 -2
- package/src/app/subscriptions/pages/Subscriptions.d.ts +2 -8
- package/src/assets/locales/translations.d.ts +20 -0
- package/src/config/constants.d.ts +2 -2
- package/src/environments/environment.d.ts +2 -4
- package/src/environments/environment.prod.d.ts +2 -4
- package/src/environments/environment.wakeed.d.ts +2 -0
- package/src/environments/types.d.ts +15 -0
- package/src/graphql.autogenerated.d.ts +953 -0
- package/src/lib/inbox.d.ts +1 -0
|
@@ -326,6 +326,14 @@ export type Broadcast = {
|
|
|
326
326
|
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
327
327
|
workspaceId: Scalars['Int']['output'];
|
|
328
328
|
};
|
|
329
|
+
/**
|
|
330
|
+
* BroadcastCancelInput is an input of the broadcast cancel mutation.
|
|
331
|
+
* It cancels a scheduled broadcast that hasn't started yet (scheduled -> draft).
|
|
332
|
+
*/
|
|
333
|
+
export type BroadcastCancelInput = {
|
|
334
|
+
id: Scalars['ID']['input'];
|
|
335
|
+
workspaceId: Scalars['Int']['input'];
|
|
336
|
+
};
|
|
329
337
|
/** BroadcastCreateInput is an input of the broadcast create mutation. */
|
|
330
338
|
export type BroadcastCreateInput = {
|
|
331
339
|
/** The stage of the clients that will receive the broadcast. (Used to target a specific stage of clients) */
|
|
@@ -420,6 +428,48 @@ export type BroadcastLaunchInput = {
|
|
|
420
428
|
id: Scalars['ID']['input'];
|
|
421
429
|
workspaceId: Scalars['Int']['input'];
|
|
422
430
|
};
|
|
431
|
+
/** BroadcastMessageStatus represents a broadcast message with its status and client information. */
|
|
432
|
+
export type BroadcastMessageStatus = {
|
|
433
|
+
__typename?: 'BroadcastMessageStatus';
|
|
434
|
+
/** The client country. */
|
|
435
|
+
clientCountry?: Maybe<Scalars['String']['output']>;
|
|
436
|
+
/** The client email. */
|
|
437
|
+
clientEmail?: Maybe<Scalars['String']['output']>;
|
|
438
|
+
/** The client lifecycle/stage id. */
|
|
439
|
+
clientLifecycle?: Maybe<Scalars['String']['output']>;
|
|
440
|
+
/** The client name. */
|
|
441
|
+
clientName?: Maybe<Scalars['String']['output']>;
|
|
442
|
+
/** The client phone number. */
|
|
443
|
+
clientPhone?: Maybe<Scalars['String']['output']>;
|
|
444
|
+
/** The client tags. */
|
|
445
|
+
clientTags?: Maybe<Array<Scalars['String']['output']>>;
|
|
446
|
+
/** The date and time when the message was created. */
|
|
447
|
+
createdAt: Scalars['DateTime']['output'];
|
|
448
|
+
/** The failure reason if the message failed. */
|
|
449
|
+
failureReason?: Maybe<Scalars['String']['output']>;
|
|
450
|
+
/** The message id. */
|
|
451
|
+
messageId: Scalars['ID']['output'];
|
|
452
|
+
/** The message status. */
|
|
453
|
+
status?: Maybe<MessageStatus>;
|
|
454
|
+
};
|
|
455
|
+
/** BroadcastMessageStatusesInput is an input of the broadcast message statuses query. */
|
|
456
|
+
export type BroadcastMessageStatusesInput = {
|
|
457
|
+
/** The broadcast id to fetch message statuses for. */
|
|
458
|
+
broadcastId: Scalars['ID']['input'];
|
|
459
|
+
/** Filter by client country. */
|
|
460
|
+
country?: InputMaybe<Scalars['String']['input']>;
|
|
461
|
+
/** Filter by client lifecycle/stage id. */
|
|
462
|
+
lifecycle?: InputMaybe<Scalars['String']['input']>;
|
|
463
|
+
/** Filter by message status. */
|
|
464
|
+
status?: InputMaybe<MessageStatus>;
|
|
465
|
+
workspaceId: Scalars['Int']['input'];
|
|
466
|
+
};
|
|
467
|
+
/** BroadcastMessageStatusesPayload is a payload of the broadcast message statuses query. */
|
|
468
|
+
export type BroadcastMessageStatusesPayload = {
|
|
469
|
+
__typename?: 'BroadcastMessageStatusesPayload';
|
|
470
|
+
nodes?: Maybe<Array<BroadcastMessageStatus>>;
|
|
471
|
+
pageInfo?: Maybe<PageInfo>;
|
|
472
|
+
};
|
|
423
473
|
/** BroadcastPatchInput is an input of the broadcast patch mutation. */
|
|
424
474
|
export type BroadcastPatchInput = {
|
|
425
475
|
/** The stage of the clients that will receive the broadcast. (Used to target a specific stage of clients) */
|
|
@@ -529,6 +579,8 @@ export type BulkImportContactsJobStatus = {
|
|
|
529
579
|
error?: Maybe<Scalars['String']['output']>;
|
|
530
580
|
/** Number of rows with errors (only available when status is completed or failed). */
|
|
531
581
|
errors?: Maybe<Scalars['Int']['output']>;
|
|
582
|
+
/** Number of rows processed so far (success + errors + skipped). Available while the job is processing. */
|
|
583
|
+
processedCount?: Maybe<Scalars['Int']['output']>;
|
|
532
584
|
/** Number of rows skipped (only available when status is completed). */
|
|
533
585
|
skipped?: Maybe<Scalars['Int']['output']>;
|
|
534
586
|
/** Timestamp when the job started processing. */
|
|
@@ -537,6 +589,8 @@ export type BulkImportContactsJobStatus = {
|
|
|
537
589
|
status: JobStatus;
|
|
538
590
|
/** Number of clients successfully created (only available when status is completed). */
|
|
539
591
|
success?: Maybe<Scalars['Int']['output']>;
|
|
592
|
+
/** Total number of rows in the CSV file. Available once the job starts processing. */
|
|
593
|
+
totalCount?: Maybe<Scalars['Int']['output']>;
|
|
540
594
|
/** Total number of rows processed (only available when status is completed or failed). */
|
|
541
595
|
totalProcessed?: Maybe<Scalars['Int']['output']>;
|
|
542
596
|
};
|
|
@@ -568,6 +622,8 @@ export type Client = {
|
|
|
568
622
|
createdAt: Scalars['DateTime']['output'];
|
|
569
623
|
/** The default agent id to auto-assign new conversations started by this client (when integration auto assignment is enabled). */
|
|
570
624
|
defaultAgentId?: Maybe<Scalars['ID']['output']>;
|
|
625
|
+
/** The date and time when the client was deleted (archive date). */
|
|
626
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
571
627
|
/** The email of the client. It can be modified by the user. */
|
|
572
628
|
email?: Maybe<Scalars['String']['output']>;
|
|
573
629
|
/** The external client id of the client (The id of the client in the external system, it will be the phone number in case of WhatsApp integration). */
|
|
@@ -611,8 +667,11 @@ export type ClientCreateInput = {
|
|
|
611
667
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
612
668
|
/** The phone of the client. */
|
|
613
669
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
670
|
+
/** The stage of the client. */
|
|
671
|
+
stage?: InputMaybe<Scalars['String']['input']>;
|
|
614
672
|
/** The surname of the client. */
|
|
615
673
|
surname?: InputMaybe<Scalars['String']['input']>;
|
|
674
|
+
/** The tags of the client. */
|
|
616
675
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
617
676
|
workspaceId: Scalars['Int']['input'];
|
|
618
677
|
};
|
|
@@ -699,6 +758,8 @@ export type ClientsInput = {
|
|
|
699
758
|
email?: InputMaybe<Scalars['String']['input']>;
|
|
700
759
|
/** The external client id of the client. Used to filter the clients by the external client id. */
|
|
701
760
|
externalClientId?: InputMaybe<Scalars['String']['input']>;
|
|
761
|
+
/** If true, only return deleted clients. If false or not provided, only return non-deleted clients. */
|
|
762
|
+
isDeleted?: InputMaybe<Scalars['Boolean']['input']>;
|
|
702
763
|
/** The name of the client. Used to filter the clients by the name. */
|
|
703
764
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
704
765
|
/** The phone of the client. Used to filter the clients by the phone. */
|
|
@@ -1412,6 +1473,11 @@ export type Mutation = {
|
|
|
1412
1473
|
bulkImportContacts: BulkImportContactsResult;
|
|
1413
1474
|
/** Bulk patch tags. You should have the MANAGE_WORKSPACE permission to bulk patch tags. */
|
|
1414
1475
|
bulkPatchTags: Scalars['Boolean']['output'];
|
|
1476
|
+
/**
|
|
1477
|
+
* Cancel a scheduled broadcast that hasn't started yet (scheduled -> draft).
|
|
1478
|
+
* You should have the MANAGE_CONVS permission to cancel a broadcast.
|
|
1479
|
+
*/
|
|
1480
|
+
cancelBroadcast: Broadcast;
|
|
1415
1481
|
/** Create an agent. You should have the MANAGE_WORKSPACE permission to create an agent. */
|
|
1416
1482
|
createAgent: Agent;
|
|
1417
1483
|
createAi: Ai;
|
|
@@ -1482,6 +1548,10 @@ export type Mutation = {
|
|
|
1482
1548
|
tagConv: Conversation;
|
|
1483
1549
|
/** Tag a message. */
|
|
1484
1550
|
tagMessage: Message;
|
|
1551
|
+
/** Undelete a client by id. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
1552
|
+
undeleteClient: Client;
|
|
1553
|
+
/** Undelete a client by externalClientId. You should have the MANAGE_CLIENTS permission to undelete a client. */
|
|
1554
|
+
undeleteClientByExternalId: Client;
|
|
1485
1555
|
/** Untag a client. You should have the MANAGE_CLIENTS permission to untag a client. */
|
|
1486
1556
|
untagClient: Client;
|
|
1487
1557
|
/** Untag a conversation. */
|
|
@@ -1507,6 +1577,9 @@ export type MutationBulkImportContactsArgs = {
|
|
|
1507
1577
|
export type MutationBulkPatchTagsArgs = {
|
|
1508
1578
|
input: TagBulkPatchInput;
|
|
1509
1579
|
};
|
|
1580
|
+
export type MutationCancelBroadcastArgs = {
|
|
1581
|
+
input: BroadcastCancelInput;
|
|
1582
|
+
};
|
|
1510
1583
|
export type MutationCreateAgentArgs = {
|
|
1511
1584
|
input: AgentCreateInput;
|
|
1512
1585
|
};
|
|
@@ -1618,6 +1691,12 @@ export type MutationTagConvArgs = {
|
|
|
1618
1691
|
export type MutationTagMessageArgs = {
|
|
1619
1692
|
input: MessageTagInput;
|
|
1620
1693
|
};
|
|
1694
|
+
export type MutationUndeleteClientArgs = {
|
|
1695
|
+
input: ClientInput;
|
|
1696
|
+
};
|
|
1697
|
+
export type MutationUndeleteClientByExternalIdArgs = {
|
|
1698
|
+
input: ClientDeleteByExternalIdInput;
|
|
1699
|
+
};
|
|
1621
1700
|
export type MutationUntagClientArgs = {
|
|
1622
1701
|
input: ClientTagInput;
|
|
1623
1702
|
};
|
|
@@ -1648,6 +1727,14 @@ export declare const NoteType: {
|
|
|
1648
1727
|
readonly UNTAG: "UNTAG";
|
|
1649
1728
|
};
|
|
1650
1729
|
export type NoteType = typeof NoteType[keyof typeof NoteType];
|
|
1730
|
+
/** OpenConversationsNeedResponseInput is an input for counting open conversations that need a response. */
|
|
1731
|
+
export type OpenConversationsNeedResponseInput = {
|
|
1732
|
+
/** The assignee id of the conversation. Used to filter the conversations by the assignee id. */
|
|
1733
|
+
assigneeId?: InputMaybe<Scalars['ID']['input']>;
|
|
1734
|
+
/** The integration/channel id of the conversation. Used to filter the conversations by the integration/channel id. */
|
|
1735
|
+
integrationId?: InputMaybe<Scalars['ID']['input']>;
|
|
1736
|
+
workspaceId: Scalars['Int']['input'];
|
|
1737
|
+
};
|
|
1651
1738
|
/** PageInfo is a type for the page info. It is used to paginate the results. */
|
|
1652
1739
|
export type PageInfo = {
|
|
1653
1740
|
__typename?: 'PageInfo';
|
|
@@ -1679,6 +1766,28 @@ export declare const Permission: {
|
|
|
1679
1766
|
readonly MANAGE_WORKSPACE: "MANAGE_WORKSPACE";
|
|
1680
1767
|
};
|
|
1681
1768
|
export type Permission = typeof Permission[keyof typeof Permission];
|
|
1769
|
+
/** Plan represents a subscription plan. */
|
|
1770
|
+
export type Plan = {
|
|
1771
|
+
__typename?: 'Plan';
|
|
1772
|
+
broadcastMessageCount: Scalars['Int']['output'];
|
|
1773
|
+
convCount: Scalars['Int']['output'];
|
|
1774
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1775
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1776
|
+
id: Scalars['Int']['output'];
|
|
1777
|
+
isBroadcast80PercentUsed?: Maybe<Scalars['Boolean']['output']>;
|
|
1778
|
+
isBroadcast100PercentUsed?: Maybe<Scalars['Boolean']['output']>;
|
|
1779
|
+
isBroadcastUsed?: Maybe<Scalars['Boolean']['output']>;
|
|
1780
|
+
isConv80PercentUsed?: Maybe<Scalars['Boolean']['output']>;
|
|
1781
|
+
isConv100PercentUsed?: Maybe<Scalars['Boolean']['output']>;
|
|
1782
|
+
isConvUsed?: Maybe<Scalars['Boolean']['output']>;
|
|
1783
|
+
lastUseDate?: Maybe<Scalars['DateTime']['output']>;
|
|
1784
|
+
monthlyPrice: Scalars['Float']['output'];
|
|
1785
|
+
planType: Scalars['String']['output'];
|
|
1786
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1787
|
+
userCount: Scalars['Int']['output'];
|
|
1788
|
+
userId: Scalars['Int']['output'];
|
|
1789
|
+
yearlyPrice: Scalars['Float']['output'];
|
|
1790
|
+
};
|
|
1682
1791
|
export type Query = {
|
|
1683
1792
|
__typename?: 'Query';
|
|
1684
1793
|
/** Get an agent. */
|
|
@@ -1695,6 +1804,8 @@ export type Query = {
|
|
|
1695
1804
|
broadcast: Broadcast;
|
|
1696
1805
|
/** Get delivery report of a broadcast. You should have the MANAGE_CONVS permission to get broadcast delivery report. */
|
|
1697
1806
|
broadcastDeliveryReport: BroadcastDeliveryReport;
|
|
1807
|
+
/** Get broadcast message statuses with client information. You should have the MANAGE_CONVS permission to get broadcast message statuses. */
|
|
1808
|
+
broadcastMessageStatuses: BroadcastMessageStatusesPayload;
|
|
1698
1809
|
/** Get the count of broadcasts grouped by state. You should have the MANAGE_CONVS permission to get the counts. */
|
|
1699
1810
|
broadcastStateCounts: Array<BroadcastStateCount>;
|
|
1700
1811
|
/** Get the broadcasts. You should have the MANAGE_CONVS permission to get the broadcasts. */
|
|
@@ -1711,6 +1822,8 @@ export type Query = {
|
|
|
1711
1822
|
convs: ConvsPayload;
|
|
1712
1823
|
/** Get the conversations report. You should have the MANAGE_CONVS permission to get the conversations report. */
|
|
1713
1824
|
convsReport: ConvsReportPayload;
|
|
1825
|
+
/** Get the current authenticated user's details. */
|
|
1826
|
+
currentUser: User;
|
|
1714
1827
|
hello: HelloMessage;
|
|
1715
1828
|
/** Get an integration. */
|
|
1716
1829
|
integration: Integration;
|
|
@@ -1719,9 +1832,17 @@ export type Query = {
|
|
|
1719
1832
|
me: UserRole;
|
|
1720
1833
|
/** Get the messages of a conversation. */
|
|
1721
1834
|
messages: MessagesPayload;
|
|
1835
|
+
/** Get the count of open conversations that have recent client messages (conversations that need a response). */
|
|
1836
|
+
openConversationsNeedResponseCount: Scalars['Int']['output'];
|
|
1722
1837
|
sources: SourcesPayload;
|
|
1838
|
+
/** Get the current subscription for a workspace. */
|
|
1839
|
+
subscription: SubscriptionPlan;
|
|
1723
1840
|
/** Get tags. */
|
|
1724
1841
|
tags: TagsPayload;
|
|
1842
|
+
/** Get token usage logs with pagination. */
|
|
1843
|
+
tokenUsageLogs: TokenUsageLogsPayload;
|
|
1844
|
+
/** Get total token usage between two dates. */
|
|
1845
|
+
tokenUsageTotal: TokenUsageTotal;
|
|
1725
1846
|
/** Get the upload signature which can be used to upload a file to the cloud storage. */
|
|
1726
1847
|
uploadSignature: UploadSignatureResult;
|
|
1727
1848
|
usersRoles: UsersRolesPayload;
|
|
@@ -1734,6 +1855,8 @@ export type Query = {
|
|
|
1734
1855
|
webhooks: WebhooksPayload;
|
|
1735
1856
|
/** Get workspace settings. */
|
|
1736
1857
|
workspaceSettings?: Maybe<WorkspaceSettings>;
|
|
1858
|
+
/** Get workspaces with pagination and filters. */
|
|
1859
|
+
workspaces: WorkspacesPayload;
|
|
1737
1860
|
};
|
|
1738
1861
|
export type QueryAgentArgs = {
|
|
1739
1862
|
input: AgentInput;
|
|
@@ -1761,6 +1884,10 @@ export type QueryBroadcastArgs = {
|
|
|
1761
1884
|
export type QueryBroadcastDeliveryReportArgs = {
|
|
1762
1885
|
input: BroadcastDeliveryReportInput;
|
|
1763
1886
|
};
|
|
1887
|
+
export type QueryBroadcastMessageStatusesArgs = {
|
|
1888
|
+
input: BroadcastMessageStatusesInput;
|
|
1889
|
+
pageInfo?: InputMaybe<PageInfoInput>;
|
|
1890
|
+
};
|
|
1764
1891
|
export type QueryBroadcastStateCountsArgs = {
|
|
1765
1892
|
input: BroadcastsInput;
|
|
1766
1893
|
};
|
|
@@ -1801,12 +1928,25 @@ export type QueryMessagesArgs = {
|
|
|
1801
1928
|
input: MessagesInput;
|
|
1802
1929
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
1803
1930
|
};
|
|
1931
|
+
export type QueryOpenConversationsNeedResponseCountArgs = {
|
|
1932
|
+
input: OpenConversationsNeedResponseInput;
|
|
1933
|
+
};
|
|
1804
1934
|
export type QuerySourcesArgs = {
|
|
1805
1935
|
input: SourcesInput;
|
|
1806
1936
|
};
|
|
1937
|
+
export type QuerySubscriptionArgs = {
|
|
1938
|
+
input: SubscriptionInput;
|
|
1939
|
+
};
|
|
1807
1940
|
export type QueryTagsArgs = {
|
|
1808
1941
|
input: TagsInput;
|
|
1809
1942
|
};
|
|
1943
|
+
export type QueryTokenUsageLogsArgs = {
|
|
1944
|
+
input: TokenUsageLogsInput;
|
|
1945
|
+
pageInfo?: InputMaybe<PageInfoInput>;
|
|
1946
|
+
};
|
|
1947
|
+
export type QueryTokenUsageTotalArgs = {
|
|
1948
|
+
input: TokenUsageTotalInput;
|
|
1949
|
+
};
|
|
1810
1950
|
export type QueryUploadSignatureArgs = {
|
|
1811
1951
|
input: InputUploadSignature;
|
|
1812
1952
|
};
|
|
@@ -1829,6 +1969,10 @@ export type QueryWebhooksArgs = {
|
|
|
1829
1969
|
export type QueryWorkspaceSettingsArgs = {
|
|
1830
1970
|
input: WorkspaceSettingsInput;
|
|
1831
1971
|
};
|
|
1972
|
+
export type QueryWorkspacesArgs = {
|
|
1973
|
+
input: WorkspacesInput;
|
|
1974
|
+
pageInfo?: InputMaybe<PageInfoInput>;
|
|
1975
|
+
};
|
|
1832
1976
|
export declare const Role: {
|
|
1833
1977
|
readonly ADMIN: "ADMIN";
|
|
1834
1978
|
readonly AGENT: "AGENT";
|
|
@@ -1956,6 +2100,39 @@ export type StatusUpdateDto = {
|
|
|
1956
2100
|
traceId?: Maybe<Scalars['String']['output']>;
|
|
1957
2101
|
workspaceId: Scalars['Int']['output'];
|
|
1958
2102
|
};
|
|
2103
|
+
/** SubscriptionInput is an input for the subscription query. */
|
|
2104
|
+
export type SubscriptionInput = {
|
|
2105
|
+
workspaceId: Scalars['Int']['input'];
|
|
2106
|
+
};
|
|
2107
|
+
/** SubscriptionPlan represents a user's subscription to a plan. */
|
|
2108
|
+
export type SubscriptionPlan = {
|
|
2109
|
+
__typename?: 'SubscriptionPlan';
|
|
2110
|
+
accountDiscountPercentage: Scalars['Int']['output'];
|
|
2111
|
+
accountManagerId?: Maybe<Scalars['Int']['output']>;
|
|
2112
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2113
|
+
customizable: Scalars['Boolean']['output'];
|
|
2114
|
+
endDate: Scalars['DateTime']['output'];
|
|
2115
|
+
failedPaymentTimes: Scalars['Int']['output'];
|
|
2116
|
+
freeCredits: Scalars['Float']['output'];
|
|
2117
|
+
id: Scalars['Int']['output'];
|
|
2118
|
+
isUsed?: Maybe<Scalars['Boolean']['output']>;
|
|
2119
|
+
lastPausedDate?: Maybe<Scalars['DateTime']['output']>;
|
|
2120
|
+
paused: Scalars['Boolean']['output'];
|
|
2121
|
+
paymentMethodId?: Maybe<Scalars['Int']['output']>;
|
|
2122
|
+
plan?: Maybe<Plan>;
|
|
2123
|
+
planId: Scalars['Int']['output'];
|
|
2124
|
+
promoType?: Maybe<Scalars['String']['output']>;
|
|
2125
|
+
promoValue?: Maybe<Scalars['Float']['output']>;
|
|
2126
|
+
reactivationDate?: Maybe<Scalars['DateTime']['output']>;
|
|
2127
|
+
reactivationPeriodLeft?: Maybe<Scalars['BigInt']['output']>;
|
|
2128
|
+
renewalInProgress: Scalars['Boolean']['output'];
|
|
2129
|
+
renewalsPaid: Scalars['Int']['output'];
|
|
2130
|
+
startDate: Scalars['DateTime']['output'];
|
|
2131
|
+
term: Scalars['String']['output'];
|
|
2132
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2133
|
+
updatingPaymentTries: Scalars['Int']['output'];
|
|
2134
|
+
workspaceId: Scalars['Int']['output'];
|
|
2135
|
+
};
|
|
1959
2136
|
export type Tag = {
|
|
1960
2137
|
__typename?: 'Tag';
|
|
1961
2138
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -2011,10 +2188,66 @@ export declare const TemplateState: {
|
|
|
2011
2188
|
readonly PENDING: "PENDING";
|
|
2012
2189
|
};
|
|
2013
2190
|
export type TemplateState = typeof TemplateState[keyof typeof TemplateState];
|
|
2191
|
+
export type TokenUsageLog = {
|
|
2192
|
+
__typename?: 'TokenUsageLog';
|
|
2193
|
+
aiId?: Maybe<Scalars['ID']['output']>;
|
|
2194
|
+
cachedInputTokens?: Maybe<Scalars['Int']['output']>;
|
|
2195
|
+
clientId?: Maybe<Scalars['ID']['output']>;
|
|
2196
|
+
conversationId?: Maybe<Scalars['ID']['output']>;
|
|
2197
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2198
|
+
id: Scalars['ID']['output'];
|
|
2199
|
+
inputTokens: Scalars['Int']['output'];
|
|
2200
|
+
messageId?: Maybe<Scalars['ID']['output']>;
|
|
2201
|
+
outputTokens: Scalars['Int']['output'];
|
|
2202
|
+
reasoningTokens?: Maybe<Scalars['Int']['output']>;
|
|
2203
|
+
totalTokens: Scalars['Int']['output'];
|
|
2204
|
+
workspaceId: Scalars['Int']['output'];
|
|
2205
|
+
};
|
|
2206
|
+
export type TokenUsageLogsInput = {
|
|
2207
|
+
aiId?: InputMaybe<Scalars['ID']['input']>;
|
|
2208
|
+
clientId?: InputMaybe<Scalars['ID']['input']>;
|
|
2209
|
+
conversationId?: InputMaybe<Scalars['ID']['input']>;
|
|
2210
|
+
endDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2211
|
+
messageId?: InputMaybe<Scalars['ID']['input']>;
|
|
2212
|
+
startDate?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2213
|
+
workspaceId: Scalars['Int']['input'];
|
|
2214
|
+
};
|
|
2215
|
+
export type TokenUsageLogsPayload = {
|
|
2216
|
+
__typename?: 'TokenUsageLogsPayload';
|
|
2217
|
+
nodes?: Maybe<Array<TokenUsageLog>>;
|
|
2218
|
+
pageInfo: PageInfo;
|
|
2219
|
+
};
|
|
2220
|
+
export type TokenUsageTotal = {
|
|
2221
|
+
__typename?: 'TokenUsageTotal';
|
|
2222
|
+
totalCachedInputTokens: Scalars['Int']['output'];
|
|
2223
|
+
totalInputTokens: Scalars['Int']['output'];
|
|
2224
|
+
totalOutputTokens: Scalars['Int']['output'];
|
|
2225
|
+
totalReasoningTokens: Scalars['Int']['output'];
|
|
2226
|
+
totalTokens: Scalars['Int']['output'];
|
|
2227
|
+
workspaceId: Scalars['Int']['output'];
|
|
2228
|
+
};
|
|
2229
|
+
export type TokenUsageTotalInput = {
|
|
2230
|
+
aiId?: InputMaybe<Scalars['ID']['input']>;
|
|
2231
|
+
conversationId?: InputMaybe<Scalars['ID']['input']>;
|
|
2232
|
+
endDate: Scalars['DateTime']['input'];
|
|
2233
|
+
startDate: Scalars['DateTime']['input'];
|
|
2234
|
+
workspaceId: Scalars['Int']['input'];
|
|
2235
|
+
};
|
|
2014
2236
|
export type UploadSignatureResult = {
|
|
2015
2237
|
__typename?: 'UploadSignatureResult';
|
|
2016
2238
|
sas: Scalars['String']['output'];
|
|
2017
2239
|
};
|
|
2240
|
+
/** User represents the current authenticated user in the system. */
|
|
2241
|
+
export type User = {
|
|
2242
|
+
__typename?: 'User';
|
|
2243
|
+
accessFailedCount?: Maybe<Scalars['Int']['output']>;
|
|
2244
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
2245
|
+
id: Scalars['String']['output'];
|
|
2246
|
+
name: Scalars['String']['output'];
|
|
2247
|
+
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
2248
|
+
type: Scalars['String']['output'];
|
|
2249
|
+
userName?: Maybe<Scalars['String']['output']>;
|
|
2250
|
+
};
|
|
2018
2251
|
export type UserInput = {
|
|
2019
2252
|
message: Scalars['String']['input'];
|
|
2020
2253
|
};
|
|
@@ -2110,6 +2343,26 @@ export type WebhooksPayload = {
|
|
|
2110
2343
|
nodes?: Maybe<Array<Webhook>>;
|
|
2111
2344
|
pageInfo?: Maybe<PageInfo>;
|
|
2112
2345
|
};
|
|
2346
|
+
/** Workspace represents a workspace in the system. */
|
|
2347
|
+
export type Workspace = {
|
|
2348
|
+
__typename?: 'Workspace';
|
|
2349
|
+
accountId?: Maybe<Scalars['String']['output']>;
|
|
2350
|
+
address?: Maybe<Scalars['String']['output']>;
|
|
2351
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
2352
|
+
companyUserId?: Maybe<Scalars['Int']['output']>;
|
|
2353
|
+
contactPersonEmail?: Maybe<Scalars['String']['output']>;
|
|
2354
|
+
contactPersonName?: Maybe<Scalars['String']['output']>;
|
|
2355
|
+
contactPersonPhoneNumber?: Maybe<Scalars['String']['output']>;
|
|
2356
|
+
country?: Maybe<Scalars['String']['output']>;
|
|
2357
|
+
createDate: Scalars['DateTime']['output'];
|
|
2358
|
+
id: Scalars['Int']['output'];
|
|
2359
|
+
name: Scalars['String']['output'];
|
|
2360
|
+
phoneNumber?: Maybe<Scalars['String']['output']>;
|
|
2361
|
+
subscriptionType?: Maybe<Scalars['String']['output']>;
|
|
2362
|
+
taxNumber?: Maybe<Scalars['String']['output']>;
|
|
2363
|
+
taxOffice?: Maybe<Scalars['String']['output']>;
|
|
2364
|
+
website?: Maybe<Scalars['String']['output']>;
|
|
2365
|
+
};
|
|
2113
2366
|
/** WorkspaceSettings represents configuration options for a workspace. */
|
|
2114
2367
|
export type WorkspaceSettings = {
|
|
2115
2368
|
__typename?: 'WorkspaceSettings';
|
|
@@ -2151,6 +2404,25 @@ export type WorkspaceTestNumberInput = {
|
|
|
2151
2404
|
/** Phone number to use for testing. */
|
|
2152
2405
|
phone: Scalars['String']['input'];
|
|
2153
2406
|
};
|
|
2407
|
+
/** WorkspacesInput is an input of the workspaces query. */
|
|
2408
|
+
export type WorkspacesInput = {
|
|
2409
|
+
/** The account ID of the workspace. Used to filter workspaces by account ID (exact match). */
|
|
2410
|
+
accountId?: InputMaybe<Scalars['String']['input']>;
|
|
2411
|
+
/** The city of the workspace. Used to filter workspaces by city (case-insensitive partial match). */
|
|
2412
|
+
city?: InputMaybe<Scalars['String']['input']>;
|
|
2413
|
+
/** The country of the workspace. Used to filter workspaces by country (case-insensitive partial match). */
|
|
2414
|
+
country?: InputMaybe<Scalars['String']['input']>;
|
|
2415
|
+
/** The name of the workspace. Used to filter workspaces by name (case-insensitive partial match). */
|
|
2416
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
2417
|
+
/** The subscription type of the workspace. Used to filter workspaces by subscription type. */
|
|
2418
|
+
subscriptionType?: InputMaybe<Scalars['String']['input']>;
|
|
2419
|
+
};
|
|
2420
|
+
/** WorkspacesPayload is a payload of the workspaces query. */
|
|
2421
|
+
export type WorkspacesPayload = {
|
|
2422
|
+
__typename?: 'WorkspacesPayload';
|
|
2423
|
+
nodes: Array<Workspace>;
|
|
2424
|
+
pageInfo: PageInfo;
|
|
2425
|
+
};
|
|
2154
2426
|
export type CreateSourceMutationVariables = Exact<{
|
|
2155
2427
|
input: SourceCreateInput;
|
|
2156
2428
|
}>;
|
|
@@ -2199,6 +2471,62 @@ export type SourcesQuery = {
|
|
|
2199
2471
|
}> | null;
|
|
2200
2472
|
};
|
|
2201
2473
|
};
|
|
2474
|
+
export type TokenUsageLogsQueryVariables = Exact<{
|
|
2475
|
+
input: TokenUsageLogsInput;
|
|
2476
|
+
pageInfo?: InputMaybe<PageInfoInput>;
|
|
2477
|
+
}>;
|
|
2478
|
+
export type TokenUsageLogsQuery = {
|
|
2479
|
+
__typename?: 'Query';
|
|
2480
|
+
tokenUsageLogs: {
|
|
2481
|
+
__typename?: 'TokenUsageLogsPayload';
|
|
2482
|
+
nodes?: Array<{
|
|
2483
|
+
__typename?: 'TokenUsageLog';
|
|
2484
|
+
workspaceId: number;
|
|
2485
|
+
id: string;
|
|
2486
|
+
aiId?: string | null;
|
|
2487
|
+
conversationId?: string | null;
|
|
2488
|
+
clientId?: string | null;
|
|
2489
|
+
messageId?: string | null;
|
|
2490
|
+
inputTokens: number;
|
|
2491
|
+
outputTokens: number;
|
|
2492
|
+
totalTokens: number;
|
|
2493
|
+
reasoningTokens?: number | null;
|
|
2494
|
+
cachedInputTokens?: number | null;
|
|
2495
|
+
createdAt: any;
|
|
2496
|
+
}> | null;
|
|
2497
|
+
pageInfo: {
|
|
2498
|
+
__typename?: 'PageInfo';
|
|
2499
|
+
hasNextPage: boolean;
|
|
2500
|
+
endCursor?: any | null;
|
|
2501
|
+
count?: number | null;
|
|
2502
|
+
};
|
|
2503
|
+
};
|
|
2504
|
+
};
|
|
2505
|
+
export type TokenUsageTotalQueryVariables = Exact<{
|
|
2506
|
+
input: TokenUsageTotalInput;
|
|
2507
|
+
}>;
|
|
2508
|
+
export type TokenUsageTotalQuery = {
|
|
2509
|
+
__typename?: 'Query';
|
|
2510
|
+
tokenUsageTotal: {
|
|
2511
|
+
__typename?: 'TokenUsageTotal';
|
|
2512
|
+
workspaceId: number;
|
|
2513
|
+
totalInputTokens: number;
|
|
2514
|
+
totalOutputTokens: number;
|
|
2515
|
+
totalTokens: number;
|
|
2516
|
+
totalReasoningTokens: number;
|
|
2517
|
+
totalCachedInputTokens: number;
|
|
2518
|
+
};
|
|
2519
|
+
};
|
|
2520
|
+
export type UserFragment = {
|
|
2521
|
+
__typename?: 'User';
|
|
2522
|
+
id: string;
|
|
2523
|
+
name: string;
|
|
2524
|
+
email?: string | null;
|
|
2525
|
+
type: string;
|
|
2526
|
+
userName?: string | null;
|
|
2527
|
+
phoneNumber?: string | null;
|
|
2528
|
+
accessFailedCount?: number | null;
|
|
2529
|
+
};
|
|
2202
2530
|
export type UserRoleFragment = {
|
|
2203
2531
|
__typename?: 'UserRole';
|
|
2204
2532
|
workspaceId: number;
|
|
@@ -2238,6 +2566,22 @@ export type AssignUserRoleMutation = {
|
|
|
2238
2566
|
createdAt: any;
|
|
2239
2567
|
};
|
|
2240
2568
|
};
|
|
2569
|
+
export type CurrentUserQueryVariables = Exact<{
|
|
2570
|
+
[key: string]: never;
|
|
2571
|
+
}>;
|
|
2572
|
+
export type CurrentUserQuery = {
|
|
2573
|
+
__typename?: 'Query';
|
|
2574
|
+
currentUser: {
|
|
2575
|
+
__typename?: 'User';
|
|
2576
|
+
id: string;
|
|
2577
|
+
name: string;
|
|
2578
|
+
email?: string | null;
|
|
2579
|
+
type: string;
|
|
2580
|
+
userName?: string | null;
|
|
2581
|
+
phoneNumber?: string | null;
|
|
2582
|
+
accessFailedCount?: number | null;
|
|
2583
|
+
};
|
|
2584
|
+
};
|
|
2241
2585
|
export type InitWorkspaceMutationVariables = Exact<{
|
|
2242
2586
|
input: InputInitWorkspace;
|
|
2243
2587
|
}>;
|
|
@@ -2419,6 +2763,7 @@ export type ClientFragment = {
|
|
|
2419
2763
|
createdAt: any;
|
|
2420
2764
|
stageId?: string | null;
|
|
2421
2765
|
defaultAgentId?: string | null;
|
|
2766
|
+
deletedAt?: any | null;
|
|
2422
2767
|
};
|
|
2423
2768
|
export type ConversationFragment = {
|
|
2424
2769
|
__typename?: 'Conversation';
|
|
@@ -2706,6 +3051,35 @@ export type BroadcastDeliveryReportQuery = {
|
|
|
2706
3051
|
}> | null;
|
|
2707
3052
|
};
|
|
2708
3053
|
};
|
|
3054
|
+
export type BroadcastMessageStatusesQueryVariables = Exact<{
|
|
3055
|
+
input: BroadcastMessageStatusesInput;
|
|
3056
|
+
pageInfo?: InputMaybe<PageInfoInput>;
|
|
3057
|
+
}>;
|
|
3058
|
+
export type BroadcastMessageStatusesQuery = {
|
|
3059
|
+
__typename?: 'Query';
|
|
3060
|
+
broadcastMessageStatuses: {
|
|
3061
|
+
__typename?: 'BroadcastMessageStatusesPayload';
|
|
3062
|
+
nodes?: Array<{
|
|
3063
|
+
__typename?: 'BroadcastMessageStatus';
|
|
3064
|
+
messageId: string;
|
|
3065
|
+
clientName?: string | null;
|
|
3066
|
+
clientPhone?: string | null;
|
|
3067
|
+
clientEmail?: string | null;
|
|
3068
|
+
clientCountry?: string | null;
|
|
3069
|
+
clientTags?: Array<string> | null;
|
|
3070
|
+
clientLifecycle?: string | null;
|
|
3071
|
+
status?: MessageStatus | null;
|
|
3072
|
+
failureReason?: string | null;
|
|
3073
|
+
createdAt: any;
|
|
3074
|
+
}> | null;
|
|
3075
|
+
pageInfo?: {
|
|
3076
|
+
__typename?: 'PageInfo';
|
|
3077
|
+
hasNextPage: boolean;
|
|
3078
|
+
endCursor?: any | null;
|
|
3079
|
+
count?: number | null;
|
|
3080
|
+
} | null;
|
|
3081
|
+
};
|
|
3082
|
+
};
|
|
2709
3083
|
export type BroadcastStateCountsQueryVariables = Exact<{
|
|
2710
3084
|
input: BroadcastsInput;
|
|
2711
3085
|
}>;
|
|
@@ -2775,12 +3149,41 @@ export type BulkImportContactsJobStatusQuery = {
|
|
|
2775
3149
|
startedAt?: any | null;
|
|
2776
3150
|
completedAt?: any | null;
|
|
2777
3151
|
error?: string | null;
|
|
3152
|
+
processedCount?: number | null;
|
|
3153
|
+
totalCount?: number | null;
|
|
2778
3154
|
totalProcessed?: number | null;
|
|
2779
3155
|
success?: number | null;
|
|
2780
3156
|
errors?: number | null;
|
|
2781
3157
|
skipped?: number | null;
|
|
2782
3158
|
} | null;
|
|
2783
3159
|
};
|
|
3160
|
+
export type CancelBroadcastMutationVariables = Exact<{
|
|
3161
|
+
input: BroadcastCancelInput;
|
|
3162
|
+
}>;
|
|
3163
|
+
export type CancelBroadcastMutation = {
|
|
3164
|
+
__typename?: 'Mutation';
|
|
3165
|
+
cancelBroadcast: {
|
|
3166
|
+
__typename?: 'Broadcast';
|
|
3167
|
+
workspaceId: number;
|
|
3168
|
+
id: string;
|
|
3169
|
+
name: string;
|
|
3170
|
+
integrationId: string;
|
|
3171
|
+
state: BroadcastState;
|
|
3172
|
+
clientTags?: Array<string> | null;
|
|
3173
|
+
clientStageId?: string | null;
|
|
3174
|
+
templateName: string;
|
|
3175
|
+
templateLang?: string | null;
|
|
3176
|
+
country?: string | null;
|
|
3177
|
+
templateComponents?: any | null;
|
|
3178
|
+
createdAt: any;
|
|
3179
|
+
scheduledAt?: any | null;
|
|
3180
|
+
startedAt?: any | null;
|
|
3181
|
+
completedAt?: any | null;
|
|
3182
|
+
totalCount?: number | null;
|
|
3183
|
+
failedCount?: number | null;
|
|
3184
|
+
error?: string | null;
|
|
3185
|
+
};
|
|
3186
|
+
};
|
|
2784
3187
|
export type ClientQueryVariables = Exact<{
|
|
2785
3188
|
input: ClientInput;
|
|
2786
3189
|
}>;
|
|
@@ -2803,6 +3206,7 @@ export type ClientQuery = {
|
|
|
2803
3206
|
createdAt: any;
|
|
2804
3207
|
stageId?: string | null;
|
|
2805
3208
|
defaultAgentId?: string | null;
|
|
3209
|
+
deletedAt?: any | null;
|
|
2806
3210
|
};
|
|
2807
3211
|
};
|
|
2808
3212
|
export type ClientByPhoneQueryVariables = Exact<{
|
|
@@ -2827,6 +3231,7 @@ export type ClientByPhoneQuery = {
|
|
|
2827
3231
|
createdAt: any;
|
|
2828
3232
|
stageId?: string | null;
|
|
2829
3233
|
defaultAgentId?: string | null;
|
|
3234
|
+
deletedAt?: any | null;
|
|
2830
3235
|
};
|
|
2831
3236
|
};
|
|
2832
3237
|
export type ClientsQueryVariables = Exact<{
|
|
@@ -2854,6 +3259,7 @@ export type ClientsQuery = {
|
|
|
2854
3259
|
createdAt: any;
|
|
2855
3260
|
stageId?: string | null;
|
|
2856
3261
|
defaultAgentId?: string | null;
|
|
3262
|
+
deletedAt?: any | null;
|
|
2857
3263
|
}> | null;
|
|
2858
3264
|
pageInfo?: {
|
|
2859
3265
|
__typename?: 'PageInfo';
|
|
@@ -2996,6 +3402,7 @@ export type CreateClientMutation = {
|
|
|
2996
3402
|
createdAt: any;
|
|
2997
3403
|
stageId?: string | null;
|
|
2998
3404
|
defaultAgentId?: string | null;
|
|
3405
|
+
deletedAt?: any | null;
|
|
2999
3406
|
};
|
|
3000
3407
|
};
|
|
3001
3408
|
export type DeleteAgentMutationVariables = Exact<{
|
|
@@ -3042,6 +3449,56 @@ export type DeleteBroadcastMutation = {
|
|
|
3042
3449
|
error?: string | null;
|
|
3043
3450
|
};
|
|
3044
3451
|
};
|
|
3452
|
+
export type DeleteClientMutationVariables = Exact<{
|
|
3453
|
+
input: ClientInput;
|
|
3454
|
+
}>;
|
|
3455
|
+
export type DeleteClientMutation = {
|
|
3456
|
+
__typename?: 'Mutation';
|
|
3457
|
+
deleteClient: {
|
|
3458
|
+
__typename?: 'Client';
|
|
3459
|
+
workspaceId: number;
|
|
3460
|
+
id: string;
|
|
3461
|
+
email?: string | null;
|
|
3462
|
+
name?: string | null;
|
|
3463
|
+
surname?: string | null;
|
|
3464
|
+
phone?: string | null;
|
|
3465
|
+
address?: string | null;
|
|
3466
|
+
code?: string | null;
|
|
3467
|
+
city?: string | null;
|
|
3468
|
+
country?: string | null;
|
|
3469
|
+
externalClientId?: string | null;
|
|
3470
|
+
tags?: Array<string> | null;
|
|
3471
|
+
createdAt: any;
|
|
3472
|
+
stageId?: string | null;
|
|
3473
|
+
defaultAgentId?: string | null;
|
|
3474
|
+
deletedAt?: any | null;
|
|
3475
|
+
};
|
|
3476
|
+
};
|
|
3477
|
+
export type DeleteClientByExternalIdMutationVariables = Exact<{
|
|
3478
|
+
input: ClientDeleteByExternalIdInput;
|
|
3479
|
+
}>;
|
|
3480
|
+
export type DeleteClientByExternalIdMutation = {
|
|
3481
|
+
__typename?: 'Mutation';
|
|
3482
|
+
deleteClientByExternalId: {
|
|
3483
|
+
__typename?: 'Client';
|
|
3484
|
+
workspaceId: number;
|
|
3485
|
+
id: string;
|
|
3486
|
+
email?: string | null;
|
|
3487
|
+
name?: string | null;
|
|
3488
|
+
surname?: string | null;
|
|
3489
|
+
phone?: string | null;
|
|
3490
|
+
address?: string | null;
|
|
3491
|
+
code?: string | null;
|
|
3492
|
+
city?: string | null;
|
|
3493
|
+
country?: string | null;
|
|
3494
|
+
externalClientId?: string | null;
|
|
3495
|
+
tags?: Array<string> | null;
|
|
3496
|
+
createdAt: any;
|
|
3497
|
+
stageId?: string | null;
|
|
3498
|
+
defaultAgentId?: string | null;
|
|
3499
|
+
deletedAt?: any | null;
|
|
3500
|
+
};
|
|
3501
|
+
};
|
|
3045
3502
|
export type EndConvMutationVariables = Exact<{
|
|
3046
3503
|
input: ConvEndInput;
|
|
3047
3504
|
}>;
|
|
@@ -3161,6 +3618,13 @@ export type MessagesQuery = {
|
|
|
3161
3618
|
} | null;
|
|
3162
3619
|
};
|
|
3163
3620
|
};
|
|
3621
|
+
export type OpenConversationsNeedResponseCountQueryVariables = Exact<{
|
|
3622
|
+
input: OpenConversationsNeedResponseInput;
|
|
3623
|
+
}>;
|
|
3624
|
+
export type OpenConversationsNeedResponseCountQuery = {
|
|
3625
|
+
__typename?: 'Query';
|
|
3626
|
+
openConversationsNeedResponseCount: number;
|
|
3627
|
+
};
|
|
3164
3628
|
export type PatchAgentMutationVariables = Exact<{
|
|
3165
3629
|
input: AgentPatchInput;
|
|
3166
3630
|
}>;
|
|
@@ -3227,6 +3691,7 @@ export type PatchClientMutation = {
|
|
|
3227
3691
|
createdAt: any;
|
|
3228
3692
|
stageId?: string | null;
|
|
3229
3693
|
defaultAgentId?: string | null;
|
|
3694
|
+
deletedAt?: any | null;
|
|
3230
3695
|
};
|
|
3231
3696
|
};
|
|
3232
3697
|
export type PatchConvMutationVariables = Exact<{
|
|
@@ -3365,6 +3830,7 @@ export type TagClientMutation = {
|
|
|
3365
3830
|
createdAt: any;
|
|
3366
3831
|
stageId?: string | null;
|
|
3367
3832
|
defaultAgentId?: string | null;
|
|
3833
|
+
deletedAt?: any | null;
|
|
3368
3834
|
};
|
|
3369
3835
|
};
|
|
3370
3836
|
export type TagConvMutationVariables = Exact<{
|
|
@@ -3440,6 +3906,56 @@ export type TagsQuery = {
|
|
|
3440
3906
|
}> | null;
|
|
3441
3907
|
};
|
|
3442
3908
|
};
|
|
3909
|
+
export type UndeleteClientMutationVariables = Exact<{
|
|
3910
|
+
input: ClientInput;
|
|
3911
|
+
}>;
|
|
3912
|
+
export type UndeleteClientMutation = {
|
|
3913
|
+
__typename?: 'Mutation';
|
|
3914
|
+
undeleteClient: {
|
|
3915
|
+
__typename?: 'Client';
|
|
3916
|
+
workspaceId: number;
|
|
3917
|
+
id: string;
|
|
3918
|
+
email?: string | null;
|
|
3919
|
+
name?: string | null;
|
|
3920
|
+
surname?: string | null;
|
|
3921
|
+
phone?: string | null;
|
|
3922
|
+
address?: string | null;
|
|
3923
|
+
code?: string | null;
|
|
3924
|
+
city?: string | null;
|
|
3925
|
+
country?: string | null;
|
|
3926
|
+
externalClientId?: string | null;
|
|
3927
|
+
tags?: Array<string> | null;
|
|
3928
|
+
createdAt: any;
|
|
3929
|
+
stageId?: string | null;
|
|
3930
|
+
defaultAgentId?: string | null;
|
|
3931
|
+
deletedAt?: any | null;
|
|
3932
|
+
};
|
|
3933
|
+
};
|
|
3934
|
+
export type UndeleteClientByExternalIdMutationVariables = Exact<{
|
|
3935
|
+
input: ClientDeleteByExternalIdInput;
|
|
3936
|
+
}>;
|
|
3937
|
+
export type UndeleteClientByExternalIdMutation = {
|
|
3938
|
+
__typename?: 'Mutation';
|
|
3939
|
+
undeleteClientByExternalId: {
|
|
3940
|
+
__typename?: 'Client';
|
|
3941
|
+
workspaceId: number;
|
|
3942
|
+
id: string;
|
|
3943
|
+
email?: string | null;
|
|
3944
|
+
name?: string | null;
|
|
3945
|
+
surname?: string | null;
|
|
3946
|
+
phone?: string | null;
|
|
3947
|
+
address?: string | null;
|
|
3948
|
+
code?: string | null;
|
|
3949
|
+
city?: string | null;
|
|
3950
|
+
country?: string | null;
|
|
3951
|
+
externalClientId?: string | null;
|
|
3952
|
+
tags?: Array<string> | null;
|
|
3953
|
+
createdAt: any;
|
|
3954
|
+
stageId?: string | null;
|
|
3955
|
+
defaultAgentId?: string | null;
|
|
3956
|
+
deletedAt?: any | null;
|
|
3957
|
+
};
|
|
3958
|
+
};
|
|
3443
3959
|
export type UntagClientMutationVariables = Exact<{
|
|
3444
3960
|
input: ClientTagInput;
|
|
3445
3961
|
}>;
|
|
@@ -3462,6 +3978,7 @@ export type UntagClientMutation = {
|
|
|
3462
3978
|
createdAt: any;
|
|
3463
3979
|
stageId?: string | null;
|
|
3464
3980
|
defaultAgentId?: string | null;
|
|
3981
|
+
deletedAt?: any | null;
|
|
3465
3982
|
};
|
|
3466
3983
|
};
|
|
3467
3984
|
export type UntagConvMutationVariables = Exact<{
|
|
@@ -3909,6 +4426,25 @@ export type WebhooksQuery = {
|
|
|
3909
4426
|
}> | null;
|
|
3910
4427
|
};
|
|
3911
4428
|
};
|
|
4429
|
+
export type WorkspaceFragment = {
|
|
4430
|
+
__typename?: 'Workspace';
|
|
4431
|
+
id: number;
|
|
4432
|
+
name: string;
|
|
4433
|
+
address?: string | null;
|
|
4434
|
+
city?: string | null;
|
|
4435
|
+
country?: string | null;
|
|
4436
|
+
website?: string | null;
|
|
4437
|
+
companyUserId?: number | null;
|
|
4438
|
+
phoneNumber?: string | null;
|
|
4439
|
+
taxOffice?: string | null;
|
|
4440
|
+
taxNumber?: string | null;
|
|
4441
|
+
contactPersonName?: string | null;
|
|
4442
|
+
contactPersonEmail?: string | null;
|
|
4443
|
+
contactPersonPhoneNumber?: string | null;
|
|
4444
|
+
accountId?: string | null;
|
|
4445
|
+
subscriptionType?: string | null;
|
|
4446
|
+
createDate: any;
|
|
4447
|
+
};
|
|
3912
4448
|
export type WorkspaceSettingsFragment = {
|
|
3913
4449
|
__typename?: 'WorkspaceSettings';
|
|
3914
4450
|
id: string;
|
|
@@ -3954,6 +4490,42 @@ export type WorkspaceSettingsQuery = {
|
|
|
3954
4490
|
}> | null;
|
|
3955
4491
|
} | null;
|
|
3956
4492
|
};
|
|
4493
|
+
export type WorkspacesQueryVariables = Exact<{
|
|
4494
|
+
input: WorkspacesInput;
|
|
4495
|
+
pageInfo?: InputMaybe<PageInfoInput>;
|
|
4496
|
+
}>;
|
|
4497
|
+
export type WorkspacesQuery = {
|
|
4498
|
+
__typename?: 'Query';
|
|
4499
|
+
workspaces: {
|
|
4500
|
+
__typename?: 'WorkspacesPayload';
|
|
4501
|
+
nodes: Array<{
|
|
4502
|
+
__typename?: 'Workspace';
|
|
4503
|
+
id: number;
|
|
4504
|
+
name: string;
|
|
4505
|
+
address?: string | null;
|
|
4506
|
+
city?: string | null;
|
|
4507
|
+
country?: string | null;
|
|
4508
|
+
website?: string | null;
|
|
4509
|
+
companyUserId?: number | null;
|
|
4510
|
+
phoneNumber?: string | null;
|
|
4511
|
+
taxOffice?: string | null;
|
|
4512
|
+
taxNumber?: string | null;
|
|
4513
|
+
contactPersonName?: string | null;
|
|
4514
|
+
contactPersonEmail?: string | null;
|
|
4515
|
+
contactPersonPhoneNumber?: string | null;
|
|
4516
|
+
accountId?: string | null;
|
|
4517
|
+
subscriptionType?: string | null;
|
|
4518
|
+
createDate: any;
|
|
4519
|
+
}>;
|
|
4520
|
+
pageInfo: {
|
|
4521
|
+
__typename?: 'PageInfo';
|
|
4522
|
+
hasNextPage: boolean;
|
|
4523
|
+
endCursor?: any | null;
|
|
4524
|
+
count?: number | null;
|
|
4525
|
+
};
|
|
4526
|
+
};
|
|
4527
|
+
};
|
|
4528
|
+
export declare const UserFragmentDoc: Apollo.DocumentNode;
|
|
3957
4529
|
export declare const UserRoleFragmentDoc: Apollo.DocumentNode;
|
|
3958
4530
|
export declare const AgentReportFragmentDoc: Apollo.DocumentNode;
|
|
3959
4531
|
export declare const ConversationReportFragmentDoc: Apollo.DocumentNode;
|
|
@@ -3970,6 +4542,7 @@ export declare const AiFragmentDoc: Apollo.DocumentNode;
|
|
|
3970
4542
|
export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
|
|
3971
4543
|
export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
|
|
3972
4544
|
export declare const WebhookFragmentDoc: Apollo.DocumentNode;
|
|
4545
|
+
export declare const WorkspaceFragmentDoc: Apollo.DocumentNode;
|
|
3973
4546
|
export declare const WorkspaceSettingsFragmentDoc: Apollo.DocumentNode;
|
|
3974
4547
|
export declare const CreateSourceDocument: Apollo.DocumentNode;
|
|
3975
4548
|
export type CreateSourceMutationFn = Apollo.MutationFunction<CreateSourceMutation, CreateSourceMutationVariables>;
|
|
@@ -4062,6 +4635,93 @@ export declare function refetchSourcesQuery(variables: SourcesQueryVariables): {
|
|
|
4062
4635
|
input: SourcesInput;
|
|
4063
4636
|
}>;
|
|
4064
4637
|
};
|
|
4638
|
+
export declare const TokenUsageLogsDocument: Apollo.DocumentNode;
|
|
4639
|
+
/**
|
|
4640
|
+
* __useTokenUsageLogsQuery__
|
|
4641
|
+
*
|
|
4642
|
+
* To run a query within a React component, call `useTokenUsageLogsQuery` and pass it any options that fit your needs.
|
|
4643
|
+
* When your component renders, `useTokenUsageLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4644
|
+
* you can use to render your UI.
|
|
4645
|
+
*
|
|
4646
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
4647
|
+
*
|
|
4648
|
+
* @example
|
|
4649
|
+
* const { data, loading, error } = useTokenUsageLogsQuery({
|
|
4650
|
+
* variables: {
|
|
4651
|
+
* input: // value for 'input'
|
|
4652
|
+
* pageInfo: // value for 'pageInfo'
|
|
4653
|
+
* },
|
|
4654
|
+
* });
|
|
4655
|
+
*/
|
|
4656
|
+
export declare function useTokenUsageLogsQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables> & ({
|
|
4657
|
+
variables: TokenUsageLogsQueryVariables;
|
|
4658
|
+
skip?: boolean;
|
|
4659
|
+
} | {
|
|
4660
|
+
skip: boolean;
|
|
4661
|
+
})): Apollo.QueryResult<TokenUsageLogsQuery, Exact<{
|
|
4662
|
+
input: TokenUsageLogsInput;
|
|
4663
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
4664
|
+
}>>;
|
|
4665
|
+
export declare function useTokenUsageLogsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageLogsQuery, Exact<{
|
|
4666
|
+
input: TokenUsageLogsInput;
|
|
4667
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
4668
|
+
}>>;
|
|
4669
|
+
export declare function useTokenUsageLogsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageLogsQuery | undefined, Exact<{
|
|
4670
|
+
input: TokenUsageLogsInput;
|
|
4671
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
4672
|
+
}>>;
|
|
4673
|
+
export type TokenUsageLogsQueryHookResult = ReturnType<typeof useTokenUsageLogsQuery>;
|
|
4674
|
+
export type TokenUsageLogsLazyQueryHookResult = ReturnType<typeof useTokenUsageLogsLazyQuery>;
|
|
4675
|
+
export type TokenUsageLogsSuspenseQueryHookResult = ReturnType<typeof useTokenUsageLogsSuspenseQuery>;
|
|
4676
|
+
export type TokenUsageLogsQueryResult = Apollo.QueryResult<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>;
|
|
4677
|
+
export declare function refetchTokenUsageLogsQuery(variables: TokenUsageLogsQueryVariables): {
|
|
4678
|
+
query: Apollo.DocumentNode;
|
|
4679
|
+
variables: Exact<{
|
|
4680
|
+
input: TokenUsageLogsInput;
|
|
4681
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
4682
|
+
}>;
|
|
4683
|
+
};
|
|
4684
|
+
export declare const TokenUsageTotalDocument: Apollo.DocumentNode;
|
|
4685
|
+
/**
|
|
4686
|
+
* __useTokenUsageTotalQuery__
|
|
4687
|
+
*
|
|
4688
|
+
* To run a query within a React component, call `useTokenUsageTotalQuery` and pass it any options that fit your needs.
|
|
4689
|
+
* When your component renders, `useTokenUsageTotalQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4690
|
+
* you can use to render your UI.
|
|
4691
|
+
*
|
|
4692
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
4693
|
+
*
|
|
4694
|
+
* @example
|
|
4695
|
+
* const { data, loading, error } = useTokenUsageTotalQuery({
|
|
4696
|
+
* variables: {
|
|
4697
|
+
* input: // value for 'input'
|
|
4698
|
+
* },
|
|
4699
|
+
* });
|
|
4700
|
+
*/
|
|
4701
|
+
export declare function useTokenUsageTotalQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables> & ({
|
|
4702
|
+
variables: TokenUsageTotalQueryVariables;
|
|
4703
|
+
skip?: boolean;
|
|
4704
|
+
} | {
|
|
4705
|
+
skip: boolean;
|
|
4706
|
+
})): Apollo.QueryResult<TokenUsageTotalQuery, Exact<{
|
|
4707
|
+
input: TokenUsageTotalInput;
|
|
4708
|
+
}>>;
|
|
4709
|
+
export declare function useTokenUsageTotalLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageTotalQuery, Exact<{
|
|
4710
|
+
input: TokenUsageTotalInput;
|
|
4711
|
+
}>>;
|
|
4712
|
+
export declare function useTokenUsageTotalSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageTotalQuery | undefined, Exact<{
|
|
4713
|
+
input: TokenUsageTotalInput;
|
|
4714
|
+
}>>;
|
|
4715
|
+
export type TokenUsageTotalQueryHookResult = ReturnType<typeof useTokenUsageTotalQuery>;
|
|
4716
|
+
export type TokenUsageTotalLazyQueryHookResult = ReturnType<typeof useTokenUsageTotalLazyQuery>;
|
|
4717
|
+
export type TokenUsageTotalSuspenseQueryHookResult = ReturnType<typeof useTokenUsageTotalSuspenseQuery>;
|
|
4718
|
+
export type TokenUsageTotalQueryResult = Apollo.QueryResult<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>;
|
|
4719
|
+
export declare function refetchTokenUsageTotalQuery(variables: TokenUsageTotalQueryVariables): {
|
|
4720
|
+
query: Apollo.DocumentNode;
|
|
4721
|
+
variables: Exact<{
|
|
4722
|
+
input: TokenUsageTotalInput;
|
|
4723
|
+
}>;
|
|
4724
|
+
};
|
|
4065
4725
|
export declare const AssignOwnerDocument: Apollo.DocumentNode;
|
|
4066
4726
|
export type AssignOwnerMutationFn = Apollo.MutationFunction<AssignOwnerMutation, AssignOwnerMutationVariables>;
|
|
4067
4727
|
/**
|
|
@@ -4112,6 +4772,41 @@ export declare function useAssignUserRoleMutation(baseOptions?: Apollo.MutationH
|
|
|
4112
4772
|
export type AssignUserRoleMutationHookResult = ReturnType<typeof useAssignUserRoleMutation>;
|
|
4113
4773
|
export type AssignUserRoleMutationResult = Apollo.MutationResult<AssignUserRoleMutation>;
|
|
4114
4774
|
export type AssignUserRoleMutationOptions = Apollo.BaseMutationOptions<AssignUserRoleMutation, AssignUserRoleMutationVariables>;
|
|
4775
|
+
export declare const CurrentUserDocument: Apollo.DocumentNode;
|
|
4776
|
+
/**
|
|
4777
|
+
* __useCurrentUserQuery__
|
|
4778
|
+
*
|
|
4779
|
+
* To run a query within a React component, call `useCurrentUserQuery` and pass it any options that fit your needs.
|
|
4780
|
+
* When your component renders, `useCurrentUserQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4781
|
+
* you can use to render your UI.
|
|
4782
|
+
*
|
|
4783
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
4784
|
+
*
|
|
4785
|
+
* @example
|
|
4786
|
+
* const { data, loading, error } = useCurrentUserQuery({
|
|
4787
|
+
* variables: {
|
|
4788
|
+
* },
|
|
4789
|
+
* });
|
|
4790
|
+
*/
|
|
4791
|
+
export declare function useCurrentUserQuery(baseOptions?: Apollo.QueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.QueryResult<CurrentUserQuery, Exact<{
|
|
4792
|
+
[key: string]: never;
|
|
4793
|
+
}>>;
|
|
4794
|
+
export declare function useCurrentUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.LazyQueryResultTuple<CurrentUserQuery, Exact<{
|
|
4795
|
+
[key: string]: never;
|
|
4796
|
+
}>>;
|
|
4797
|
+
export declare function useCurrentUserSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.UseSuspenseQueryResult<CurrentUserQuery | undefined, Exact<{
|
|
4798
|
+
[key: string]: never;
|
|
4799
|
+
}>>;
|
|
4800
|
+
export type CurrentUserQueryHookResult = ReturnType<typeof useCurrentUserQuery>;
|
|
4801
|
+
export type CurrentUserLazyQueryHookResult = ReturnType<typeof useCurrentUserLazyQuery>;
|
|
4802
|
+
export type CurrentUserSuspenseQueryHookResult = ReturnType<typeof useCurrentUserSuspenseQuery>;
|
|
4803
|
+
export type CurrentUserQueryResult = Apollo.QueryResult<CurrentUserQuery, CurrentUserQueryVariables>;
|
|
4804
|
+
export declare function refetchCurrentUserQuery(variables?: CurrentUserQueryVariables): {
|
|
4805
|
+
query: Apollo.DocumentNode;
|
|
4806
|
+
variables: Exact<{
|
|
4807
|
+
[key: string]: never;
|
|
4808
|
+
}> | undefined;
|
|
4809
|
+
};
|
|
4115
4810
|
export declare const InitWorkspaceDocument: Apollo.DocumentNode;
|
|
4116
4811
|
export type InitWorkspaceMutationFn = Apollo.MutationFunction<InitWorkspaceMutation, InitWorkspaceMutationVariables>;
|
|
4117
4812
|
/**
|
|
@@ -4561,6 +5256,52 @@ export declare function refetchBroadcastDeliveryReportQuery(variables: Broadcast
|
|
|
4561
5256
|
input: BroadcastDeliveryReportInput;
|
|
4562
5257
|
}>;
|
|
4563
5258
|
};
|
|
5259
|
+
export declare const BroadcastMessageStatusesDocument: Apollo.DocumentNode;
|
|
5260
|
+
/**
|
|
5261
|
+
* __useBroadcastMessageStatusesQuery__
|
|
5262
|
+
*
|
|
5263
|
+
* To run a query within a React component, call `useBroadcastMessageStatusesQuery` and pass it any options that fit your needs.
|
|
5264
|
+
* When your component renders, `useBroadcastMessageStatusesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5265
|
+
* you can use to render your UI.
|
|
5266
|
+
*
|
|
5267
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
5268
|
+
*
|
|
5269
|
+
* @example
|
|
5270
|
+
* const { data, loading, error } = useBroadcastMessageStatusesQuery({
|
|
5271
|
+
* variables: {
|
|
5272
|
+
* input: // value for 'input'
|
|
5273
|
+
* pageInfo: // value for 'pageInfo'
|
|
5274
|
+
* },
|
|
5275
|
+
* });
|
|
5276
|
+
*/
|
|
5277
|
+
export declare function useBroadcastMessageStatusesQuery(baseOptions: Apollo.QueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables> & ({
|
|
5278
|
+
variables: BroadcastMessageStatusesQueryVariables;
|
|
5279
|
+
skip?: boolean;
|
|
5280
|
+
} | {
|
|
5281
|
+
skip: boolean;
|
|
5282
|
+
})): Apollo.QueryResult<BroadcastMessageStatusesQuery, Exact<{
|
|
5283
|
+
input: BroadcastMessageStatusesInput;
|
|
5284
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5285
|
+
}>>;
|
|
5286
|
+
export declare function useBroadcastMessageStatusesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastMessageStatusesQuery, Exact<{
|
|
5287
|
+
input: BroadcastMessageStatusesInput;
|
|
5288
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5289
|
+
}>>;
|
|
5290
|
+
export declare function useBroadcastMessageStatusesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastMessageStatusesQuery | undefined, Exact<{
|
|
5291
|
+
input: BroadcastMessageStatusesInput;
|
|
5292
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5293
|
+
}>>;
|
|
5294
|
+
export type BroadcastMessageStatusesQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesQuery>;
|
|
5295
|
+
export type BroadcastMessageStatusesLazyQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesLazyQuery>;
|
|
5296
|
+
export type BroadcastMessageStatusesSuspenseQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesSuspenseQuery>;
|
|
5297
|
+
export type BroadcastMessageStatusesQueryResult = Apollo.QueryResult<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>;
|
|
5298
|
+
export declare function refetchBroadcastMessageStatusesQuery(variables: BroadcastMessageStatusesQueryVariables): {
|
|
5299
|
+
query: Apollo.DocumentNode;
|
|
5300
|
+
variables: Exact<{
|
|
5301
|
+
input: BroadcastMessageStatusesInput;
|
|
5302
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5303
|
+
}>;
|
|
5304
|
+
};
|
|
4564
5305
|
export declare const BroadcastStateCountsDocument: Apollo.DocumentNode;
|
|
4565
5306
|
/**
|
|
4566
5307
|
* __useBroadcastStateCountsQuery__
|
|
@@ -4714,6 +5455,31 @@ export declare function refetchBulkImportContactsJobStatusQuery(variables: BulkI
|
|
|
4714
5455
|
input: BulkImportContactsJobStatusInput;
|
|
4715
5456
|
}>;
|
|
4716
5457
|
};
|
|
5458
|
+
export declare const CancelBroadcastDocument: Apollo.DocumentNode;
|
|
5459
|
+
export type CancelBroadcastMutationFn = Apollo.MutationFunction<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
|
|
5460
|
+
/**
|
|
5461
|
+
* __useCancelBroadcastMutation__
|
|
5462
|
+
*
|
|
5463
|
+
* To run a mutation, you first call `useCancelBroadcastMutation` within a React component and pass it any options that fit your needs.
|
|
5464
|
+
* When your component renders, `useCancelBroadcastMutation` returns a tuple that includes:
|
|
5465
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5466
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5467
|
+
*
|
|
5468
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
5469
|
+
*
|
|
5470
|
+
* @example
|
|
5471
|
+
* const [cancelBroadcastMutation, { data, loading, error }] = useCancelBroadcastMutation({
|
|
5472
|
+
* variables: {
|
|
5473
|
+
* input: // value for 'input'
|
|
5474
|
+
* },
|
|
5475
|
+
* });
|
|
5476
|
+
*/
|
|
5477
|
+
export declare function useCancelBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>): Apollo.MutationTuple<CancelBroadcastMutation, Exact<{
|
|
5478
|
+
input: BroadcastCancelInput;
|
|
5479
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5480
|
+
export type CancelBroadcastMutationHookResult = ReturnType<typeof useCancelBroadcastMutation>;
|
|
5481
|
+
export type CancelBroadcastMutationResult = Apollo.MutationResult<CancelBroadcastMutation>;
|
|
5482
|
+
export type CancelBroadcastMutationOptions = Apollo.BaseMutationOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
|
|
4717
5483
|
export declare const ClientDocument: Apollo.DocumentNode;
|
|
4718
5484
|
/**
|
|
4719
5485
|
* __useClientQuery__
|
|
@@ -5013,6 +5779,56 @@ export declare function useDeleteBroadcastMutation(baseOptions?: Apollo.Mutation
|
|
|
5013
5779
|
export type DeleteBroadcastMutationHookResult = ReturnType<typeof useDeleteBroadcastMutation>;
|
|
5014
5780
|
export type DeleteBroadcastMutationResult = Apollo.MutationResult<DeleteBroadcastMutation>;
|
|
5015
5781
|
export type DeleteBroadcastMutationOptions = Apollo.BaseMutationOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
|
|
5782
|
+
export declare const DeleteClientDocument: Apollo.DocumentNode;
|
|
5783
|
+
export type DeleteClientMutationFn = Apollo.MutationFunction<DeleteClientMutation, DeleteClientMutationVariables>;
|
|
5784
|
+
/**
|
|
5785
|
+
* __useDeleteClientMutation__
|
|
5786
|
+
*
|
|
5787
|
+
* To run a mutation, you first call `useDeleteClientMutation` within a React component and pass it any options that fit your needs.
|
|
5788
|
+
* When your component renders, `useDeleteClientMutation` returns a tuple that includes:
|
|
5789
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5790
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5791
|
+
*
|
|
5792
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
5793
|
+
*
|
|
5794
|
+
* @example
|
|
5795
|
+
* const [deleteClientMutation, { data, loading, error }] = useDeleteClientMutation({
|
|
5796
|
+
* variables: {
|
|
5797
|
+
* input: // value for 'input'
|
|
5798
|
+
* },
|
|
5799
|
+
* });
|
|
5800
|
+
*/
|
|
5801
|
+
export declare function useDeleteClientMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientMutation, DeleteClientMutationVariables>): Apollo.MutationTuple<DeleteClientMutation, Exact<{
|
|
5802
|
+
input: ClientInput;
|
|
5803
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5804
|
+
export type DeleteClientMutationHookResult = ReturnType<typeof useDeleteClientMutation>;
|
|
5805
|
+
export type DeleteClientMutationResult = Apollo.MutationResult<DeleteClientMutation>;
|
|
5806
|
+
export type DeleteClientMutationOptions = Apollo.BaseMutationOptions<DeleteClientMutation, DeleteClientMutationVariables>;
|
|
5807
|
+
export declare const DeleteClientByExternalIdDocument: Apollo.DocumentNode;
|
|
5808
|
+
export type DeleteClientByExternalIdMutationFn = Apollo.MutationFunction<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
|
|
5809
|
+
/**
|
|
5810
|
+
* __useDeleteClientByExternalIdMutation__
|
|
5811
|
+
*
|
|
5812
|
+
* To run a mutation, you first call `useDeleteClientByExternalIdMutation` within a React component and pass it any options that fit your needs.
|
|
5813
|
+
* When your component renders, `useDeleteClientByExternalIdMutation` returns a tuple that includes:
|
|
5814
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5815
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5816
|
+
*
|
|
5817
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
5818
|
+
*
|
|
5819
|
+
* @example
|
|
5820
|
+
* const [deleteClientByExternalIdMutation, { data, loading, error }] = useDeleteClientByExternalIdMutation({
|
|
5821
|
+
* variables: {
|
|
5822
|
+
* input: // value for 'input'
|
|
5823
|
+
* },
|
|
5824
|
+
* });
|
|
5825
|
+
*/
|
|
5826
|
+
export declare function useDeleteClientByExternalIdMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>): Apollo.MutationTuple<DeleteClientByExternalIdMutation, Exact<{
|
|
5827
|
+
input: ClientDeleteByExternalIdInput;
|
|
5828
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5829
|
+
export type DeleteClientByExternalIdMutationHookResult = ReturnType<typeof useDeleteClientByExternalIdMutation>;
|
|
5830
|
+
export type DeleteClientByExternalIdMutationResult = Apollo.MutationResult<DeleteClientByExternalIdMutation>;
|
|
5831
|
+
export type DeleteClientByExternalIdMutationOptions = Apollo.BaseMutationOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
|
|
5016
5832
|
export declare const EndConvDocument: Apollo.DocumentNode;
|
|
5017
5833
|
export type EndConvMutationFn = Apollo.MutationFunction<EndConvMutation, EndConvMutationVariables>;
|
|
5018
5834
|
/**
|
|
@@ -5109,6 +5925,47 @@ export declare function refetchMessagesQuery(variables: MessagesQueryVariables):
|
|
|
5109
5925
|
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5110
5926
|
}>;
|
|
5111
5927
|
};
|
|
5928
|
+
export declare const OpenConversationsNeedResponseCountDocument: Apollo.DocumentNode;
|
|
5929
|
+
/**
|
|
5930
|
+
* __useOpenConversationsNeedResponseCountQuery__
|
|
5931
|
+
*
|
|
5932
|
+
* To run a query within a React component, call `useOpenConversationsNeedResponseCountQuery` and pass it any options that fit your needs.
|
|
5933
|
+
* When your component renders, `useOpenConversationsNeedResponseCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5934
|
+
* you can use to render your UI.
|
|
5935
|
+
*
|
|
5936
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
5937
|
+
*
|
|
5938
|
+
* @example
|
|
5939
|
+
* const { data, loading, error } = useOpenConversationsNeedResponseCountQuery({
|
|
5940
|
+
* variables: {
|
|
5941
|
+
* input: // value for 'input'
|
|
5942
|
+
* },
|
|
5943
|
+
* });
|
|
5944
|
+
*/
|
|
5945
|
+
export declare function useOpenConversationsNeedResponseCountQuery(baseOptions: Apollo.QueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables> & ({
|
|
5946
|
+
variables: OpenConversationsNeedResponseCountQueryVariables;
|
|
5947
|
+
skip?: boolean;
|
|
5948
|
+
} | {
|
|
5949
|
+
skip: boolean;
|
|
5950
|
+
})): Apollo.QueryResult<OpenConversationsNeedResponseCountQuery, Exact<{
|
|
5951
|
+
input: OpenConversationsNeedResponseInput;
|
|
5952
|
+
}>>;
|
|
5953
|
+
export declare function useOpenConversationsNeedResponseCountLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>): Apollo.LazyQueryResultTuple<OpenConversationsNeedResponseCountQuery, Exact<{
|
|
5954
|
+
input: OpenConversationsNeedResponseInput;
|
|
5955
|
+
}>>;
|
|
5956
|
+
export declare function useOpenConversationsNeedResponseCountSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>): Apollo.UseSuspenseQueryResult<OpenConversationsNeedResponseCountQuery | undefined, Exact<{
|
|
5957
|
+
input: OpenConversationsNeedResponseInput;
|
|
5958
|
+
}>>;
|
|
5959
|
+
export type OpenConversationsNeedResponseCountQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountQuery>;
|
|
5960
|
+
export type OpenConversationsNeedResponseCountLazyQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountLazyQuery>;
|
|
5961
|
+
export type OpenConversationsNeedResponseCountSuspenseQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountSuspenseQuery>;
|
|
5962
|
+
export type OpenConversationsNeedResponseCountQueryResult = Apollo.QueryResult<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>;
|
|
5963
|
+
export declare function refetchOpenConversationsNeedResponseCountQuery(variables: OpenConversationsNeedResponseCountQueryVariables): {
|
|
5964
|
+
query: Apollo.DocumentNode;
|
|
5965
|
+
variables: Exact<{
|
|
5966
|
+
input: OpenConversationsNeedResponseInput;
|
|
5967
|
+
}>;
|
|
5968
|
+
};
|
|
5112
5969
|
export declare const PatchAgentDocument: Apollo.DocumentNode;
|
|
5113
5970
|
export type PatchAgentMutationFn = Apollo.MutationFunction<PatchAgentMutation, PatchAgentMutationVariables>;
|
|
5114
5971
|
/**
|
|
@@ -5325,6 +6182,56 @@ export declare function refetchTagsQuery(variables: TagsQueryVariables): {
|
|
|
5325
6182
|
input: TagsInput;
|
|
5326
6183
|
}>;
|
|
5327
6184
|
};
|
|
6185
|
+
export declare const UndeleteClientDocument: Apollo.DocumentNode;
|
|
6186
|
+
export type UndeleteClientMutationFn = Apollo.MutationFunction<UndeleteClientMutation, UndeleteClientMutationVariables>;
|
|
6187
|
+
/**
|
|
6188
|
+
* __useUndeleteClientMutation__
|
|
6189
|
+
*
|
|
6190
|
+
* To run a mutation, you first call `useUndeleteClientMutation` within a React component and pass it any options that fit your needs.
|
|
6191
|
+
* When your component renders, `useUndeleteClientMutation` returns a tuple that includes:
|
|
6192
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
6193
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
6194
|
+
*
|
|
6195
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
6196
|
+
*
|
|
6197
|
+
* @example
|
|
6198
|
+
* const [undeleteClientMutation, { data, loading, error }] = useUndeleteClientMutation({
|
|
6199
|
+
* variables: {
|
|
6200
|
+
* input: // value for 'input'
|
|
6201
|
+
* },
|
|
6202
|
+
* });
|
|
6203
|
+
*/
|
|
6204
|
+
export declare function useUndeleteClientMutation(baseOptions?: Apollo.MutationHookOptions<UndeleteClientMutation, UndeleteClientMutationVariables>): Apollo.MutationTuple<UndeleteClientMutation, Exact<{
|
|
6205
|
+
input: ClientInput;
|
|
6206
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6207
|
+
export type UndeleteClientMutationHookResult = ReturnType<typeof useUndeleteClientMutation>;
|
|
6208
|
+
export type UndeleteClientMutationResult = Apollo.MutationResult<UndeleteClientMutation>;
|
|
6209
|
+
export type UndeleteClientMutationOptions = Apollo.BaseMutationOptions<UndeleteClientMutation, UndeleteClientMutationVariables>;
|
|
6210
|
+
export declare const UndeleteClientByExternalIdDocument: Apollo.DocumentNode;
|
|
6211
|
+
export type UndeleteClientByExternalIdMutationFn = Apollo.MutationFunction<UndeleteClientByExternalIdMutation, UndeleteClientByExternalIdMutationVariables>;
|
|
6212
|
+
/**
|
|
6213
|
+
* __useUndeleteClientByExternalIdMutation__
|
|
6214
|
+
*
|
|
6215
|
+
* To run a mutation, you first call `useUndeleteClientByExternalIdMutation` within a React component and pass it any options that fit your needs.
|
|
6216
|
+
* When your component renders, `useUndeleteClientByExternalIdMutation` returns a tuple that includes:
|
|
6217
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
6218
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
6219
|
+
*
|
|
6220
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
6221
|
+
*
|
|
6222
|
+
* @example
|
|
6223
|
+
* const [undeleteClientByExternalIdMutation, { data, loading, error }] = useUndeleteClientByExternalIdMutation({
|
|
6224
|
+
* variables: {
|
|
6225
|
+
* input: // value for 'input'
|
|
6226
|
+
* },
|
|
6227
|
+
* });
|
|
6228
|
+
*/
|
|
6229
|
+
export declare function useUndeleteClientByExternalIdMutation(baseOptions?: Apollo.MutationHookOptions<UndeleteClientByExternalIdMutation, UndeleteClientByExternalIdMutationVariables>): Apollo.MutationTuple<UndeleteClientByExternalIdMutation, Exact<{
|
|
6230
|
+
input: ClientDeleteByExternalIdInput;
|
|
6231
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6232
|
+
export type UndeleteClientByExternalIdMutationHookResult = ReturnType<typeof useUndeleteClientByExternalIdMutation>;
|
|
6233
|
+
export type UndeleteClientByExternalIdMutationResult = Apollo.MutationResult<UndeleteClientByExternalIdMutation>;
|
|
6234
|
+
export type UndeleteClientByExternalIdMutationOptions = Apollo.BaseMutationOptions<UndeleteClientByExternalIdMutation, UndeleteClientByExternalIdMutationVariables>;
|
|
5328
6235
|
export declare const UntagClientDocument: Apollo.DocumentNode;
|
|
5329
6236
|
export type UntagClientMutationFn = Apollo.MutationFunction<UntagClientMutation, UntagClientMutationVariables>;
|
|
5330
6237
|
/**
|
|
@@ -6135,3 +7042,49 @@ export declare function refetchWorkspaceSettingsQuery(variables: WorkspaceSettin
|
|
|
6135
7042
|
input: WorkspaceSettingsInput;
|
|
6136
7043
|
}>;
|
|
6137
7044
|
};
|
|
7045
|
+
export declare const WorkspacesDocument: Apollo.DocumentNode;
|
|
7046
|
+
/**
|
|
7047
|
+
* __useWorkspacesQuery__
|
|
7048
|
+
*
|
|
7049
|
+
* To run a query within a React component, call `useWorkspacesQuery` and pass it any options that fit your needs.
|
|
7050
|
+
* When your component renders, `useWorkspacesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
7051
|
+
* you can use to render your UI.
|
|
7052
|
+
*
|
|
7053
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
7054
|
+
*
|
|
7055
|
+
* @example
|
|
7056
|
+
* const { data, loading, error } = useWorkspacesQuery({
|
|
7057
|
+
* variables: {
|
|
7058
|
+
* input: // value for 'input'
|
|
7059
|
+
* pageInfo: // value for 'pageInfo'
|
|
7060
|
+
* },
|
|
7061
|
+
* });
|
|
7062
|
+
*/
|
|
7063
|
+
export declare function useWorkspacesQuery(baseOptions: Apollo.QueryHookOptions<WorkspacesQuery, WorkspacesQueryVariables> & ({
|
|
7064
|
+
variables: WorkspacesQueryVariables;
|
|
7065
|
+
skip?: boolean;
|
|
7066
|
+
} | {
|
|
7067
|
+
skip: boolean;
|
|
7068
|
+
})): Apollo.QueryResult<WorkspacesQuery, Exact<{
|
|
7069
|
+
input: WorkspacesInput;
|
|
7070
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
7071
|
+
}>>;
|
|
7072
|
+
export declare function useWorkspacesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WorkspacesQuery, WorkspacesQueryVariables>): Apollo.LazyQueryResultTuple<WorkspacesQuery, Exact<{
|
|
7073
|
+
input: WorkspacesInput;
|
|
7074
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
7075
|
+
}>>;
|
|
7076
|
+
export declare function useWorkspacesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WorkspacesQuery, WorkspacesQueryVariables>): Apollo.UseSuspenseQueryResult<WorkspacesQuery | undefined, Exact<{
|
|
7077
|
+
input: WorkspacesInput;
|
|
7078
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
7079
|
+
}>>;
|
|
7080
|
+
export type WorkspacesQueryHookResult = ReturnType<typeof useWorkspacesQuery>;
|
|
7081
|
+
export type WorkspacesLazyQueryHookResult = ReturnType<typeof useWorkspacesLazyQuery>;
|
|
7082
|
+
export type WorkspacesSuspenseQueryHookResult = ReturnType<typeof useWorkspacesSuspenseQuery>;
|
|
7083
|
+
export type WorkspacesQueryResult = Apollo.QueryResult<WorkspacesQuery, WorkspacesQueryVariables>;
|
|
7084
|
+
export declare function refetchWorkspacesQuery(variables: WorkspacesQueryVariables): {
|
|
7085
|
+
query: Apollo.DocumentNode;
|
|
7086
|
+
variables: Exact<{
|
|
7087
|
+
input: WorkspacesInput;
|
|
7088
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
7089
|
+
}>;
|
|
7090
|
+
};
|