@bcrumbs.net/inbox 0.0.43 → 0.0.45
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.
Potentially problematic release.
This version of @bcrumbs.net/inbox might be problematic. Click here for more details.
- package/{396ba1d86a9997b1.svg → 594c01a9720e0657.svg} +42 -42
- package/assets/ar/inbox.json +246 -244
- package/assets/en/inbox.json +248 -246
- package/{2998ffe42c3436c0.svg → cb9c022b3cf80e0f.svg} +43 -43
- package/index.cjs.d.ts +1 -1
- package/index.cjs.js +8249 -1343
- package/index.esm.d.ts +1 -1
- package/index.esm.js +8250 -1344
- package/package.json +3 -3
- package/src/app/ai/components/CrumbySettings/CrumbySettingsLoader.d.ts +5 -0
- package/src/app/ai/components/playground/Button.d.ts +1 -1
- package/src/app/ai/components/playground/TooltipIconButton.d.ts +1 -1
- package/src/app/ai/components/sources/FileTable.d.ts +1 -0
- package/src/app/ai/pages/CrumbySettings.d.ts +2 -0
- package/src/app/ai/types/index.d.ts +1 -1
- package/src/app/billing/constants/errorcodes.d.ts +1 -0
- package/src/app/billing/context/SubscriptionContext.d.ts +62 -0
- package/src/app/billing/context/index.d.ts +1 -0
- package/src/app/billing/hooks/index.d.ts +1 -0
- package/src/app/billing/hooks/useTurnstile.d.ts +51 -0
- package/src/app/billing/index.d.ts +3 -0
- package/src/app/broadcast/components/BroadcastDetailsSection.d.ts +1 -2
- package/src/app/contact/components/ContactFilterOptions.d.ts +5 -1
- package/src/app/contact/components/ContactInfo.d.ts +4 -2
- package/src/app/contact/components/ImportProgressDialog.d.ts +4 -1
- package/src/app/contact/hooks/useExportClients.d.ts +12 -0
- package/src/app/generic/components/BCTurnstile.d.ts +47 -0
- package/src/app/{broadcast → generic}/components/MessagePreview.d.ts +4 -1
- package/src/app/generic/components/PreviewHeaderImage.d.ts +4 -0
- package/src/app/generic/components/SelectionInfo.d.ts +9 -0
- package/src/app/generic/components/TemplateParameterInputs.d.ts +1 -2
- package/src/app/generic/components/ToggleSetting.d.ts +8 -0
- package/src/app/generic/hooks/useResourceColumns.d.ts +4 -2
- package/src/app/generic/hooks/useSelection.d.ts +8 -0
- package/src/app/generic/utils/logout.d.ts +1 -1
- package/src/app/inbox/components/Chat/ChatContent.d.ts +6 -2
- package/src/app/inbox/components/Chat/index.d.ts +6 -2
- package/src/app/inbox/components/NewDetails/TagsSelector.d.ts +4 -1
- package/src/app/inbox/components/Popups/NewStartConv.d.ts +3 -1
- package/src/app/inbox/components/Shared/SharedStyle.d.ts +4 -0
- package/src/app/inbox/constants/index.d.ts +1 -0
- package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +4 -0
- package/src/app/inbox/utils/convs.d.ts +2 -1
- package/src/app/layout/hooks/useCrumbyEnabled.d.ts +1 -1
- package/src/app/managemnet/components/GeneralSettingsLoader.d.ts +5 -0
- package/src/app/managemnet/config/types.d.ts +3 -0
- package/src/app/managemnet/pages/generalSettings/index.d.ts +2 -0
- package/src/app/resources/components/Integrations/Telegram/index.d.ts +4 -0
- package/src/app/resources/hooks/useFBPagesHook.d.ts +1 -0
- package/src/app/resources/hooks/useInstagramHook.d.ts +1 -0
- package/src/app/resources/hooks/useWabaHook.d.ts +1 -0
- package/src/assets/locales/translations.d.ts +63 -1
- package/src/environments/environment.beepmax.d.ts +2 -0
- package/src/environments/types.d.ts +1 -0
- package/src/graphql.autogenerated.d.ts +1362 -1043
- package/src/graphql.billing.autogenerated.d.ts +1163 -0
- package/src/utils/getActiveAiTypes.d.ts +1 -0
- package/src/utils/textUtils.d.ts +6 -0
|
@@ -85,6 +85,7 @@ export type Ai = {
|
|
|
85
85
|
createdAt: Scalars['DateTime']['output'];
|
|
86
86
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
87
87
|
id: Scalars['ID']['output'];
|
|
88
|
+
integrationProperties?: Maybe<IntegrationProperties>;
|
|
88
89
|
name: Scalars['String']['output'];
|
|
89
90
|
type: AiType;
|
|
90
91
|
workspaceId: Scalars['Int']['output'];
|
|
@@ -151,7 +152,7 @@ export type AgentCreateInput = {
|
|
|
151
152
|
/** The name of the agent. */
|
|
152
153
|
name: Scalars['String']['input'];
|
|
153
154
|
/** The surname of the agent. */
|
|
154
|
-
surname
|
|
155
|
+
surname?: InputMaybe<Scalars['String']['input']>;
|
|
155
156
|
/** The user id of the agent. It is the same as the user id of the invited user to the workspace. */
|
|
156
157
|
userId: Scalars['String']['input'];
|
|
157
158
|
workspaceId: Scalars['Int']['input'];
|
|
@@ -167,7 +168,7 @@ export type AgentPatchInput = {
|
|
|
167
168
|
/** The name of the agent. */
|
|
168
169
|
name: Scalars['String']['input'];
|
|
169
170
|
/** The surname of the agent. */
|
|
170
|
-
surname
|
|
171
|
+
surname?: InputMaybe<Scalars['String']['input']>;
|
|
171
172
|
workspaceId: Scalars['Int']['input'];
|
|
172
173
|
};
|
|
173
174
|
/** AgentReport is a report of the agent breaked down by day. It is used to understand the agent's performance. */
|
|
@@ -184,8 +185,11 @@ export type AgentReport = {
|
|
|
184
185
|
clientMessageCount: Scalars['Int']['output'];
|
|
185
186
|
/** The number of conversations the agent has participated in. */
|
|
186
187
|
conversationCount: Scalars['Int']['output'];
|
|
188
|
+
/** The date and time when the agent report was created. */
|
|
187
189
|
createdAt: Scalars['DateTime']['output'];
|
|
188
190
|
id: Scalars['ID']['output'];
|
|
191
|
+
/** The number of new client conversations in the hour. */
|
|
192
|
+
newClientConvCount?: Maybe<Scalars['Int']['output']>;
|
|
189
193
|
workspaceId: Scalars['Int']['output'];
|
|
190
194
|
};
|
|
191
195
|
/** AgentsInput is an input of the agents query. */
|
|
@@ -522,6 +526,38 @@ export type BroadcastPatchInput = {
|
|
|
522
526
|
templateName: Scalars['String']['input'];
|
|
523
527
|
workspaceId: Scalars['Int']['input'];
|
|
524
528
|
};
|
|
529
|
+
/** BroadcastReport tracks daily broadcast notification usage broken down by hour, differentiating between successful and failed sends. */
|
|
530
|
+
export type BroadcastReport = {
|
|
531
|
+
__typename?: 'BroadcastReport';
|
|
532
|
+
/** The date and time when the report was created. */
|
|
533
|
+
createdAt: Scalars['DateTime']['output'];
|
|
534
|
+
/** The number of notifications that failed in this hour. */
|
|
535
|
+
failedCount: Scalars['Int']['output'];
|
|
536
|
+
/** The hour of the day (0-23) the report covers. */
|
|
537
|
+
hour: Scalars['Int']['output'];
|
|
538
|
+
/** The id of the broadcast report. */
|
|
539
|
+
id: Scalars['ID']['output'];
|
|
540
|
+
/** The integration/channel id associated with the report. */
|
|
541
|
+
integrationId: Scalars['ID']['output'];
|
|
542
|
+
/** The number of notifications successfully sent in this hour. */
|
|
543
|
+
successCount: Scalars['Int']['output'];
|
|
544
|
+
workspaceId: Scalars['Int']['output'];
|
|
545
|
+
};
|
|
546
|
+
/** BroadcastReportInput is an input of the broadcast report query. */
|
|
547
|
+
export type BroadcastReportInput = {
|
|
548
|
+
/** The end date of the report range. */
|
|
549
|
+
endDate: Scalars['DateTime']['input'];
|
|
550
|
+
/** The integration/channel id to filter reports by. */
|
|
551
|
+
integrationId?: InputMaybe<Scalars['ID']['input']>;
|
|
552
|
+
/** The start date of the report range. */
|
|
553
|
+
startDate: Scalars['DateTime']['input'];
|
|
554
|
+
workspaceId: Scalars['Int']['input'];
|
|
555
|
+
};
|
|
556
|
+
/** BroadcastReportPayload is a payload of the broadcast report query. */
|
|
557
|
+
export type BroadcastReportPayload = {
|
|
558
|
+
__typename?: 'BroadcastReportPayload';
|
|
559
|
+
nodes?: Maybe<Array<BroadcastReport>>;
|
|
560
|
+
};
|
|
525
561
|
/**
|
|
526
562
|
* BroadcastState is the state of the broadcast.
|
|
527
563
|
* - draft: The broadcast is in draft mode.
|
|
@@ -638,6 +674,8 @@ export type Client = {
|
|
|
638
674
|
__typename?: 'Client';
|
|
639
675
|
/** The address of the client. It can be modified by the user. */
|
|
640
676
|
address?: Maybe<Scalars['String']['output']>;
|
|
677
|
+
/** The identifier of the user or agent who archived this client. Null if archived by system. */
|
|
678
|
+
archivedBy?: Maybe<Scalars['String']['output']>;
|
|
641
679
|
/** The city of the client. It can be modified by the user. */
|
|
642
680
|
city?: Maybe<Scalars['String']['output']>;
|
|
643
681
|
/** The code of the client. It can be modified by the user. */
|
|
@@ -897,6 +935,12 @@ export type ConvEndInput = {
|
|
|
897
935
|
integrationId: Scalars['ID']['input'];
|
|
898
936
|
workspaceId: Scalars['Int']['input'];
|
|
899
937
|
};
|
|
938
|
+
/** ConvLastMessageInput is an input for getting the last message of an open conversation. */
|
|
939
|
+
export type ConvLastMessageInput = {
|
|
940
|
+
/** The id of the conversation. */
|
|
941
|
+
convId: Scalars['ID']['input'];
|
|
942
|
+
workspaceId: Scalars['Int']['input'];
|
|
943
|
+
};
|
|
900
944
|
/** ConvPatchInput is an input of the conversation patch mutation. */
|
|
901
945
|
export type ConvPatchInput = {
|
|
902
946
|
/** The id of the conversation. */
|
|
@@ -981,6 +1025,10 @@ export type Conversation = {
|
|
|
981
1025
|
assigneeId?: Maybe<Scalars['ID']['output']>;
|
|
982
1026
|
/** The assignees history of the conversation. */
|
|
983
1027
|
assignees?: Maybe<Array<Maybe<ConvAssignment>>>;
|
|
1028
|
+
/** The broadcast id linked to the conversation. */
|
|
1029
|
+
broadcastId?: Maybe<Scalars['ID']['output']>;
|
|
1030
|
+
/** The name of the broadcast linked to the conversation. */
|
|
1031
|
+
broadcastName?: Maybe<Scalars['String']['output']>;
|
|
984
1032
|
/** The client of the conversation. */
|
|
985
1033
|
client?: Maybe<ConversationClient>;
|
|
986
1034
|
/** The client id of the conversation. */
|
|
@@ -1017,6 +1065,8 @@ export type ConversationClient = {
|
|
|
1017
1065
|
__typename?: 'ConversationClient';
|
|
1018
1066
|
/** The code of the client. */
|
|
1019
1067
|
code?: Maybe<Scalars['String']['output']>;
|
|
1068
|
+
/** Whether the client is deleted (soft-deleted). True when deletedAt has a value. */
|
|
1069
|
+
isDeleted: Scalars['Boolean']['output'];
|
|
1020
1070
|
/** The name of the client. */
|
|
1021
1071
|
name?: Maybe<Scalars['String']['output']>;
|
|
1022
1072
|
/** The phone of the client. */
|
|
@@ -1045,6 +1095,8 @@ export type ConversationReport = {
|
|
|
1045
1095
|
id: Scalars['ID']['output'];
|
|
1046
1096
|
/** The integration/channel id of the conversation. */
|
|
1047
1097
|
integrationId: Scalars['ID']['output'];
|
|
1098
|
+
/** The number of new client conversations in the hour. */
|
|
1099
|
+
newClientConvCount?: Maybe<Scalars['Int']['output']>;
|
|
1048
1100
|
workspaceId: Scalars['Int']['output'];
|
|
1049
1101
|
};
|
|
1050
1102
|
/**
|
|
@@ -1179,6 +1231,8 @@ export type Integration = {
|
|
|
1179
1231
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1180
1232
|
/** The id of the integration. */
|
|
1181
1233
|
id: Scalars['ID']['output'];
|
|
1234
|
+
/** The integration identifier. */
|
|
1235
|
+
identifier?: Maybe<Scalars['String']['output']>;
|
|
1182
1236
|
/** The name of the integration. */
|
|
1183
1237
|
name: Scalars['String']['output'];
|
|
1184
1238
|
patchedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -1215,6 +1269,11 @@ export type IntegrationPatchInput = {
|
|
|
1215
1269
|
properties?: InputMaybe<Scalars['JSON']['input']>;
|
|
1216
1270
|
workspaceId: Scalars['Int']['input'];
|
|
1217
1271
|
};
|
|
1272
|
+
export type IntegrationProperties = {
|
|
1273
|
+
__typename?: 'IntegrationProperties';
|
|
1274
|
+
model?: Maybe<Scalars['String']['output']>;
|
|
1275
|
+
version?: Maybe<Scalars['String']['output']>;
|
|
1276
|
+
};
|
|
1218
1277
|
/**
|
|
1219
1278
|
* IntegrationState is an enum for the integration state.
|
|
1220
1279
|
* - ACTIVE: The integration is active.
|
|
@@ -1234,11 +1293,13 @@ export type IntegrationState = typeof IntegrationState[keyof typeof IntegrationS
|
|
|
1234
1293
|
* - BCWEBCHAT: BC Webchat integration.
|
|
1235
1294
|
* - FACEBOOK: Facebook integration.
|
|
1236
1295
|
* - INSTAGRAM: Instagram integration.
|
|
1296
|
+
* - TELEGRAM: Telegram integration.
|
|
1237
1297
|
*/
|
|
1238
1298
|
export declare const IntegrationType: {
|
|
1239
1299
|
readonly BCWEBCHAT: "BCWEBCHAT";
|
|
1240
1300
|
readonly FACEBOOK: "FACEBOOK";
|
|
1241
1301
|
readonly INSTAGRAM: "INSTAGRAM";
|
|
1302
|
+
readonly TELEGRAM: "TELEGRAM";
|
|
1242
1303
|
readonly WHATSAPP: "WHATSAPP";
|
|
1243
1304
|
};
|
|
1244
1305
|
export type IntegrationType = typeof IntegrationType[keyof typeof IntegrationType];
|
|
@@ -1248,6 +1309,7 @@ export type IntegrationWithSecrets = {
|
|
|
1248
1309
|
createdAt: Scalars['DateTime']['output'];
|
|
1249
1310
|
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1250
1311
|
id: Scalars['ID']['output'];
|
|
1312
|
+
identifier?: Maybe<Scalars['String']['output']>;
|
|
1251
1313
|
integrationProperties: Scalars['JSON']['output'];
|
|
1252
1314
|
name: Scalars['String']['output'];
|
|
1253
1315
|
patchedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -1327,16 +1389,22 @@ export type Message = {
|
|
|
1327
1389
|
createdAt: Scalars['DateTime']['output'];
|
|
1328
1390
|
/** The external message id of the message. */
|
|
1329
1391
|
externalMessageId?: Maybe<Scalars['String']['output']>;
|
|
1392
|
+
/** The reason why the message failed to be sent. */
|
|
1393
|
+
failedReason?: Maybe<Scalars['String']['output']>;
|
|
1330
1394
|
/** Whether the message is from an agent or the client. */
|
|
1331
1395
|
isAgent: Scalars['Boolean']['output'];
|
|
1332
1396
|
/** The id of the message. */
|
|
1333
1397
|
messageId: Scalars['ID']['output'];
|
|
1334
1398
|
/** The note type of the message. */
|
|
1335
1399
|
noteType?: Maybe<NoteType>;
|
|
1400
|
+
/** The sender identifier. It is used to identify the sender of the message in the provider's system. */
|
|
1401
|
+
senderId?: Maybe<Scalars['String']['output']>;
|
|
1336
1402
|
/** The status of the message. */
|
|
1337
1403
|
status?: Maybe<MessageStatus>;
|
|
1338
1404
|
/** The tags of the message. */
|
|
1339
1405
|
tags?: Maybe<Array<Scalars['String']['output']>>;
|
|
1406
|
+
/** The trunk identifier for the notification message where the trunk is technical route your messages go through between providers. It is used to identify the message in the provider's system. */
|
|
1407
|
+
trunk?: Maybe<Scalars['String']['output']>;
|
|
1340
1408
|
/** The type of the message. */
|
|
1341
1409
|
type: MessageType;
|
|
1342
1410
|
};
|
|
@@ -1421,6 +1489,7 @@ export declare const MessageStatus: {
|
|
|
1421
1489
|
readonly DELIVERED: "delivered";
|
|
1422
1490
|
readonly FAILED: "failed";
|
|
1423
1491
|
readonly PENDING: "pending";
|
|
1492
|
+
readonly PLAYED: "played";
|
|
1424
1493
|
readonly READ: "read";
|
|
1425
1494
|
readonly SENT: "sent";
|
|
1426
1495
|
};
|
|
@@ -1536,6 +1605,11 @@ export type Mutation = {
|
|
|
1536
1605
|
assignConv: Conversation;
|
|
1537
1606
|
assignOwner: UserRole;
|
|
1538
1607
|
assignUserRole: UserRole;
|
|
1608
|
+
/**
|
|
1609
|
+
* Bulk soft delete clients by IDs. This archives clients by setting deletedAt.
|
|
1610
|
+
* You should have the MANAGE_CLIENTS permission to bulk delete clients.
|
|
1611
|
+
*/
|
|
1612
|
+
bulkDeleteClients: BulkPermanentDeleteClientsResult;
|
|
1539
1613
|
/** Bulk import contacts from a CSV file stored in blob storage. Returns a job ID to track progress. You should have the MANAGE_CLIENTS permission to bulk import contacts. */
|
|
1540
1614
|
bulkImportContacts: BulkImportContactsResult;
|
|
1541
1615
|
/** Bulk patch tags. You should have the MANAGE_WORKSPACE permission to bulk patch tags. */
|
|
@@ -1550,6 +1624,11 @@ export type Mutation = {
|
|
|
1550
1624
|
* You should have the MANAGE_WORKSPACE permission to permanently delete clients.
|
|
1551
1625
|
*/
|
|
1552
1626
|
bulkPermanentDeleteClientsByFilter: BulkPermanentDeleteClientsResult;
|
|
1627
|
+
/**
|
|
1628
|
+
* Bulk undelete clients by IDs. This restores archived clients by clearing deletedAt.
|
|
1629
|
+
* You should have the MANAGE_CLIENTS permission to bulk undelete clients.
|
|
1630
|
+
*/
|
|
1631
|
+
bulkUndeleteClients: BulkPermanentDeleteClientsResult;
|
|
1553
1632
|
/**
|
|
1554
1633
|
* Cancel a scheduled broadcast that hasn't started yet (scheduled -> draft).
|
|
1555
1634
|
* You should have the MANAGE_CONVS permission to cancel a broadcast.
|
|
@@ -1614,8 +1693,8 @@ export type Mutation = {
|
|
|
1614
1693
|
/** Send a notification to a client. (It can be used also for OTP messages) */
|
|
1615
1694
|
sendNotification: Message;
|
|
1616
1695
|
/**
|
|
1617
|
-
* Send a notification to a client and wait for the message
|
|
1618
|
-
* This endpoint will wait until the message status changes to '
|
|
1696
|
+
* Send a notification to a client and wait for the message to be delivered.
|
|
1697
|
+
* This endpoint will wait until the message status changes to 'delivered' before returning.
|
|
1619
1698
|
* (It can be used also for OTP messages)
|
|
1620
1699
|
*/
|
|
1621
1700
|
sendNotificationAndWait: Message;
|
|
@@ -1650,6 +1729,9 @@ export type MutationAssignOwnerArgs = {
|
|
|
1650
1729
|
export type MutationAssignUserRoleArgs = {
|
|
1651
1730
|
input: InputAssignUserRole;
|
|
1652
1731
|
};
|
|
1732
|
+
export type MutationBulkDeleteClientsArgs = {
|
|
1733
|
+
input: BulkPermanentDeleteClientsInput;
|
|
1734
|
+
};
|
|
1653
1735
|
export type MutationBulkImportContactsArgs = {
|
|
1654
1736
|
input: BulkImportContactsInput;
|
|
1655
1737
|
};
|
|
@@ -1662,6 +1744,9 @@ export type MutationBulkPermanentDeleteClientsArgs = {
|
|
|
1662
1744
|
export type MutationBulkPermanentDeleteClientsByFilterArgs = {
|
|
1663
1745
|
input: BulkPermanentDeleteClientsByFilterInput;
|
|
1664
1746
|
};
|
|
1747
|
+
export type MutationBulkUndeleteClientsArgs = {
|
|
1748
|
+
input: BulkPermanentDeleteClientsInput;
|
|
1749
|
+
};
|
|
1665
1750
|
export type MutationCancelBroadcastArgs = {
|
|
1666
1751
|
input: BroadcastCancelInput;
|
|
1667
1752
|
};
|
|
@@ -1872,6 +1957,8 @@ export type Query = {
|
|
|
1872
1957
|
broadcastDeliveryReport: BroadcastDeliveryReport;
|
|
1873
1958
|
/** Get broadcast message statuses with client information. You should have the MANAGE_CONVS permission to get broadcast message statuses. */
|
|
1874
1959
|
broadcastMessageStatuses: BroadcastMessageStatusesPayload;
|
|
1960
|
+
/** Get broadcast usage reports broken down by hour. You should have the MANAGE_CONVS permission to get broadcast reports. */
|
|
1961
|
+
broadcastReport: BroadcastReportPayload;
|
|
1875
1962
|
/** Get the count of broadcasts grouped by state. You should have the MANAGE_CONVS permission to get the counts. */
|
|
1876
1963
|
broadcastStateCounts: Array<BroadcastStateCount>;
|
|
1877
1964
|
/** Get the broadcasts. You should have the MANAGE_CONVS permission to get the broadcasts. */
|
|
@@ -1884,6 +1971,8 @@ export type Query = {
|
|
|
1884
1971
|
clientByPhone: Client;
|
|
1885
1972
|
/** Get the clients. You should have the MANAGE_CLIENTS permission to get the clients. */
|
|
1886
1973
|
clients: ClientsPayload;
|
|
1974
|
+
/** Get the last message of a conversation if it is currently open. Returns null if the conversation is ended or not found. */
|
|
1975
|
+
convLastMessage?: Maybe<Message>;
|
|
1887
1976
|
/** Get the conversations. If you don't have the MANAGE_CONVS permission, it will return only the conversations assigned to you. */
|
|
1888
1977
|
convs: ConvsPayload;
|
|
1889
1978
|
/** Get the conversations report. You should have the MANAGE_CONVS permission to get the conversations report. */
|
|
@@ -1957,6 +2046,9 @@ export type QueryBroadcastMessageStatusesArgs = {
|
|
|
1957
2046
|
input: BroadcastMessageStatusesInput;
|
|
1958
2047
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
1959
2048
|
};
|
|
2049
|
+
export type QueryBroadcastReportArgs = {
|
|
2050
|
+
input: BroadcastReportInput;
|
|
2051
|
+
};
|
|
1960
2052
|
export type QueryBroadcastStateCountsArgs = {
|
|
1961
2053
|
input: BroadcastsInput;
|
|
1962
2054
|
};
|
|
@@ -1977,6 +2069,9 @@ export type QueryClientsArgs = {
|
|
|
1977
2069
|
input: ClientsInput;
|
|
1978
2070
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
1979
2071
|
};
|
|
2072
|
+
export type QueryConvLastMessageArgs = {
|
|
2073
|
+
input: ConvLastMessageInput;
|
|
2074
|
+
};
|
|
1980
2075
|
export type QueryConvsArgs = {
|
|
1981
2076
|
input: ConvsInput;
|
|
1982
2077
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -2058,6 +2153,8 @@ export type SendNotificationInput = {
|
|
|
2058
2153
|
integrationId: Scalars['ID']['input'];
|
|
2059
2154
|
/** The phone number of the client. (e.g. "+1234567890"), either the client id or the phone number must be provided. */
|
|
2060
2155
|
phone?: InputMaybe<Scalars['String']['input']>;
|
|
2156
|
+
/** The sender identifier. It is used to identify the sender of the message in the provider's system. */
|
|
2157
|
+
senderId?: InputMaybe<Scalars['String']['input']>;
|
|
2061
2158
|
/**
|
|
2062
2159
|
* The components of the template.
|
|
2063
2160
|
* The components are the variables that will be replaced in the template.
|
|
@@ -2093,6 +2190,8 @@ export type SendNotificationInput = {
|
|
|
2093
2190
|
templateLang?: InputMaybe<Scalars['String']['input']>;
|
|
2094
2191
|
/** The name of the template. (e.g. "OTP", "Welcome", "Order Confirmation", etc.) */
|
|
2095
2192
|
templateName: Scalars['String']['input'];
|
|
2193
|
+
/** The trunk identifier for the notification message where the trunk is technical route your messages go through between providers. It is used to identify the message in the provider's system. */
|
|
2194
|
+
trunk?: InputMaybe<Scalars['String']['input']>;
|
|
2096
2195
|
workspaceId: Scalars['Int']['input'];
|
|
2097
2196
|
};
|
|
2098
2197
|
export type Source = {
|
|
@@ -2402,10 +2501,14 @@ export type Workspace = {
|
|
|
2402
2501
|
/** WorkspaceSettings represents configuration options for a workspace. */
|
|
2403
2502
|
export type WorkspaceSettings = {
|
|
2404
2503
|
__typename?: 'WorkspaceSettings';
|
|
2504
|
+
/** When enabled, automatically unarchives a contact when receiving a message from them. */
|
|
2505
|
+
autoUnarchiveOnMessage?: Maybe<Scalars['Boolean']['output']>;
|
|
2405
2506
|
/** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
|
|
2406
2507
|
convTTL?: Maybe<Scalars['Int']['output']>;
|
|
2407
2508
|
/** The unique identifier of the workspace settings record. */
|
|
2408
2509
|
id: Scalars['ID']['output'];
|
|
2510
|
+
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. */
|
|
2511
|
+
optOutKeyword?: Maybe<Scalars['String']['output']>;
|
|
2409
2512
|
/** Test phone numbers used for workspace validation. */
|
|
2410
2513
|
testNums?: Maybe<Array<WorkspaceTestNumber>>;
|
|
2411
2514
|
/** The unique identifier of the workspace. */
|
|
@@ -2418,8 +2521,12 @@ export type WorkspaceSettingsInput = {
|
|
|
2418
2521
|
};
|
|
2419
2522
|
/** Input for updating workspace settings. */
|
|
2420
2523
|
export type WorkspaceSettingsPatchInput = {
|
|
2524
|
+
/** When enabled, automatically unarchives a contact when receiving a message from them. */
|
|
2525
|
+
autoUnarchiveOnMessage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2421
2526
|
/** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
|
|
2422
2527
|
convTTL?: InputMaybe<Scalars['Int']['input']>;
|
|
2528
|
+
/** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. Set to null to disable. */
|
|
2529
|
+
optOutKeyword?: InputMaybe<Scalars['String']['input']>;
|
|
2423
2530
|
/** Test phone numbers used for workspace validation. */
|
|
2424
2531
|
testNums?: InputMaybe<Array<WorkspaceTestNumberInput>>;
|
|
2425
2532
|
/** The unique identifier of the workspace. */
|
|
@@ -2676,6 +2783,7 @@ export type AgentReportFragment = {
|
|
|
2676
2783
|
clientMessageCount: number;
|
|
2677
2784
|
avgFirstResponseTime: number;
|
|
2678
2785
|
avgConversationTime: number;
|
|
2786
|
+
newClientConvCount?: number | null;
|
|
2679
2787
|
createdAt: any;
|
|
2680
2788
|
};
|
|
2681
2789
|
export type ConversationReportFragment = {
|
|
@@ -2689,6 +2797,7 @@ export type ConversationReportFragment = {
|
|
|
2689
2797
|
clientMessageCount: number;
|
|
2690
2798
|
avgFirstResponseTime: number;
|
|
2691
2799
|
avgConversationTime: number;
|
|
2800
|
+
newClientConvCount?: number | null;
|
|
2692
2801
|
createdAt: any;
|
|
2693
2802
|
};
|
|
2694
2803
|
export type AgentsReportQueryVariables = Exact<{
|
|
@@ -2708,6 +2817,7 @@ export type AgentsReportQuery = {
|
|
|
2708
2817
|
clientMessageCount: number;
|
|
2709
2818
|
avgFirstResponseTime: number;
|
|
2710
2819
|
avgConversationTime: number;
|
|
2820
|
+
newClientConvCount?: number | null;
|
|
2711
2821
|
createdAt: any;
|
|
2712
2822
|
}> | null;
|
|
2713
2823
|
};
|
|
@@ -2730,6 +2840,7 @@ export type ConvsReportQuery = {
|
|
|
2730
2840
|
clientMessageCount: number;
|
|
2731
2841
|
avgFirstResponseTime: number;
|
|
2732
2842
|
avgConversationTime: number;
|
|
2843
|
+
newClientConvCount?: number | null;
|
|
2733
2844
|
createdAt: any;
|
|
2734
2845
|
}> | null;
|
|
2735
2846
|
};
|
|
@@ -2782,25 +2893,6 @@ export type BroadcastFragment = {
|
|
|
2782
2893
|
failedCount?: number | null;
|
|
2783
2894
|
error?: string | null;
|
|
2784
2895
|
};
|
|
2785
|
-
export type ClientFragment = {
|
|
2786
|
-
__typename?: 'Client';
|
|
2787
|
-
workspaceId: number;
|
|
2788
|
-
id: string;
|
|
2789
|
-
email?: string | null;
|
|
2790
|
-
name?: string | null;
|
|
2791
|
-
surname?: string | null;
|
|
2792
|
-
phone?: string | null;
|
|
2793
|
-
address?: string | null;
|
|
2794
|
-
code?: string | null;
|
|
2795
|
-
city?: string | null;
|
|
2796
|
-
country?: string | null;
|
|
2797
|
-
externalClientId?: string | null;
|
|
2798
|
-
tags?: Array<string> | null;
|
|
2799
|
-
createdAt: any;
|
|
2800
|
-
stageId?: string | null;
|
|
2801
|
-
defaultAgentId?: string | null;
|
|
2802
|
-
deletedAt?: any | null;
|
|
2803
|
-
};
|
|
2804
2896
|
export type ConversationFragment = {
|
|
2805
2897
|
__typename?: 'Conversation';
|
|
2806
2898
|
workspaceId: number;
|
|
@@ -2819,6 +2911,8 @@ export type ConversationFragment = {
|
|
|
2819
2911
|
assigneeId?: string | null;
|
|
2820
2912
|
aiId?: string | null;
|
|
2821
2913
|
aiAssigneed?: boolean | null;
|
|
2914
|
+
broadcastId?: string | null;
|
|
2915
|
+
broadcastName?: string | null;
|
|
2822
2916
|
messages?: Array<{
|
|
2823
2917
|
__typename?: 'Message';
|
|
2824
2918
|
messageId: string;
|
|
@@ -2828,6 +2922,7 @@ export type ConversationFragment = {
|
|
|
2828
2922
|
isAgent: boolean;
|
|
2829
2923
|
agentId?: string | null;
|
|
2830
2924
|
status?: MessageStatus | null;
|
|
2925
|
+
failedReason?: string | null;
|
|
2831
2926
|
externalMessageId?: string | null;
|
|
2832
2927
|
tags?: Array<string> | null;
|
|
2833
2928
|
createdAt: any;
|
|
@@ -2844,6 +2939,7 @@ export type ConversationFragment = {
|
|
|
2844
2939
|
surname?: string | null;
|
|
2845
2940
|
code?: string | null;
|
|
2846
2941
|
phone?: string | null;
|
|
2942
|
+
isDeleted: boolean;
|
|
2847
2943
|
} | null;
|
|
2848
2944
|
assignees?: Array<{
|
|
2849
2945
|
__typename?: 'ConvAssignment';
|
|
@@ -2861,6 +2957,7 @@ export type MessageFragment = {
|
|
|
2861
2957
|
isAgent: boolean;
|
|
2862
2958
|
agentId?: string | null;
|
|
2863
2959
|
status?: MessageStatus | null;
|
|
2960
|
+
failedReason?: string | null;
|
|
2864
2961
|
externalMessageId?: string | null;
|
|
2865
2962
|
tags?: Array<string> | null;
|
|
2866
2963
|
createdAt: any;
|
|
@@ -2913,6 +3010,7 @@ export type AddMessageMutation = {
|
|
|
2913
3010
|
isAgent: boolean;
|
|
2914
3011
|
agentId?: string | null;
|
|
2915
3012
|
status?: MessageStatus | null;
|
|
3013
|
+
failedReason?: string | null;
|
|
2916
3014
|
externalMessageId?: string | null;
|
|
2917
3015
|
tags?: Array<string> | null;
|
|
2918
3016
|
createdAt: any;
|
|
@@ -2991,6 +3089,8 @@ export type AssignConvMutation = {
|
|
|
2991
3089
|
assigneeId?: string | null;
|
|
2992
3090
|
aiId?: string | null;
|
|
2993
3091
|
aiAssigneed?: boolean | null;
|
|
3092
|
+
broadcastId?: string | null;
|
|
3093
|
+
broadcastName?: string | null;
|
|
2994
3094
|
messages?: Array<{
|
|
2995
3095
|
__typename?: 'Message';
|
|
2996
3096
|
messageId: string;
|
|
@@ -3000,6 +3100,7 @@ export type AssignConvMutation = {
|
|
|
3000
3100
|
isAgent: boolean;
|
|
3001
3101
|
agentId?: string | null;
|
|
3002
3102
|
status?: MessageStatus | null;
|
|
3103
|
+
failedReason?: string | null;
|
|
3003
3104
|
externalMessageId?: string | null;
|
|
3004
3105
|
tags?: Array<string> | null;
|
|
3005
3106
|
createdAt: any;
|
|
@@ -3016,6 +3117,7 @@ export type AssignConvMutation = {
|
|
|
3016
3117
|
surname?: string | null;
|
|
3017
3118
|
code?: string | null;
|
|
3018
3119
|
phone?: string | null;
|
|
3120
|
+
isDeleted: boolean;
|
|
3019
3121
|
} | null;
|
|
3020
3122
|
assignees?: Array<{
|
|
3021
3123
|
__typename?: 'ConvAssignment';
|
|
@@ -3075,6 +3177,7 @@ export type BroadcastDeliveryReportQuery = {
|
|
|
3075
3177
|
isAgent: boolean;
|
|
3076
3178
|
agentId?: string | null;
|
|
3077
3179
|
status?: MessageStatus | null;
|
|
3180
|
+
failedReason?: string | null;
|
|
3078
3181
|
externalMessageId?: string | null;
|
|
3079
3182
|
tags?: Array<string> | null;
|
|
3080
3183
|
createdAt: any;
|
|
@@ -3164,55 +3267,6 @@ export type BroadcastsQuery = {
|
|
|
3164
3267
|
} | null;
|
|
3165
3268
|
};
|
|
3166
3269
|
};
|
|
3167
|
-
export type BulkImportContactsMutationVariables = Exact<{
|
|
3168
|
-
input: BulkImportContactsInput;
|
|
3169
|
-
}>;
|
|
3170
|
-
export type BulkImportContactsMutation = {
|
|
3171
|
-
__typename?: 'Mutation';
|
|
3172
|
-
bulkImportContacts: {
|
|
3173
|
-
__typename?: 'BulkImportContactsResult';
|
|
3174
|
-
jobId: string;
|
|
3175
|
-
};
|
|
3176
|
-
};
|
|
3177
|
-
export type BulkImportContactsJobStatusQueryVariables = Exact<{
|
|
3178
|
-
input: BulkImportContactsJobStatusInput;
|
|
3179
|
-
}>;
|
|
3180
|
-
export type BulkImportContactsJobStatusQuery = {
|
|
3181
|
-
__typename?: 'Query';
|
|
3182
|
-
bulkImportContactsJobStatus?: {
|
|
3183
|
-
__typename?: 'BulkImportContactsJobStatus';
|
|
3184
|
-
status: JobStatus;
|
|
3185
|
-
startedAt?: any | null;
|
|
3186
|
-
completedAt?: any | null;
|
|
3187
|
-
error?: string | null;
|
|
3188
|
-
processedCount?: number | null;
|
|
3189
|
-
totalCount?: number | null;
|
|
3190
|
-
totalProcessed?: number | null;
|
|
3191
|
-
success?: number | null;
|
|
3192
|
-
errors?: number | null;
|
|
3193
|
-
skipped?: number | null;
|
|
3194
|
-
} | null;
|
|
3195
|
-
};
|
|
3196
|
-
export type BulkPermanentDeleteClientsMutationVariables = Exact<{
|
|
3197
|
-
input: BulkPermanentDeleteClientsInput;
|
|
3198
|
-
}>;
|
|
3199
|
-
export type BulkPermanentDeleteClientsMutation = {
|
|
3200
|
-
__typename?: 'Mutation';
|
|
3201
|
-
bulkPermanentDeleteClients: {
|
|
3202
|
-
__typename?: 'BulkPermanentDeleteClientsResult';
|
|
3203
|
-
deletedCount: number;
|
|
3204
|
-
};
|
|
3205
|
-
};
|
|
3206
|
-
export type BulkPermanentDeleteClientsByFilterMutationVariables = Exact<{
|
|
3207
|
-
input: BulkPermanentDeleteClientsByFilterInput;
|
|
3208
|
-
}>;
|
|
3209
|
-
export type BulkPermanentDeleteClientsByFilterMutation = {
|
|
3210
|
-
__typename?: 'Mutation';
|
|
3211
|
-
bulkPermanentDeleteClientsByFilter: {
|
|
3212
|
-
__typename?: 'BulkPermanentDeleteClientsResult';
|
|
3213
|
-
deletedCount: number;
|
|
3214
|
-
};
|
|
3215
|
-
};
|
|
3216
3270
|
export type CancelBroadcastMutationVariables = Exact<{
|
|
3217
3271
|
input: BroadcastCancelInput;
|
|
3218
3272
|
}>;
|
|
@@ -3240,91 +3294,6 @@ export type CancelBroadcastMutation = {
|
|
|
3240
3294
|
error?: string | null;
|
|
3241
3295
|
};
|
|
3242
3296
|
};
|
|
3243
|
-
export type ClientQueryVariables = Exact<{
|
|
3244
|
-
input: ClientInput;
|
|
3245
|
-
}>;
|
|
3246
|
-
export type ClientQuery = {
|
|
3247
|
-
__typename?: 'Query';
|
|
3248
|
-
client: {
|
|
3249
|
-
__typename?: 'Client';
|
|
3250
|
-
workspaceId: number;
|
|
3251
|
-
id: string;
|
|
3252
|
-
email?: string | null;
|
|
3253
|
-
name?: string | null;
|
|
3254
|
-
surname?: string | null;
|
|
3255
|
-
phone?: string | null;
|
|
3256
|
-
address?: string | null;
|
|
3257
|
-
code?: string | null;
|
|
3258
|
-
city?: string | null;
|
|
3259
|
-
country?: string | null;
|
|
3260
|
-
externalClientId?: string | null;
|
|
3261
|
-
tags?: Array<string> | null;
|
|
3262
|
-
createdAt: any;
|
|
3263
|
-
stageId?: string | null;
|
|
3264
|
-
defaultAgentId?: string | null;
|
|
3265
|
-
deletedAt?: any | null;
|
|
3266
|
-
};
|
|
3267
|
-
};
|
|
3268
|
-
export type ClientByPhoneQueryVariables = Exact<{
|
|
3269
|
-
input: ClientByPhoneInput;
|
|
3270
|
-
}>;
|
|
3271
|
-
export type ClientByPhoneQuery = {
|
|
3272
|
-
__typename?: 'Query';
|
|
3273
|
-
clientByPhone: {
|
|
3274
|
-
__typename?: 'Client';
|
|
3275
|
-
workspaceId: number;
|
|
3276
|
-
id: string;
|
|
3277
|
-
email?: string | null;
|
|
3278
|
-
name?: string | null;
|
|
3279
|
-
surname?: string | null;
|
|
3280
|
-
phone?: string | null;
|
|
3281
|
-
address?: string | null;
|
|
3282
|
-
code?: string | null;
|
|
3283
|
-
city?: string | null;
|
|
3284
|
-
country?: string | null;
|
|
3285
|
-
externalClientId?: string | null;
|
|
3286
|
-
tags?: Array<string> | null;
|
|
3287
|
-
createdAt: any;
|
|
3288
|
-
stageId?: string | null;
|
|
3289
|
-
defaultAgentId?: string | null;
|
|
3290
|
-
deletedAt?: any | null;
|
|
3291
|
-
};
|
|
3292
|
-
};
|
|
3293
|
-
export type ClientsQueryVariables = Exact<{
|
|
3294
|
-
input: ClientsInput;
|
|
3295
|
-
pageInfo?: InputMaybe<PageInfoInput>;
|
|
3296
|
-
}>;
|
|
3297
|
-
export type ClientsQuery = {
|
|
3298
|
-
__typename?: 'Query';
|
|
3299
|
-
clients: {
|
|
3300
|
-
__typename?: 'ClientsPayload';
|
|
3301
|
-
nodes?: Array<{
|
|
3302
|
-
__typename?: 'Client';
|
|
3303
|
-
workspaceId: number;
|
|
3304
|
-
id: string;
|
|
3305
|
-
email?: string | null;
|
|
3306
|
-
name?: string | null;
|
|
3307
|
-
surname?: string | null;
|
|
3308
|
-
phone?: string | null;
|
|
3309
|
-
address?: string | null;
|
|
3310
|
-
code?: string | null;
|
|
3311
|
-
city?: string | null;
|
|
3312
|
-
country?: string | null;
|
|
3313
|
-
externalClientId?: string | null;
|
|
3314
|
-
tags?: Array<string> | null;
|
|
3315
|
-
createdAt: any;
|
|
3316
|
-
stageId?: string | null;
|
|
3317
|
-
defaultAgentId?: string | null;
|
|
3318
|
-
deletedAt?: any | null;
|
|
3319
|
-
}> | null;
|
|
3320
|
-
pageInfo?: {
|
|
3321
|
-
__typename?: 'PageInfo';
|
|
3322
|
-
hasNextPage: boolean;
|
|
3323
|
-
endCursor?: any | null;
|
|
3324
|
-
count?: number | null;
|
|
3325
|
-
} | null;
|
|
3326
|
-
};
|
|
3327
|
-
};
|
|
3328
3297
|
export type ConvsQueryVariables = Exact<{
|
|
3329
3298
|
input: ConvsInput;
|
|
3330
3299
|
pageInfo?: InputMaybe<PageInfoInput>;
|
|
@@ -3351,6 +3320,8 @@ export type ConvsQuery = {
|
|
|
3351
3320
|
assigneeId?: string | null;
|
|
3352
3321
|
aiId?: string | null;
|
|
3353
3322
|
aiAssigneed?: boolean | null;
|
|
3323
|
+
broadcastId?: string | null;
|
|
3324
|
+
broadcastName?: string | null;
|
|
3354
3325
|
messages?: Array<{
|
|
3355
3326
|
__typename?: 'Message';
|
|
3356
3327
|
messageId: string;
|
|
@@ -3360,6 +3331,7 @@ export type ConvsQuery = {
|
|
|
3360
3331
|
isAgent: boolean;
|
|
3361
3332
|
agentId?: string | null;
|
|
3362
3333
|
status?: MessageStatus | null;
|
|
3334
|
+
failedReason?: string | null;
|
|
3363
3335
|
externalMessageId?: string | null;
|
|
3364
3336
|
tags?: Array<string> | null;
|
|
3365
3337
|
createdAt: any;
|
|
@@ -3376,6 +3348,7 @@ export type ConvsQuery = {
|
|
|
3376
3348
|
surname?: string | null;
|
|
3377
3349
|
code?: string | null;
|
|
3378
3350
|
phone?: string | null;
|
|
3351
|
+
isDeleted: boolean;
|
|
3379
3352
|
} | null;
|
|
3380
3353
|
assignees?: Array<{
|
|
3381
3354
|
__typename?: 'ConvAssignment';
|
|
@@ -3436,31 +3409,6 @@ export type CreateBroadcastMutation = {
|
|
|
3436
3409
|
error?: string | null;
|
|
3437
3410
|
};
|
|
3438
3411
|
};
|
|
3439
|
-
export type CreateClientMutationVariables = Exact<{
|
|
3440
|
-
input: ClientCreateInput;
|
|
3441
|
-
}>;
|
|
3442
|
-
export type CreateClientMutation = {
|
|
3443
|
-
__typename?: 'Mutation';
|
|
3444
|
-
createClient: {
|
|
3445
|
-
__typename?: 'Client';
|
|
3446
|
-
workspaceId: number;
|
|
3447
|
-
id: string;
|
|
3448
|
-
email?: string | null;
|
|
3449
|
-
name?: string | null;
|
|
3450
|
-
surname?: string | null;
|
|
3451
|
-
phone?: string | null;
|
|
3452
|
-
address?: string | null;
|
|
3453
|
-
code?: string | null;
|
|
3454
|
-
city?: string | null;
|
|
3455
|
-
country?: string | null;
|
|
3456
|
-
externalClientId?: string | null;
|
|
3457
|
-
tags?: Array<string> | null;
|
|
3458
|
-
createdAt: any;
|
|
3459
|
-
stageId?: string | null;
|
|
3460
|
-
defaultAgentId?: string | null;
|
|
3461
|
-
deletedAt?: any | null;
|
|
3462
|
-
};
|
|
3463
|
-
};
|
|
3464
3412
|
export type DeleteAgentMutationVariables = Exact<{
|
|
3465
3413
|
input: AgentInput;
|
|
3466
3414
|
}>;
|
|
@@ -3505,79 +3453,31 @@ export type DeleteBroadcastMutation = {
|
|
|
3505
3453
|
error?: string | null;
|
|
3506
3454
|
};
|
|
3507
3455
|
};
|
|
3508
|
-
export type
|
|
3509
|
-
input:
|
|
3456
|
+
export type EndConvMutationVariables = Exact<{
|
|
3457
|
+
input: ConvEndInput;
|
|
3510
3458
|
}>;
|
|
3511
|
-
export type
|
|
3459
|
+
export type EndConvMutation = {
|
|
3512
3460
|
__typename?: 'Mutation';
|
|
3513
|
-
|
|
3514
|
-
__typename?: '
|
|
3461
|
+
endConv: {
|
|
3462
|
+
__typename?: 'Conversation';
|
|
3515
3463
|
workspaceId: number;
|
|
3516
3464
|
id: string;
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
city?: string | null;
|
|
3524
|
-
country?: string | null;
|
|
3525
|
-
externalClientId?: string | null;
|
|
3465
|
+
integrationId: string;
|
|
3466
|
+
integrationType: IntegrationType;
|
|
3467
|
+
clientId: string;
|
|
3468
|
+
ended: boolean;
|
|
3469
|
+
endedBy?: string | null;
|
|
3470
|
+
externalConversationId?: string | null;
|
|
3526
3471
|
tags?: Array<string> | null;
|
|
3527
3472
|
createdAt: any;
|
|
3528
|
-
|
|
3529
|
-
defaultAgentId?: string | null;
|
|
3530
|
-
deletedAt?: any | null;
|
|
3531
|
-
};
|
|
3532
|
-
};
|
|
3533
|
-
export type DeleteClientByExternalIdMutationVariables = Exact<{
|
|
3534
|
-
input: ClientDeleteByExternalIdInput;
|
|
3535
|
-
}>;
|
|
3536
|
-
export type DeleteClientByExternalIdMutation = {
|
|
3537
|
-
__typename?: 'Mutation';
|
|
3538
|
-
deleteClientByExternalId: {
|
|
3539
|
-
__typename?: 'Client';
|
|
3540
|
-
workspaceId: number;
|
|
3541
|
-
id: string;
|
|
3542
|
-
email?: string | null;
|
|
3543
|
-
name?: string | null;
|
|
3544
|
-
surname?: string | null;
|
|
3545
|
-
phone?: string | null;
|
|
3546
|
-
address?: string | null;
|
|
3547
|
-
code?: string | null;
|
|
3548
|
-
city?: string | null;
|
|
3549
|
-
country?: string | null;
|
|
3550
|
-
externalClientId?: string | null;
|
|
3551
|
-
tags?: Array<string> | null;
|
|
3552
|
-
createdAt: any;
|
|
3553
|
-
stageId?: string | null;
|
|
3554
|
-
defaultAgentId?: string | null;
|
|
3555
|
-
deletedAt?: any | null;
|
|
3556
|
-
};
|
|
3557
|
-
};
|
|
3558
|
-
export type EndConvMutationVariables = Exact<{
|
|
3559
|
-
input: ConvEndInput;
|
|
3560
|
-
}>;
|
|
3561
|
-
export type EndConvMutation = {
|
|
3562
|
-
__typename?: 'Mutation';
|
|
3563
|
-
endConv: {
|
|
3564
|
-
__typename?: 'Conversation';
|
|
3565
|
-
workspaceId: number;
|
|
3566
|
-
id: string;
|
|
3567
|
-
integrationId: string;
|
|
3568
|
-
integrationType: IntegrationType;
|
|
3569
|
-
clientId: string;
|
|
3570
|
-
ended: boolean;
|
|
3571
|
-
endedBy?: string | null;
|
|
3572
|
-
externalConversationId?: string | null;
|
|
3573
|
-
tags?: Array<string> | null;
|
|
3574
|
-
createdAt: any;
|
|
3575
|
-
endedAt?: any | null;
|
|
3473
|
+
endedAt?: any | null;
|
|
3576
3474
|
stageId?: string | null;
|
|
3577
3475
|
orderNo?: string | null;
|
|
3578
3476
|
assigneeId?: string | null;
|
|
3579
3477
|
aiId?: string | null;
|
|
3580
3478
|
aiAssigneed?: boolean | null;
|
|
3479
|
+
broadcastId?: string | null;
|
|
3480
|
+
broadcastName?: string | null;
|
|
3581
3481
|
messages?: Array<{
|
|
3582
3482
|
__typename?: 'Message';
|
|
3583
3483
|
messageId: string;
|
|
@@ -3587,6 +3487,7 @@ export type EndConvMutation = {
|
|
|
3587
3487
|
isAgent: boolean;
|
|
3588
3488
|
agentId?: string | null;
|
|
3589
3489
|
status?: MessageStatus | null;
|
|
3490
|
+
failedReason?: string | null;
|
|
3590
3491
|
externalMessageId?: string | null;
|
|
3591
3492
|
tags?: Array<string> | null;
|
|
3592
3493
|
createdAt: any;
|
|
@@ -3603,6 +3504,7 @@ export type EndConvMutation = {
|
|
|
3603
3504
|
surname?: string | null;
|
|
3604
3505
|
code?: string | null;
|
|
3605
3506
|
phone?: string | null;
|
|
3507
|
+
isDeleted: boolean;
|
|
3606
3508
|
} | null;
|
|
3607
3509
|
assignees?: Array<{
|
|
3608
3510
|
__typename?: 'ConvAssignment';
|
|
@@ -3656,6 +3558,7 @@ export type MessagesQuery = {
|
|
|
3656
3558
|
isAgent: boolean;
|
|
3657
3559
|
agentId?: string | null;
|
|
3658
3560
|
status?: MessageStatus | null;
|
|
3561
|
+
failedReason?: string | null;
|
|
3659
3562
|
externalMessageId?: string | null;
|
|
3660
3563
|
tags?: Array<string> | null;
|
|
3661
3564
|
createdAt: any;
|
|
@@ -3725,31 +3628,6 @@ export type PatchBroadcastMutation = {
|
|
|
3725
3628
|
error?: string | null;
|
|
3726
3629
|
};
|
|
3727
3630
|
};
|
|
3728
|
-
export type PatchClientMutationVariables = Exact<{
|
|
3729
|
-
input: ClientPatchInput;
|
|
3730
|
-
}>;
|
|
3731
|
-
export type PatchClientMutation = {
|
|
3732
|
-
__typename?: 'Mutation';
|
|
3733
|
-
patchClient: {
|
|
3734
|
-
__typename?: 'Client';
|
|
3735
|
-
workspaceId: number;
|
|
3736
|
-
id: string;
|
|
3737
|
-
email?: string | null;
|
|
3738
|
-
name?: string | null;
|
|
3739
|
-
surname?: string | null;
|
|
3740
|
-
phone?: string | null;
|
|
3741
|
-
address?: string | null;
|
|
3742
|
-
code?: string | null;
|
|
3743
|
-
city?: string | null;
|
|
3744
|
-
country?: string | null;
|
|
3745
|
-
externalClientId?: string | null;
|
|
3746
|
-
tags?: Array<string> | null;
|
|
3747
|
-
createdAt: any;
|
|
3748
|
-
stageId?: string | null;
|
|
3749
|
-
defaultAgentId?: string | null;
|
|
3750
|
-
deletedAt?: any | null;
|
|
3751
|
-
};
|
|
3752
|
-
};
|
|
3753
3631
|
export type PatchConvMutationVariables = Exact<{
|
|
3754
3632
|
input: ConvPatchInput;
|
|
3755
3633
|
}>;
|
|
@@ -3773,6 +3651,8 @@ export type PatchConvMutation = {
|
|
|
3773
3651
|
assigneeId?: string | null;
|
|
3774
3652
|
aiId?: string | null;
|
|
3775
3653
|
aiAssigneed?: boolean | null;
|
|
3654
|
+
broadcastId?: string | null;
|
|
3655
|
+
broadcastName?: string | null;
|
|
3776
3656
|
messages?: Array<{
|
|
3777
3657
|
__typename?: 'Message';
|
|
3778
3658
|
messageId: string;
|
|
@@ -3782,6 +3662,7 @@ export type PatchConvMutation = {
|
|
|
3782
3662
|
isAgent: boolean;
|
|
3783
3663
|
agentId?: string | null;
|
|
3784
3664
|
status?: MessageStatus | null;
|
|
3665
|
+
failedReason?: string | null;
|
|
3785
3666
|
externalMessageId?: string | null;
|
|
3786
3667
|
tags?: Array<string> | null;
|
|
3787
3668
|
createdAt: any;
|
|
@@ -3798,6 +3679,7 @@ export type PatchConvMutation = {
|
|
|
3798
3679
|
surname?: string | null;
|
|
3799
3680
|
code?: string | null;
|
|
3800
3681
|
phone?: string | null;
|
|
3682
|
+
isDeleted: boolean;
|
|
3801
3683
|
} | null;
|
|
3802
3684
|
assignees?: Array<{
|
|
3803
3685
|
__typename?: 'ConvAssignment';
|
|
@@ -3830,6 +3712,8 @@ export type StartConvMutation = {
|
|
|
3830
3712
|
assigneeId?: string | null;
|
|
3831
3713
|
aiId?: string | null;
|
|
3832
3714
|
aiAssigneed?: boolean | null;
|
|
3715
|
+
broadcastId?: string | null;
|
|
3716
|
+
broadcastName?: string | null;
|
|
3833
3717
|
messages?: Array<{
|
|
3834
3718
|
__typename?: 'Message';
|
|
3835
3719
|
messageId: string;
|
|
@@ -3839,6 +3723,7 @@ export type StartConvMutation = {
|
|
|
3839
3723
|
isAgent: boolean;
|
|
3840
3724
|
agentId?: string | null;
|
|
3841
3725
|
status?: MessageStatus | null;
|
|
3726
|
+
failedReason?: string | null;
|
|
3842
3727
|
externalMessageId?: string | null;
|
|
3843
3728
|
tags?: Array<string> | null;
|
|
3844
3729
|
createdAt: any;
|
|
@@ -3855,6 +3740,7 @@ export type StartConvMutation = {
|
|
|
3855
3740
|
surname?: string | null;
|
|
3856
3741
|
code?: string | null;
|
|
3857
3742
|
phone?: string | null;
|
|
3743
|
+
isDeleted: boolean;
|
|
3858
3744
|
} | null;
|
|
3859
3745
|
assignees?: Array<{
|
|
3860
3746
|
__typename?: 'ConvAssignment';
|
|
@@ -3887,6 +3773,7 @@ export type TagClientMutation = {
|
|
|
3887
3773
|
stageId?: string | null;
|
|
3888
3774
|
defaultAgentId?: string | null;
|
|
3889
3775
|
deletedAt?: any | null;
|
|
3776
|
+
archivedBy?: string | null;
|
|
3890
3777
|
};
|
|
3891
3778
|
};
|
|
3892
3779
|
export type TagConvMutationVariables = Exact<{
|
|
@@ -3912,6 +3799,8 @@ export type TagConvMutation = {
|
|
|
3912
3799
|
assigneeId?: string | null;
|
|
3913
3800
|
aiId?: string | null;
|
|
3914
3801
|
aiAssigneed?: boolean | null;
|
|
3802
|
+
broadcastId?: string | null;
|
|
3803
|
+
broadcastName?: string | null;
|
|
3915
3804
|
messages?: Array<{
|
|
3916
3805
|
__typename?: 'Message';
|
|
3917
3806
|
messageId: string;
|
|
@@ -3921,6 +3810,7 @@ export type TagConvMutation = {
|
|
|
3921
3810
|
isAgent: boolean;
|
|
3922
3811
|
agentId?: string | null;
|
|
3923
3812
|
status?: MessageStatus | null;
|
|
3813
|
+
failedReason?: string | null;
|
|
3924
3814
|
externalMessageId?: string | null;
|
|
3925
3815
|
tags?: Array<string> | null;
|
|
3926
3816
|
createdAt: any;
|
|
@@ -3937,6 +3827,7 @@ export type TagConvMutation = {
|
|
|
3937
3827
|
surname?: string | null;
|
|
3938
3828
|
code?: string | null;
|
|
3939
3829
|
phone?: string | null;
|
|
3830
|
+
isDeleted: boolean;
|
|
3940
3831
|
} | null;
|
|
3941
3832
|
assignees?: Array<{
|
|
3942
3833
|
__typename?: 'ConvAssignment';
|
|
@@ -3962,56 +3853,6 @@ export type TagsQuery = {
|
|
|
3962
3853
|
}> | null;
|
|
3963
3854
|
};
|
|
3964
3855
|
};
|
|
3965
|
-
export type UndeleteClientMutationVariables = Exact<{
|
|
3966
|
-
input: ClientInput;
|
|
3967
|
-
}>;
|
|
3968
|
-
export type UndeleteClientMutation = {
|
|
3969
|
-
__typename?: 'Mutation';
|
|
3970
|
-
undeleteClient: {
|
|
3971
|
-
__typename?: 'Client';
|
|
3972
|
-
workspaceId: number;
|
|
3973
|
-
id: string;
|
|
3974
|
-
email?: string | null;
|
|
3975
|
-
name?: string | null;
|
|
3976
|
-
surname?: string | null;
|
|
3977
|
-
phone?: string | null;
|
|
3978
|
-
address?: string | null;
|
|
3979
|
-
code?: string | null;
|
|
3980
|
-
city?: string | null;
|
|
3981
|
-
country?: string | null;
|
|
3982
|
-
externalClientId?: string | null;
|
|
3983
|
-
tags?: Array<string> | null;
|
|
3984
|
-
createdAt: any;
|
|
3985
|
-
stageId?: string | null;
|
|
3986
|
-
defaultAgentId?: string | null;
|
|
3987
|
-
deletedAt?: any | null;
|
|
3988
|
-
};
|
|
3989
|
-
};
|
|
3990
|
-
export type UndeleteClientByExternalIdMutationVariables = Exact<{
|
|
3991
|
-
input: ClientDeleteByExternalIdInput;
|
|
3992
|
-
}>;
|
|
3993
|
-
export type UndeleteClientByExternalIdMutation = {
|
|
3994
|
-
__typename?: 'Mutation';
|
|
3995
|
-
undeleteClientByExternalId: {
|
|
3996
|
-
__typename?: 'Client';
|
|
3997
|
-
workspaceId: number;
|
|
3998
|
-
id: string;
|
|
3999
|
-
email?: string | null;
|
|
4000
|
-
name?: string | null;
|
|
4001
|
-
surname?: string | null;
|
|
4002
|
-
phone?: string | null;
|
|
4003
|
-
address?: string | null;
|
|
4004
|
-
code?: string | null;
|
|
4005
|
-
city?: string | null;
|
|
4006
|
-
country?: string | null;
|
|
4007
|
-
externalClientId?: string | null;
|
|
4008
|
-
tags?: Array<string> | null;
|
|
4009
|
-
createdAt: any;
|
|
4010
|
-
stageId?: string | null;
|
|
4011
|
-
defaultAgentId?: string | null;
|
|
4012
|
-
deletedAt?: any | null;
|
|
4013
|
-
};
|
|
4014
|
-
};
|
|
4015
3856
|
export type UntagClientMutationVariables = Exact<{
|
|
4016
3857
|
input: ClientTagInput;
|
|
4017
3858
|
}>;
|
|
@@ -4035,6 +3876,7 @@ export type UntagClientMutation = {
|
|
|
4035
3876
|
stageId?: string | null;
|
|
4036
3877
|
defaultAgentId?: string | null;
|
|
4037
3878
|
deletedAt?: any | null;
|
|
3879
|
+
archivedBy?: string | null;
|
|
4038
3880
|
};
|
|
4039
3881
|
};
|
|
4040
3882
|
export type UntagConvMutationVariables = Exact<{
|
|
@@ -4060,6 +3902,8 @@ export type UntagConvMutation = {
|
|
|
4060
3902
|
assigneeId?: string | null;
|
|
4061
3903
|
aiId?: string | null;
|
|
4062
3904
|
aiAssigneed?: boolean | null;
|
|
3905
|
+
broadcastId?: string | null;
|
|
3906
|
+
broadcastName?: string | null;
|
|
4063
3907
|
messages?: Array<{
|
|
4064
3908
|
__typename?: 'Message';
|
|
4065
3909
|
messageId: string;
|
|
@@ -4069,6 +3913,7 @@ export type UntagConvMutation = {
|
|
|
4069
3913
|
isAgent: boolean;
|
|
4070
3914
|
agentId?: string | null;
|
|
4071
3915
|
status?: MessageStatus | null;
|
|
3916
|
+
failedReason?: string | null;
|
|
4072
3917
|
externalMessageId?: string | null;
|
|
4073
3918
|
tags?: Array<string> | null;
|
|
4074
3919
|
createdAt: any;
|
|
@@ -4085,6 +3930,7 @@ export type UntagConvMutation = {
|
|
|
4085
3930
|
surname?: string | null;
|
|
4086
3931
|
code?: string | null;
|
|
4087
3932
|
phone?: string | null;
|
|
3933
|
+
isDeleted: boolean;
|
|
4088
3934
|
} | null;
|
|
4089
3935
|
assignees?: Array<{
|
|
4090
3936
|
__typename?: 'ConvAssignment';
|
|
@@ -4094,23 +3940,6 @@ export type UntagConvMutation = {
|
|
|
4094
3940
|
} | null> | null;
|
|
4095
3941
|
};
|
|
4096
3942
|
};
|
|
4097
|
-
export type ValidateBulkImportContactsQueryVariables = Exact<{
|
|
4098
|
-
input: ValidateBulkImportContactsInput;
|
|
4099
|
-
}>;
|
|
4100
|
-
export type ValidateBulkImportContactsQuery = {
|
|
4101
|
-
__typename?: 'Query';
|
|
4102
|
-
validateBulkImportContacts: {
|
|
4103
|
-
__typename?: 'ValidateBulkImportContactsResult';
|
|
4104
|
-
totalRows: number;
|
|
4105
|
-
validRows: number;
|
|
4106
|
-
invalidRows: number;
|
|
4107
|
-
errors: Array<{
|
|
4108
|
-
__typename?: 'ValidationError';
|
|
4109
|
-
row: number;
|
|
4110
|
-
message: string;
|
|
4111
|
-
}>;
|
|
4112
|
-
};
|
|
4113
|
-
};
|
|
4114
3943
|
export type WabaMessageTemplateDetailsQueryVariables = Exact<{
|
|
4115
3944
|
input: WabaMessageTemplateDetailsInput;
|
|
4116
3945
|
}>;
|
|
@@ -4147,107 +3976,497 @@ export type WabaMessageTemplatesQuery = {
|
|
|
4147
3976
|
}> | null;
|
|
4148
3977
|
};
|
|
4149
3978
|
};
|
|
4150
|
-
export type
|
|
4151
|
-
__typename?: '
|
|
4152
|
-
workspaceId: number;
|
|
4153
|
-
id: string;
|
|
4154
|
-
name: string;
|
|
4155
|
-
type: AiType;
|
|
4156
|
-
createdAt: any;
|
|
4157
|
-
deletedAt?: any | null;
|
|
4158
|
-
};
|
|
4159
|
-
export type ApiKeyFragment = {
|
|
4160
|
-
__typename?: 'ApiKey';
|
|
4161
|
-
workspaceId: number;
|
|
4162
|
-
id: string;
|
|
4163
|
-
key: string;
|
|
4164
|
-
label: string;
|
|
4165
|
-
createdAt: any;
|
|
4166
|
-
};
|
|
4167
|
-
export type IntegrationFragment = {
|
|
4168
|
-
__typename?: 'Integration';
|
|
3979
|
+
export type ClientFragment = {
|
|
3980
|
+
__typename?: 'Client';
|
|
4169
3981
|
workspaceId: number;
|
|
4170
3982
|
id: string;
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
3983
|
+
email?: string | null;
|
|
3984
|
+
name?: string | null;
|
|
3985
|
+
surname?: string | null;
|
|
3986
|
+
phone?: string | null;
|
|
3987
|
+
address?: string | null;
|
|
3988
|
+
code?: string | null;
|
|
3989
|
+
city?: string | null;
|
|
3990
|
+
country?: string | null;
|
|
3991
|
+
externalClientId?: string | null;
|
|
3992
|
+
tags?: Array<string> | null;
|
|
4175
3993
|
createdAt: any;
|
|
3994
|
+
stageId?: string | null;
|
|
3995
|
+
defaultAgentId?: string | null;
|
|
4176
3996
|
deletedAt?: any | null;
|
|
4177
|
-
|
|
4178
|
-
};
|
|
4179
|
-
export type WebhookFragment = {
|
|
4180
|
-
__typename?: 'Webhook';
|
|
4181
|
-
workspaceId: number;
|
|
4182
|
-
id: string;
|
|
4183
|
-
label: string;
|
|
4184
|
-
url: string;
|
|
4185
|
-
event: WebhookEvent;
|
|
4186
|
-
createdAt: any;
|
|
3997
|
+
archivedBy?: string | null;
|
|
4187
3998
|
};
|
|
4188
|
-
export type
|
|
4189
|
-
input:
|
|
3999
|
+
export type BulkDeleteClientsMutationVariables = Exact<{
|
|
4000
|
+
input: BulkPermanentDeleteClientsInput;
|
|
4190
4001
|
}>;
|
|
4191
|
-
export type
|
|
4192
|
-
__typename?: '
|
|
4193
|
-
|
|
4194
|
-
__typename?: '
|
|
4195
|
-
|
|
4196
|
-
id: string;
|
|
4197
|
-
name: string;
|
|
4198
|
-
type: AiType;
|
|
4199
|
-
createdAt: any;
|
|
4200
|
-
deletedAt?: any | null;
|
|
4002
|
+
export type BulkDeleteClientsMutation = {
|
|
4003
|
+
__typename?: 'Mutation';
|
|
4004
|
+
bulkDeleteClients: {
|
|
4005
|
+
__typename?: 'BulkPermanentDeleteClientsResult';
|
|
4006
|
+
deletedCount: number;
|
|
4201
4007
|
};
|
|
4202
4008
|
};
|
|
4203
|
-
export type
|
|
4204
|
-
input:
|
|
4009
|
+
export type BulkImportContactsMutationVariables = Exact<{
|
|
4010
|
+
input: BulkImportContactsInput;
|
|
4205
4011
|
}>;
|
|
4206
|
-
export type
|
|
4207
|
-
__typename?: '
|
|
4208
|
-
|
|
4209
|
-
__typename?: '
|
|
4210
|
-
|
|
4211
|
-
__typename?: 'AI';
|
|
4212
|
-
workspaceId: number;
|
|
4213
|
-
id: string;
|
|
4214
|
-
name: string;
|
|
4215
|
-
type: AiType;
|
|
4216
|
-
createdAt: any;
|
|
4217
|
-
deletedAt?: any | null;
|
|
4218
|
-
}> | null;
|
|
4012
|
+
export type BulkImportContactsMutation = {
|
|
4013
|
+
__typename?: 'Mutation';
|
|
4014
|
+
bulkImportContacts: {
|
|
4015
|
+
__typename?: 'BulkImportContactsResult';
|
|
4016
|
+
jobId: string;
|
|
4219
4017
|
};
|
|
4220
4018
|
};
|
|
4221
|
-
export type
|
|
4222
|
-
input:
|
|
4019
|
+
export type BulkImportContactsJobStatusQueryVariables = Exact<{
|
|
4020
|
+
input: BulkImportContactsJobStatusInput;
|
|
4223
4021
|
}>;
|
|
4224
|
-
export type
|
|
4022
|
+
export type BulkImportContactsJobStatusQuery = {
|
|
4225
4023
|
__typename?: 'Query';
|
|
4226
|
-
|
|
4227
|
-
__typename?: '
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4024
|
+
bulkImportContactsJobStatus?: {
|
|
4025
|
+
__typename?: 'BulkImportContactsJobStatus';
|
|
4026
|
+
status: JobStatus;
|
|
4027
|
+
startedAt?: any | null;
|
|
4028
|
+
completedAt?: any | null;
|
|
4029
|
+
error?: string | null;
|
|
4030
|
+
processedCount?: number | null;
|
|
4031
|
+
totalCount?: number | null;
|
|
4032
|
+
totalProcessed?: number | null;
|
|
4033
|
+
success?: number | null;
|
|
4034
|
+
errors?: number | null;
|
|
4035
|
+
skipped?: number | null;
|
|
4036
|
+
} | null;
|
|
4037
|
+
};
|
|
4038
|
+
export type BulkPermanentDeleteClientsMutationVariables = Exact<{
|
|
4039
|
+
input: BulkPermanentDeleteClientsInput;
|
|
4040
|
+
}>;
|
|
4041
|
+
export type BulkPermanentDeleteClientsMutation = {
|
|
4042
|
+
__typename?: 'Mutation';
|
|
4043
|
+
bulkPermanentDeleteClients: {
|
|
4044
|
+
__typename?: 'BulkPermanentDeleteClientsResult';
|
|
4045
|
+
deletedCount: number;
|
|
4236
4046
|
};
|
|
4237
4047
|
};
|
|
4238
|
-
export type
|
|
4239
|
-
input:
|
|
4048
|
+
export type BulkPermanentDeleteClientsByFilterMutationVariables = Exact<{
|
|
4049
|
+
input: BulkPermanentDeleteClientsByFilterInput;
|
|
4240
4050
|
}>;
|
|
4241
|
-
export type
|
|
4051
|
+
export type BulkPermanentDeleteClientsByFilterMutation = {
|
|
4242
4052
|
__typename?: 'Mutation';
|
|
4243
|
-
|
|
4053
|
+
bulkPermanentDeleteClientsByFilter: {
|
|
4054
|
+
__typename?: 'BulkPermanentDeleteClientsResult';
|
|
4055
|
+
deletedCount: number;
|
|
4056
|
+
};
|
|
4244
4057
|
};
|
|
4245
|
-
export type
|
|
4246
|
-
input:
|
|
4058
|
+
export type BulkUndeleteClientsMutationVariables = Exact<{
|
|
4059
|
+
input: BulkPermanentDeleteClientsInput;
|
|
4247
4060
|
}>;
|
|
4248
|
-
export type
|
|
4061
|
+
export type BulkUndeleteClientsMutation = {
|
|
4249
4062
|
__typename?: 'Mutation';
|
|
4250
|
-
|
|
4063
|
+
bulkUndeleteClients: {
|
|
4064
|
+
__typename?: 'BulkPermanentDeleteClientsResult';
|
|
4065
|
+
deletedCount: number;
|
|
4066
|
+
};
|
|
4067
|
+
};
|
|
4068
|
+
export type ClientQueryVariables = Exact<{
|
|
4069
|
+
input: ClientInput;
|
|
4070
|
+
}>;
|
|
4071
|
+
export type ClientQuery = {
|
|
4072
|
+
__typename?: 'Query';
|
|
4073
|
+
client: {
|
|
4074
|
+
__typename?: 'Client';
|
|
4075
|
+
workspaceId: number;
|
|
4076
|
+
id: string;
|
|
4077
|
+
email?: string | null;
|
|
4078
|
+
name?: string | null;
|
|
4079
|
+
surname?: string | null;
|
|
4080
|
+
phone?: string | null;
|
|
4081
|
+
address?: string | null;
|
|
4082
|
+
code?: string | null;
|
|
4083
|
+
city?: string | null;
|
|
4084
|
+
country?: string | null;
|
|
4085
|
+
externalClientId?: string | null;
|
|
4086
|
+
tags?: Array<string> | null;
|
|
4087
|
+
createdAt: any;
|
|
4088
|
+
stageId?: string | null;
|
|
4089
|
+
defaultAgentId?: string | null;
|
|
4090
|
+
deletedAt?: any | null;
|
|
4091
|
+
archivedBy?: string | null;
|
|
4092
|
+
};
|
|
4093
|
+
};
|
|
4094
|
+
export type ClientByPhoneQueryVariables = Exact<{
|
|
4095
|
+
input: ClientByPhoneInput;
|
|
4096
|
+
}>;
|
|
4097
|
+
export type ClientByPhoneQuery = {
|
|
4098
|
+
__typename?: 'Query';
|
|
4099
|
+
clientByPhone: {
|
|
4100
|
+
__typename?: 'Client';
|
|
4101
|
+
workspaceId: number;
|
|
4102
|
+
id: string;
|
|
4103
|
+
email?: string | null;
|
|
4104
|
+
name?: string | null;
|
|
4105
|
+
surname?: string | null;
|
|
4106
|
+
phone?: string | null;
|
|
4107
|
+
address?: string | null;
|
|
4108
|
+
code?: string | null;
|
|
4109
|
+
city?: string | null;
|
|
4110
|
+
country?: string | null;
|
|
4111
|
+
externalClientId?: string | null;
|
|
4112
|
+
tags?: Array<string> | null;
|
|
4113
|
+
createdAt: any;
|
|
4114
|
+
stageId?: string | null;
|
|
4115
|
+
defaultAgentId?: string | null;
|
|
4116
|
+
deletedAt?: any | null;
|
|
4117
|
+
archivedBy?: string | null;
|
|
4118
|
+
};
|
|
4119
|
+
};
|
|
4120
|
+
export type ClientsQueryVariables = Exact<{
|
|
4121
|
+
input: ClientsInput;
|
|
4122
|
+
pageInfo?: InputMaybe<PageInfoInput>;
|
|
4123
|
+
}>;
|
|
4124
|
+
export type ClientsQuery = {
|
|
4125
|
+
__typename?: 'Query';
|
|
4126
|
+
clients: {
|
|
4127
|
+
__typename?: 'ClientsPayload';
|
|
4128
|
+
nodes?: Array<{
|
|
4129
|
+
__typename?: 'Client';
|
|
4130
|
+
workspaceId: number;
|
|
4131
|
+
id: string;
|
|
4132
|
+
email?: string | null;
|
|
4133
|
+
name?: string | null;
|
|
4134
|
+
surname?: string | null;
|
|
4135
|
+
phone?: string | null;
|
|
4136
|
+
address?: string | null;
|
|
4137
|
+
code?: string | null;
|
|
4138
|
+
city?: string | null;
|
|
4139
|
+
country?: string | null;
|
|
4140
|
+
externalClientId?: string | null;
|
|
4141
|
+
tags?: Array<string> | null;
|
|
4142
|
+
createdAt: any;
|
|
4143
|
+
stageId?: string | null;
|
|
4144
|
+
defaultAgentId?: string | null;
|
|
4145
|
+
deletedAt?: any | null;
|
|
4146
|
+
archivedBy?: string | null;
|
|
4147
|
+
}> | null;
|
|
4148
|
+
pageInfo?: {
|
|
4149
|
+
__typename?: 'PageInfo';
|
|
4150
|
+
hasNextPage: boolean;
|
|
4151
|
+
endCursor?: any | null;
|
|
4152
|
+
count?: number | null;
|
|
4153
|
+
} | null;
|
|
4154
|
+
};
|
|
4155
|
+
};
|
|
4156
|
+
export type CreateClientMutationVariables = Exact<{
|
|
4157
|
+
input: ClientCreateInput;
|
|
4158
|
+
}>;
|
|
4159
|
+
export type CreateClientMutation = {
|
|
4160
|
+
__typename?: 'Mutation';
|
|
4161
|
+
createClient: {
|
|
4162
|
+
__typename?: 'Client';
|
|
4163
|
+
workspaceId: number;
|
|
4164
|
+
id: string;
|
|
4165
|
+
email?: string | null;
|
|
4166
|
+
name?: string | null;
|
|
4167
|
+
surname?: string | null;
|
|
4168
|
+
phone?: string | null;
|
|
4169
|
+
address?: string | null;
|
|
4170
|
+
code?: string | null;
|
|
4171
|
+
city?: string | null;
|
|
4172
|
+
country?: string | null;
|
|
4173
|
+
externalClientId?: string | null;
|
|
4174
|
+
tags?: Array<string> | null;
|
|
4175
|
+
createdAt: any;
|
|
4176
|
+
stageId?: string | null;
|
|
4177
|
+
defaultAgentId?: string | null;
|
|
4178
|
+
deletedAt?: any | null;
|
|
4179
|
+
archivedBy?: string | null;
|
|
4180
|
+
};
|
|
4181
|
+
};
|
|
4182
|
+
export type DeleteClientMutationVariables = Exact<{
|
|
4183
|
+
input: ClientInput;
|
|
4184
|
+
}>;
|
|
4185
|
+
export type DeleteClientMutation = {
|
|
4186
|
+
__typename?: 'Mutation';
|
|
4187
|
+
deleteClient: {
|
|
4188
|
+
__typename?: 'Client';
|
|
4189
|
+
workspaceId: number;
|
|
4190
|
+
id: string;
|
|
4191
|
+
email?: string | null;
|
|
4192
|
+
name?: string | null;
|
|
4193
|
+
surname?: string | null;
|
|
4194
|
+
phone?: string | null;
|
|
4195
|
+
address?: string | null;
|
|
4196
|
+
code?: string | null;
|
|
4197
|
+
city?: string | null;
|
|
4198
|
+
country?: string | null;
|
|
4199
|
+
externalClientId?: string | null;
|
|
4200
|
+
tags?: Array<string> | null;
|
|
4201
|
+
createdAt: any;
|
|
4202
|
+
stageId?: string | null;
|
|
4203
|
+
defaultAgentId?: string | null;
|
|
4204
|
+
deletedAt?: any | null;
|
|
4205
|
+
archivedBy?: string | null;
|
|
4206
|
+
};
|
|
4207
|
+
};
|
|
4208
|
+
export type DeleteClientByExternalIdMutationVariables = Exact<{
|
|
4209
|
+
input: ClientDeleteByExternalIdInput;
|
|
4210
|
+
}>;
|
|
4211
|
+
export type DeleteClientByExternalIdMutation = {
|
|
4212
|
+
__typename?: 'Mutation';
|
|
4213
|
+
deleteClientByExternalId: {
|
|
4214
|
+
__typename?: 'Client';
|
|
4215
|
+
workspaceId: number;
|
|
4216
|
+
id: string;
|
|
4217
|
+
email?: string | null;
|
|
4218
|
+
name?: string | null;
|
|
4219
|
+
surname?: string | null;
|
|
4220
|
+
phone?: string | null;
|
|
4221
|
+
address?: string | null;
|
|
4222
|
+
code?: string | null;
|
|
4223
|
+
city?: string | null;
|
|
4224
|
+
country?: string | null;
|
|
4225
|
+
externalClientId?: string | null;
|
|
4226
|
+
tags?: Array<string> | null;
|
|
4227
|
+
createdAt: any;
|
|
4228
|
+
stageId?: string | null;
|
|
4229
|
+
defaultAgentId?: string | null;
|
|
4230
|
+
deletedAt?: any | null;
|
|
4231
|
+
archivedBy?: string | null;
|
|
4232
|
+
};
|
|
4233
|
+
};
|
|
4234
|
+
export type PatchClientMutationVariables = Exact<{
|
|
4235
|
+
input: ClientPatchInput;
|
|
4236
|
+
}>;
|
|
4237
|
+
export type PatchClientMutation = {
|
|
4238
|
+
__typename?: 'Mutation';
|
|
4239
|
+
patchClient: {
|
|
4240
|
+
__typename?: 'Client';
|
|
4241
|
+
workspaceId: number;
|
|
4242
|
+
id: string;
|
|
4243
|
+
email?: string | null;
|
|
4244
|
+
name?: string | null;
|
|
4245
|
+
surname?: string | null;
|
|
4246
|
+
phone?: string | null;
|
|
4247
|
+
address?: string | null;
|
|
4248
|
+
code?: string | null;
|
|
4249
|
+
city?: string | null;
|
|
4250
|
+
country?: string | null;
|
|
4251
|
+
externalClientId?: string | null;
|
|
4252
|
+
tags?: Array<string> | null;
|
|
4253
|
+
createdAt: any;
|
|
4254
|
+
stageId?: string | null;
|
|
4255
|
+
defaultAgentId?: string | null;
|
|
4256
|
+
deletedAt?: any | null;
|
|
4257
|
+
archivedBy?: string | null;
|
|
4258
|
+
};
|
|
4259
|
+
};
|
|
4260
|
+
export type UndeleteClientMutationVariables = Exact<{
|
|
4261
|
+
input: ClientInput;
|
|
4262
|
+
}>;
|
|
4263
|
+
export type UndeleteClientMutation = {
|
|
4264
|
+
__typename?: 'Mutation';
|
|
4265
|
+
undeleteClient: {
|
|
4266
|
+
__typename?: 'Client';
|
|
4267
|
+
workspaceId: number;
|
|
4268
|
+
id: string;
|
|
4269
|
+
email?: string | null;
|
|
4270
|
+
name?: string | null;
|
|
4271
|
+
surname?: string | null;
|
|
4272
|
+
phone?: string | null;
|
|
4273
|
+
address?: string | null;
|
|
4274
|
+
code?: string | null;
|
|
4275
|
+
city?: string | null;
|
|
4276
|
+
country?: string | null;
|
|
4277
|
+
externalClientId?: string | null;
|
|
4278
|
+
tags?: Array<string> | null;
|
|
4279
|
+
createdAt: any;
|
|
4280
|
+
stageId?: string | null;
|
|
4281
|
+
defaultAgentId?: string | null;
|
|
4282
|
+
deletedAt?: any | null;
|
|
4283
|
+
archivedBy?: string | null;
|
|
4284
|
+
};
|
|
4285
|
+
};
|
|
4286
|
+
export type UndeleteClientByExternalIdMutationVariables = Exact<{
|
|
4287
|
+
input: ClientDeleteByExternalIdInput;
|
|
4288
|
+
}>;
|
|
4289
|
+
export type UndeleteClientByExternalIdMutation = {
|
|
4290
|
+
__typename?: 'Mutation';
|
|
4291
|
+
undeleteClientByExternalId: {
|
|
4292
|
+
__typename?: 'Client';
|
|
4293
|
+
workspaceId: number;
|
|
4294
|
+
id: string;
|
|
4295
|
+
email?: string | null;
|
|
4296
|
+
name?: string | null;
|
|
4297
|
+
surname?: string | null;
|
|
4298
|
+
phone?: string | null;
|
|
4299
|
+
address?: string | null;
|
|
4300
|
+
code?: string | null;
|
|
4301
|
+
city?: string | null;
|
|
4302
|
+
country?: string | null;
|
|
4303
|
+
externalClientId?: string | null;
|
|
4304
|
+
tags?: Array<string> | null;
|
|
4305
|
+
createdAt: any;
|
|
4306
|
+
stageId?: string | null;
|
|
4307
|
+
defaultAgentId?: string | null;
|
|
4308
|
+
deletedAt?: any | null;
|
|
4309
|
+
archivedBy?: string | null;
|
|
4310
|
+
};
|
|
4311
|
+
};
|
|
4312
|
+
export type ValidateBulkImportContactsQueryVariables = Exact<{
|
|
4313
|
+
input: ValidateBulkImportContactsInput;
|
|
4314
|
+
}>;
|
|
4315
|
+
export type ValidateBulkImportContactsQuery = {
|
|
4316
|
+
__typename?: 'Query';
|
|
4317
|
+
validateBulkImportContacts: {
|
|
4318
|
+
__typename?: 'ValidateBulkImportContactsResult';
|
|
4319
|
+
totalRows: number;
|
|
4320
|
+
validRows: number;
|
|
4321
|
+
invalidRows: number;
|
|
4322
|
+
errors: Array<{
|
|
4323
|
+
__typename?: 'ValidationError';
|
|
4324
|
+
row: number;
|
|
4325
|
+
message: string;
|
|
4326
|
+
}>;
|
|
4327
|
+
};
|
|
4328
|
+
};
|
|
4329
|
+
export type AiFragment = {
|
|
4330
|
+
__typename?: 'AI';
|
|
4331
|
+
workspaceId: number;
|
|
4332
|
+
id: string;
|
|
4333
|
+
name: string;
|
|
4334
|
+
type: AiType;
|
|
4335
|
+
createdAt: any;
|
|
4336
|
+
deletedAt?: any | null;
|
|
4337
|
+
integrationProperties?: {
|
|
4338
|
+
__typename?: 'IntegrationProperties';
|
|
4339
|
+
model?: string | null;
|
|
4340
|
+
version?: string | null;
|
|
4341
|
+
} | null;
|
|
4342
|
+
configuration?: {
|
|
4343
|
+
__typename?: 'Configurations';
|
|
4344
|
+
askForName?: boolean | null;
|
|
4345
|
+
askForSurname?: boolean | null;
|
|
4346
|
+
askForEmail?: boolean | null;
|
|
4347
|
+
askForCity?: boolean | null;
|
|
4348
|
+
askForAddress?: boolean | null;
|
|
4349
|
+
} | null;
|
|
4350
|
+
};
|
|
4351
|
+
export type ApiKeyFragment = {
|
|
4352
|
+
__typename?: 'ApiKey';
|
|
4353
|
+
workspaceId: number;
|
|
4354
|
+
id: string;
|
|
4355
|
+
key: string;
|
|
4356
|
+
label: string;
|
|
4357
|
+
createdAt: any;
|
|
4358
|
+
};
|
|
4359
|
+
export type IntegrationFragment = {
|
|
4360
|
+
__typename?: 'Integration';
|
|
4361
|
+
workspaceId: number;
|
|
4362
|
+
id: string;
|
|
4363
|
+
name: string;
|
|
4364
|
+
identifier?: string | null;
|
|
4365
|
+
type: IntegrationType;
|
|
4366
|
+
properties?: any | null;
|
|
4367
|
+
state: IntegrationState;
|
|
4368
|
+
createdAt: any;
|
|
4369
|
+
deletedAt?: any | null;
|
|
4370
|
+
patchedAt?: any | null;
|
|
4371
|
+
};
|
|
4372
|
+
export type WebhookFragment = {
|
|
4373
|
+
__typename?: 'Webhook';
|
|
4374
|
+
workspaceId: number;
|
|
4375
|
+
id: string;
|
|
4376
|
+
label: string;
|
|
4377
|
+
url: string;
|
|
4378
|
+
event: WebhookEvent;
|
|
4379
|
+
createdAt: any;
|
|
4380
|
+
};
|
|
4381
|
+
export type AiQueryVariables = Exact<{
|
|
4382
|
+
input: AiInput;
|
|
4383
|
+
}>;
|
|
4384
|
+
export type AiQuery = {
|
|
4385
|
+
__typename?: 'Query';
|
|
4386
|
+
ai: {
|
|
4387
|
+
__typename?: 'AI';
|
|
4388
|
+
workspaceId: number;
|
|
4389
|
+
id: string;
|
|
4390
|
+
name: string;
|
|
4391
|
+
type: AiType;
|
|
4392
|
+
createdAt: any;
|
|
4393
|
+
deletedAt?: any | null;
|
|
4394
|
+
integrationProperties?: {
|
|
4395
|
+
__typename?: 'IntegrationProperties';
|
|
4396
|
+
model?: string | null;
|
|
4397
|
+
version?: string | null;
|
|
4398
|
+
} | null;
|
|
4399
|
+
configuration?: {
|
|
4400
|
+
__typename?: 'Configurations';
|
|
4401
|
+
askForName?: boolean | null;
|
|
4402
|
+
askForSurname?: boolean | null;
|
|
4403
|
+
askForEmail?: boolean | null;
|
|
4404
|
+
askForCity?: boolean | null;
|
|
4405
|
+
askForAddress?: boolean | null;
|
|
4406
|
+
} | null;
|
|
4407
|
+
};
|
|
4408
|
+
};
|
|
4409
|
+
export type AisQueryVariables = Exact<{
|
|
4410
|
+
input: AIsInput;
|
|
4411
|
+
}>;
|
|
4412
|
+
export type AisQuery = {
|
|
4413
|
+
__typename?: 'Query';
|
|
4414
|
+
ais: {
|
|
4415
|
+
__typename?: 'AIsPayload';
|
|
4416
|
+
nodes?: Array<{
|
|
4417
|
+
__typename?: 'AI';
|
|
4418
|
+
workspaceId: number;
|
|
4419
|
+
id: string;
|
|
4420
|
+
name: string;
|
|
4421
|
+
type: AiType;
|
|
4422
|
+
createdAt: any;
|
|
4423
|
+
deletedAt?: any | null;
|
|
4424
|
+
integrationProperties?: {
|
|
4425
|
+
__typename?: 'IntegrationProperties';
|
|
4426
|
+
model?: string | null;
|
|
4427
|
+
version?: string | null;
|
|
4428
|
+
} | null;
|
|
4429
|
+
configuration?: {
|
|
4430
|
+
__typename?: 'Configurations';
|
|
4431
|
+
askForName?: boolean | null;
|
|
4432
|
+
askForSurname?: boolean | null;
|
|
4433
|
+
askForEmail?: boolean | null;
|
|
4434
|
+
askForCity?: boolean | null;
|
|
4435
|
+
askForAddress?: boolean | null;
|
|
4436
|
+
} | null;
|
|
4437
|
+
}> | null;
|
|
4438
|
+
};
|
|
4439
|
+
};
|
|
4440
|
+
export type ApiKeysQueryVariables = Exact<{
|
|
4441
|
+
input: ApiKeysInput;
|
|
4442
|
+
}>;
|
|
4443
|
+
export type ApiKeysQuery = {
|
|
4444
|
+
__typename?: 'Query';
|
|
4445
|
+
apiKeys: {
|
|
4446
|
+
__typename?: 'ApiKeysPayload';
|
|
4447
|
+
nodes?: Array<{
|
|
4448
|
+
__typename?: 'ApiKey';
|
|
4449
|
+
workspaceId: number;
|
|
4450
|
+
id: string;
|
|
4451
|
+
key: string;
|
|
4452
|
+
label: string;
|
|
4453
|
+
createdAt: any;
|
|
4454
|
+
}> | null;
|
|
4455
|
+
};
|
|
4456
|
+
};
|
|
4457
|
+
export type BulkPatchTagsMutationVariables = Exact<{
|
|
4458
|
+
input: TagBulkPatchInput;
|
|
4459
|
+
}>;
|
|
4460
|
+
export type BulkPatchTagsMutation = {
|
|
4461
|
+
__typename?: 'Mutation';
|
|
4462
|
+
bulkPatchTags: never;
|
|
4463
|
+
};
|
|
4464
|
+
export type CreateAiMutationVariables = Exact<{
|
|
4465
|
+
input: AiCreateInput;
|
|
4466
|
+
}>;
|
|
4467
|
+
export type CreateAiMutation = {
|
|
4468
|
+
__typename?: 'Mutation';
|
|
4469
|
+
createAi: {
|
|
4251
4470
|
__typename?: 'AI';
|
|
4252
4471
|
workspaceId: number;
|
|
4253
4472
|
id: string;
|
|
@@ -4255,6 +4474,19 @@ export type CreateAiMutation = {
|
|
|
4255
4474
|
type: AiType;
|
|
4256
4475
|
createdAt: any;
|
|
4257
4476
|
deletedAt?: any | null;
|
|
4477
|
+
integrationProperties?: {
|
|
4478
|
+
__typename?: 'IntegrationProperties';
|
|
4479
|
+
model?: string | null;
|
|
4480
|
+
version?: string | null;
|
|
4481
|
+
} | null;
|
|
4482
|
+
configuration?: {
|
|
4483
|
+
__typename?: 'Configurations';
|
|
4484
|
+
askForName?: boolean | null;
|
|
4485
|
+
askForSurname?: boolean | null;
|
|
4486
|
+
askForEmail?: boolean | null;
|
|
4487
|
+
askForCity?: boolean | null;
|
|
4488
|
+
askForAddress?: boolean | null;
|
|
4489
|
+
} | null;
|
|
4258
4490
|
};
|
|
4259
4491
|
};
|
|
4260
4492
|
export type CreateIntegrationMutationVariables = Exact<{
|
|
@@ -4267,6 +4499,7 @@ export type CreateIntegrationMutation = {
|
|
|
4267
4499
|
workspaceId: number;
|
|
4268
4500
|
id: string;
|
|
4269
4501
|
name: string;
|
|
4502
|
+
identifier?: string | null;
|
|
4270
4503
|
type: IntegrationType;
|
|
4271
4504
|
properties?: any | null;
|
|
4272
4505
|
state: IntegrationState;
|
|
@@ -4316,6 +4549,19 @@ export type DeleteAiMutation = {
|
|
|
4316
4549
|
type: AiType;
|
|
4317
4550
|
createdAt: any;
|
|
4318
4551
|
deletedAt?: any | null;
|
|
4552
|
+
integrationProperties?: {
|
|
4553
|
+
__typename?: 'IntegrationProperties';
|
|
4554
|
+
model?: string | null;
|
|
4555
|
+
version?: string | null;
|
|
4556
|
+
} | null;
|
|
4557
|
+
configuration?: {
|
|
4558
|
+
__typename?: 'Configurations';
|
|
4559
|
+
askForName?: boolean | null;
|
|
4560
|
+
askForSurname?: boolean | null;
|
|
4561
|
+
askForEmail?: boolean | null;
|
|
4562
|
+
askForCity?: boolean | null;
|
|
4563
|
+
askForAddress?: boolean | null;
|
|
4564
|
+
} | null;
|
|
4319
4565
|
};
|
|
4320
4566
|
};
|
|
4321
4567
|
export type DeleteApiKeyMutationVariables = Exact<{
|
|
@@ -4342,6 +4588,7 @@ export type DeleteIntegrationMutation = {
|
|
|
4342
4588
|
workspaceId: number;
|
|
4343
4589
|
id: string;
|
|
4344
4590
|
name: string;
|
|
4591
|
+
identifier?: string | null;
|
|
4345
4592
|
type: IntegrationType;
|
|
4346
4593
|
properties?: any | null;
|
|
4347
4594
|
state: IntegrationState;
|
|
@@ -4402,6 +4649,7 @@ export type IntegrationQuery = {
|
|
|
4402
4649
|
workspaceId: number;
|
|
4403
4650
|
id: string;
|
|
4404
4651
|
name: string;
|
|
4652
|
+
identifier?: string | null;
|
|
4405
4653
|
type: IntegrationType;
|
|
4406
4654
|
properties?: any | null;
|
|
4407
4655
|
state: IntegrationState;
|
|
@@ -4422,6 +4670,7 @@ export type IntegrationsQuery = {
|
|
|
4422
4670
|
workspaceId: number;
|
|
4423
4671
|
id: string;
|
|
4424
4672
|
name: string;
|
|
4673
|
+
identifier?: string | null;
|
|
4425
4674
|
type: IntegrationType;
|
|
4426
4675
|
properties?: any | null;
|
|
4427
4676
|
state: IntegrationState;
|
|
@@ -4444,6 +4693,19 @@ export type PatchAiMutation = {
|
|
|
4444
4693
|
type: AiType;
|
|
4445
4694
|
createdAt: any;
|
|
4446
4695
|
deletedAt?: any | null;
|
|
4696
|
+
integrationProperties?: {
|
|
4697
|
+
__typename?: 'IntegrationProperties';
|
|
4698
|
+
model?: string | null;
|
|
4699
|
+
version?: string | null;
|
|
4700
|
+
} | null;
|
|
4701
|
+
configuration?: {
|
|
4702
|
+
__typename?: 'Configurations';
|
|
4703
|
+
askForName?: boolean | null;
|
|
4704
|
+
askForSurname?: boolean | null;
|
|
4705
|
+
askForEmail?: boolean | null;
|
|
4706
|
+
askForCity?: boolean | null;
|
|
4707
|
+
askForAddress?: boolean | null;
|
|
4708
|
+
} | null;
|
|
4447
4709
|
};
|
|
4448
4710
|
};
|
|
4449
4711
|
export type PatchIntegrationMutationVariables = Exact<{
|
|
@@ -4456,6 +4718,7 @@ export type PatchIntegrationMutation = {
|
|
|
4456
4718
|
workspaceId: number;
|
|
4457
4719
|
id: string;
|
|
4458
4720
|
name: string;
|
|
4721
|
+
identifier?: string | null;
|
|
4459
4722
|
type: IntegrationType;
|
|
4460
4723
|
properties?: any | null;
|
|
4461
4724
|
state: IntegrationState;
|
|
@@ -4506,6 +4769,8 @@ export type WorkspaceSettingsFragment = {
|
|
|
4506
4769
|
id: string;
|
|
4507
4770
|
workspaceId: number;
|
|
4508
4771
|
convTTL?: number | null;
|
|
4772
|
+
optOutKeyword?: string | null;
|
|
4773
|
+
autoUnarchiveOnMessage?: boolean | null;
|
|
4509
4774
|
testNums?: Array<{
|
|
4510
4775
|
__typename?: 'WorkspaceTestNumber';
|
|
4511
4776
|
phone: string;
|
|
@@ -4529,6 +4794,8 @@ export type PatchWorkspaceSettingsMutation = {
|
|
|
4529
4794
|
id: string;
|
|
4530
4795
|
workspaceId: number;
|
|
4531
4796
|
convTTL?: number | null;
|
|
4797
|
+
optOutKeyword?: string | null;
|
|
4798
|
+
autoUnarchiveOnMessage?: boolean | null;
|
|
4532
4799
|
testNums?: Array<{
|
|
4533
4800
|
__typename?: 'WorkspaceTestNumber';
|
|
4534
4801
|
phone: string;
|
|
@@ -4546,6 +4813,8 @@ export type WorkspaceSettingsQuery = {
|
|
|
4546
4813
|
id: string;
|
|
4547
4814
|
workspaceId: number;
|
|
4548
4815
|
convTTL?: number | null;
|
|
4816
|
+
optOutKeyword?: string | null;
|
|
4817
|
+
autoUnarchiveOnMessage?: boolean | null;
|
|
4549
4818
|
testNums?: Array<{
|
|
4550
4819
|
__typename?: 'WorkspaceTestNumber';
|
|
4551
4820
|
phone: string;
|
|
@@ -4595,12 +4864,12 @@ export declare const ConversationReportFragmentDoc: Apollo.DocumentNode;
|
|
|
4595
4864
|
export declare const PageInfoFragmentDoc: Apollo.DocumentNode;
|
|
4596
4865
|
export declare const AgentFragmentDoc: Apollo.DocumentNode;
|
|
4597
4866
|
export declare const BroadcastFragmentDoc: Apollo.DocumentNode;
|
|
4598
|
-
export declare const ClientFragmentDoc: Apollo.DocumentNode;
|
|
4599
4867
|
export declare const MessageFragmentDoc: Apollo.DocumentNode;
|
|
4600
4868
|
export declare const ConversationFragmentDoc: Apollo.DocumentNode;
|
|
4601
4869
|
export declare const TagFragmentDoc: Apollo.DocumentNode;
|
|
4602
4870
|
export declare const MessageTemplateDetailsFragmentDoc: Apollo.DocumentNode;
|
|
4603
4871
|
export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
|
|
4872
|
+
export declare const ClientFragmentDoc: Apollo.DocumentNode;
|
|
4604
4873
|
export declare const AiFragmentDoc: Apollo.DocumentNode;
|
|
4605
4874
|
export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
|
|
4606
4875
|
export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
|
|
@@ -5452,849 +5721,1031 @@ export declare function refetchBroadcastsQuery(variables: BroadcastsQueryVariabl
|
|
|
5452
5721
|
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5453
5722
|
}>;
|
|
5454
5723
|
};
|
|
5455
|
-
export declare const
|
|
5456
|
-
export type
|
|
5724
|
+
export declare const CancelBroadcastDocument: Apollo.DocumentNode;
|
|
5725
|
+
export type CancelBroadcastMutationFn = Apollo.MutationFunction<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
|
|
5457
5726
|
/**
|
|
5458
|
-
*
|
|
5727
|
+
* __useCancelBroadcastMutation__
|
|
5459
5728
|
*
|
|
5460
|
-
* To run a mutation, you first call `
|
|
5461
|
-
* When your component renders, `
|
|
5729
|
+
* To run a mutation, you first call `useCancelBroadcastMutation` within a React component and pass it any options that fit your needs.
|
|
5730
|
+
* When your component renders, `useCancelBroadcastMutation` returns a tuple that includes:
|
|
5462
5731
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5463
5732
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5464
5733
|
*
|
|
5465
5734
|
* @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;
|
|
5466
5735
|
*
|
|
5467
5736
|
* @example
|
|
5468
|
-
* const [
|
|
5737
|
+
* const [cancelBroadcastMutation, { data, loading, error }] = useCancelBroadcastMutation({
|
|
5469
5738
|
* variables: {
|
|
5470
5739
|
* input: // value for 'input'
|
|
5471
5740
|
* },
|
|
5472
5741
|
* });
|
|
5473
5742
|
*/
|
|
5474
|
-
export declare function
|
|
5475
|
-
input:
|
|
5743
|
+
export declare function useCancelBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>): Apollo.MutationTuple<CancelBroadcastMutation, Exact<{
|
|
5744
|
+
input: BroadcastCancelInput;
|
|
5476
5745
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5477
|
-
export type
|
|
5478
|
-
export type
|
|
5479
|
-
export type
|
|
5480
|
-
export declare const
|
|
5746
|
+
export type CancelBroadcastMutationHookResult = ReturnType<typeof useCancelBroadcastMutation>;
|
|
5747
|
+
export type CancelBroadcastMutationResult = Apollo.MutationResult<CancelBroadcastMutation>;
|
|
5748
|
+
export type CancelBroadcastMutationOptions = Apollo.BaseMutationOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
|
|
5749
|
+
export declare const ConvsDocument: Apollo.DocumentNode;
|
|
5750
|
+
/**
|
|
5751
|
+
* __useConvsQuery__
|
|
5752
|
+
*
|
|
5753
|
+
* To run a query within a React component, call `useConvsQuery` and pass it any options that fit your needs.
|
|
5754
|
+
* When your component renders, `useConvsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5755
|
+
* you can use to render your UI.
|
|
5756
|
+
*
|
|
5757
|
+
* @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;
|
|
5758
|
+
*
|
|
5759
|
+
* @example
|
|
5760
|
+
* const { data, loading, error } = useConvsQuery({
|
|
5761
|
+
* variables: {
|
|
5762
|
+
* input: // value for 'input'
|
|
5763
|
+
* pageInfo: // value for 'pageInfo'
|
|
5764
|
+
* },
|
|
5765
|
+
* });
|
|
5766
|
+
*/
|
|
5767
|
+
export declare function useConvsQuery(baseOptions: Apollo.QueryHookOptions<ConvsQuery, ConvsQueryVariables> & ({
|
|
5768
|
+
variables: ConvsQueryVariables;
|
|
5769
|
+
skip?: boolean;
|
|
5770
|
+
} | {
|
|
5771
|
+
skip: boolean;
|
|
5772
|
+
})): Apollo.QueryResult<ConvsQuery, Exact<{
|
|
5773
|
+
input: ConvsInput;
|
|
5774
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5775
|
+
}>>;
|
|
5776
|
+
export declare function useConvsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvsQuery, ConvsQueryVariables>): Apollo.LazyQueryResultTuple<ConvsQuery, Exact<{
|
|
5777
|
+
input: ConvsInput;
|
|
5778
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5779
|
+
}>>;
|
|
5780
|
+
export declare function useConvsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvsQuery, ConvsQueryVariables>): Apollo.UseSuspenseQueryResult<ConvsQuery | undefined, Exact<{
|
|
5781
|
+
input: ConvsInput;
|
|
5782
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5783
|
+
}>>;
|
|
5784
|
+
export type ConvsQueryHookResult = ReturnType<typeof useConvsQuery>;
|
|
5785
|
+
export type ConvsLazyQueryHookResult = ReturnType<typeof useConvsLazyQuery>;
|
|
5786
|
+
export type ConvsSuspenseQueryHookResult = ReturnType<typeof useConvsSuspenseQuery>;
|
|
5787
|
+
export type ConvsQueryResult = Apollo.QueryResult<ConvsQuery, ConvsQueryVariables>;
|
|
5788
|
+
export declare function refetchConvsQuery(variables: ConvsQueryVariables): {
|
|
5789
|
+
query: Apollo.DocumentNode;
|
|
5790
|
+
variables: Exact<{
|
|
5791
|
+
input: ConvsInput;
|
|
5792
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5793
|
+
}>;
|
|
5794
|
+
};
|
|
5795
|
+
export declare const CreateAgentDocument: Apollo.DocumentNode;
|
|
5796
|
+
export type CreateAgentMutationFn = Apollo.MutationFunction<CreateAgentMutation, CreateAgentMutationVariables>;
|
|
5797
|
+
/**
|
|
5798
|
+
* __useCreateAgentMutation__
|
|
5799
|
+
*
|
|
5800
|
+
* To run a mutation, you first call `useCreateAgentMutation` within a React component and pass it any options that fit your needs.
|
|
5801
|
+
* When your component renders, `useCreateAgentMutation` returns a tuple that includes:
|
|
5802
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5803
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5804
|
+
*
|
|
5805
|
+
* @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;
|
|
5806
|
+
*
|
|
5807
|
+
* @example
|
|
5808
|
+
* const [createAgentMutation, { data, loading, error }] = useCreateAgentMutation({
|
|
5809
|
+
* variables: {
|
|
5810
|
+
* input: // value for 'input'
|
|
5811
|
+
* },
|
|
5812
|
+
* });
|
|
5813
|
+
*/
|
|
5814
|
+
export declare function useCreateAgentMutation(baseOptions?: Apollo.MutationHookOptions<CreateAgentMutation, CreateAgentMutationVariables>): Apollo.MutationTuple<CreateAgentMutation, Exact<{
|
|
5815
|
+
input: AgentCreateInput;
|
|
5816
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5817
|
+
export type CreateAgentMutationHookResult = ReturnType<typeof useCreateAgentMutation>;
|
|
5818
|
+
export type CreateAgentMutationResult = Apollo.MutationResult<CreateAgentMutation>;
|
|
5819
|
+
export type CreateAgentMutationOptions = Apollo.BaseMutationOptions<CreateAgentMutation, CreateAgentMutationVariables>;
|
|
5820
|
+
export declare const CreateBroadcastDocument: Apollo.DocumentNode;
|
|
5821
|
+
export type CreateBroadcastMutationFn = Apollo.MutationFunction<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
|
|
5822
|
+
/**
|
|
5823
|
+
* __useCreateBroadcastMutation__
|
|
5824
|
+
*
|
|
5825
|
+
* To run a mutation, you first call `useCreateBroadcastMutation` within a React component and pass it any options that fit your needs.
|
|
5826
|
+
* When your component renders, `useCreateBroadcastMutation` returns a tuple that includes:
|
|
5827
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5828
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5829
|
+
*
|
|
5830
|
+
* @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;
|
|
5831
|
+
*
|
|
5832
|
+
* @example
|
|
5833
|
+
* const [createBroadcastMutation, { data, loading, error }] = useCreateBroadcastMutation({
|
|
5834
|
+
* variables: {
|
|
5835
|
+
* input: // value for 'input'
|
|
5836
|
+
* },
|
|
5837
|
+
* });
|
|
5838
|
+
*/
|
|
5839
|
+
export declare function useCreateBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>): Apollo.MutationTuple<CreateBroadcastMutation, Exact<{
|
|
5840
|
+
input: BroadcastCreateInput;
|
|
5841
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5842
|
+
export type CreateBroadcastMutationHookResult = ReturnType<typeof useCreateBroadcastMutation>;
|
|
5843
|
+
export type CreateBroadcastMutationResult = Apollo.MutationResult<CreateBroadcastMutation>;
|
|
5844
|
+
export type CreateBroadcastMutationOptions = Apollo.BaseMutationOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
|
|
5845
|
+
export declare const DeleteAgentDocument: Apollo.DocumentNode;
|
|
5846
|
+
export type DeleteAgentMutationFn = Apollo.MutationFunction<DeleteAgentMutation, DeleteAgentMutationVariables>;
|
|
5847
|
+
/**
|
|
5848
|
+
* __useDeleteAgentMutation__
|
|
5849
|
+
*
|
|
5850
|
+
* To run a mutation, you first call `useDeleteAgentMutation` within a React component and pass it any options that fit your needs.
|
|
5851
|
+
* When your component renders, `useDeleteAgentMutation` returns a tuple that includes:
|
|
5852
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5853
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5854
|
+
*
|
|
5855
|
+
* @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;
|
|
5856
|
+
*
|
|
5857
|
+
* @example
|
|
5858
|
+
* const [deleteAgentMutation, { data, loading, error }] = useDeleteAgentMutation({
|
|
5859
|
+
* variables: {
|
|
5860
|
+
* input: // value for 'input'
|
|
5861
|
+
* },
|
|
5862
|
+
* });
|
|
5863
|
+
*/
|
|
5864
|
+
export declare function useDeleteAgentMutation(baseOptions?: Apollo.MutationHookOptions<DeleteAgentMutation, DeleteAgentMutationVariables>): Apollo.MutationTuple<DeleteAgentMutation, Exact<{
|
|
5865
|
+
input: AgentInput;
|
|
5866
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5867
|
+
export type DeleteAgentMutationHookResult = ReturnType<typeof useDeleteAgentMutation>;
|
|
5868
|
+
export type DeleteAgentMutationResult = Apollo.MutationResult<DeleteAgentMutation>;
|
|
5869
|
+
export type DeleteAgentMutationOptions = Apollo.BaseMutationOptions<DeleteAgentMutation, DeleteAgentMutationVariables>;
|
|
5870
|
+
export declare const DeleteBroadcastDocument: Apollo.DocumentNode;
|
|
5871
|
+
export type DeleteBroadcastMutationFn = Apollo.MutationFunction<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
|
|
5872
|
+
/**
|
|
5873
|
+
* __useDeleteBroadcastMutation__
|
|
5874
|
+
*
|
|
5875
|
+
* To run a mutation, you first call `useDeleteBroadcastMutation` within a React component and pass it any options that fit your needs.
|
|
5876
|
+
* When your component renders, `useDeleteBroadcastMutation` returns a tuple that includes:
|
|
5877
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5878
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5879
|
+
*
|
|
5880
|
+
* @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;
|
|
5881
|
+
*
|
|
5882
|
+
* @example
|
|
5883
|
+
* const [deleteBroadcastMutation, { data, loading, error }] = useDeleteBroadcastMutation({
|
|
5884
|
+
* variables: {
|
|
5885
|
+
* input: // value for 'input'
|
|
5886
|
+
* },
|
|
5887
|
+
* });
|
|
5888
|
+
*/
|
|
5889
|
+
export declare function useDeleteBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>): Apollo.MutationTuple<DeleteBroadcastMutation, Exact<{
|
|
5890
|
+
input: BroadcastDeleteInput;
|
|
5891
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5892
|
+
export type DeleteBroadcastMutationHookResult = ReturnType<typeof useDeleteBroadcastMutation>;
|
|
5893
|
+
export type DeleteBroadcastMutationResult = Apollo.MutationResult<DeleteBroadcastMutation>;
|
|
5894
|
+
export type DeleteBroadcastMutationOptions = Apollo.BaseMutationOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
|
|
5895
|
+
export declare const EndConvDocument: Apollo.DocumentNode;
|
|
5896
|
+
export type EndConvMutationFn = Apollo.MutationFunction<EndConvMutation, EndConvMutationVariables>;
|
|
5897
|
+
/**
|
|
5898
|
+
* __useEndConvMutation__
|
|
5899
|
+
*
|
|
5900
|
+
* To run a mutation, you first call `useEndConvMutation` within a React component and pass it any options that fit your needs.
|
|
5901
|
+
* When your component renders, `useEndConvMutation` returns a tuple that includes:
|
|
5902
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5903
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5904
|
+
*
|
|
5905
|
+
* @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;
|
|
5906
|
+
*
|
|
5907
|
+
* @example
|
|
5908
|
+
* const [endConvMutation, { data, loading, error }] = useEndConvMutation({
|
|
5909
|
+
* variables: {
|
|
5910
|
+
* input: // value for 'input'
|
|
5911
|
+
* },
|
|
5912
|
+
* });
|
|
5913
|
+
*/
|
|
5914
|
+
export declare function useEndConvMutation(baseOptions?: Apollo.MutationHookOptions<EndConvMutation, EndConvMutationVariables>): Apollo.MutationTuple<EndConvMutation, Exact<{
|
|
5915
|
+
input: ConvEndInput;
|
|
5916
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5917
|
+
export type EndConvMutationHookResult = ReturnType<typeof useEndConvMutation>;
|
|
5918
|
+
export type EndConvMutationResult = Apollo.MutationResult<EndConvMutation>;
|
|
5919
|
+
export type EndConvMutationOptions = Apollo.BaseMutationOptions<EndConvMutation, EndConvMutationVariables>;
|
|
5920
|
+
export declare const LaunchBroadcastDocument: Apollo.DocumentNode;
|
|
5921
|
+
export type LaunchBroadcastMutationFn = Apollo.MutationFunction<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
|
|
5922
|
+
/**
|
|
5923
|
+
* __useLaunchBroadcastMutation__
|
|
5924
|
+
*
|
|
5925
|
+
* To run a mutation, you first call `useLaunchBroadcastMutation` within a React component and pass it any options that fit your needs.
|
|
5926
|
+
* When your component renders, `useLaunchBroadcastMutation` returns a tuple that includes:
|
|
5927
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5928
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5929
|
+
*
|
|
5930
|
+
* @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;
|
|
5931
|
+
*
|
|
5932
|
+
* @example
|
|
5933
|
+
* const [launchBroadcastMutation, { data, loading, error }] = useLaunchBroadcastMutation({
|
|
5934
|
+
* variables: {
|
|
5935
|
+
* input: // value for 'input'
|
|
5936
|
+
* },
|
|
5937
|
+
* });
|
|
5938
|
+
*/
|
|
5939
|
+
export declare function useLaunchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>): Apollo.MutationTuple<LaunchBroadcastMutation, Exact<{
|
|
5940
|
+
input: BroadcastLaunchInput;
|
|
5941
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5942
|
+
export type LaunchBroadcastMutationHookResult = ReturnType<typeof useLaunchBroadcastMutation>;
|
|
5943
|
+
export type LaunchBroadcastMutationResult = Apollo.MutationResult<LaunchBroadcastMutation>;
|
|
5944
|
+
export type LaunchBroadcastMutationOptions = Apollo.BaseMutationOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
|
|
5945
|
+
export declare const MessagesDocument: Apollo.DocumentNode;
|
|
5946
|
+
/**
|
|
5947
|
+
* __useMessagesQuery__
|
|
5948
|
+
*
|
|
5949
|
+
* To run a query within a React component, call `useMessagesQuery` and pass it any options that fit your needs.
|
|
5950
|
+
* When your component renders, `useMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5951
|
+
* you can use to render your UI.
|
|
5952
|
+
*
|
|
5953
|
+
* @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;
|
|
5954
|
+
*
|
|
5955
|
+
* @example
|
|
5956
|
+
* const { data, loading, error } = useMessagesQuery({
|
|
5957
|
+
* variables: {
|
|
5958
|
+
* input: // value for 'input'
|
|
5959
|
+
* pageInfo: // value for 'pageInfo'
|
|
5960
|
+
* },
|
|
5961
|
+
* });
|
|
5962
|
+
*/
|
|
5963
|
+
export declare function useMessagesQuery(baseOptions: Apollo.QueryHookOptions<MessagesQuery, MessagesQueryVariables> & ({
|
|
5964
|
+
variables: MessagesQueryVariables;
|
|
5965
|
+
skip?: boolean;
|
|
5966
|
+
} | {
|
|
5967
|
+
skip: boolean;
|
|
5968
|
+
})): Apollo.QueryResult<MessagesQuery, Exact<{
|
|
5969
|
+
input: MessagesInput;
|
|
5970
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5971
|
+
}>>;
|
|
5972
|
+
export declare function useMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MessagesQuery, MessagesQueryVariables>): Apollo.LazyQueryResultTuple<MessagesQuery, Exact<{
|
|
5973
|
+
input: MessagesInput;
|
|
5974
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5975
|
+
}>>;
|
|
5976
|
+
export declare function useMessagesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MessagesQuery, MessagesQueryVariables>): Apollo.UseSuspenseQueryResult<MessagesQuery | undefined, Exact<{
|
|
5977
|
+
input: MessagesInput;
|
|
5978
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5979
|
+
}>>;
|
|
5980
|
+
export type MessagesQueryHookResult = ReturnType<typeof useMessagesQuery>;
|
|
5981
|
+
export type MessagesLazyQueryHookResult = ReturnType<typeof useMessagesLazyQuery>;
|
|
5982
|
+
export type MessagesSuspenseQueryHookResult = ReturnType<typeof useMessagesSuspenseQuery>;
|
|
5983
|
+
export type MessagesQueryResult = Apollo.QueryResult<MessagesQuery, MessagesQueryVariables>;
|
|
5984
|
+
export declare function refetchMessagesQuery(variables: MessagesQueryVariables): {
|
|
5985
|
+
query: Apollo.DocumentNode;
|
|
5986
|
+
variables: Exact<{
|
|
5987
|
+
input: MessagesInput;
|
|
5988
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5989
|
+
}>;
|
|
5990
|
+
};
|
|
5991
|
+
export declare const OpenConversationsNeedResponseCountDocument: Apollo.DocumentNode;
|
|
5481
5992
|
/**
|
|
5482
|
-
*
|
|
5993
|
+
* __useOpenConversationsNeedResponseCountQuery__
|
|
5483
5994
|
*
|
|
5484
|
-
* To run a query within a React component, call `
|
|
5485
|
-
* When your component renders, `
|
|
5995
|
+
* To run a query within a React component, call `useOpenConversationsNeedResponseCountQuery` and pass it any options that fit your needs.
|
|
5996
|
+
* When your component renders, `useOpenConversationsNeedResponseCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5486
5997
|
* you can use to render your UI.
|
|
5487
5998
|
*
|
|
5488
5999
|
* @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;
|
|
5489
6000
|
*
|
|
5490
6001
|
* @example
|
|
5491
|
-
* const { data, loading, error } =
|
|
6002
|
+
* const { data, loading, error } = useOpenConversationsNeedResponseCountQuery({
|
|
5492
6003
|
* variables: {
|
|
5493
6004
|
* input: // value for 'input'
|
|
5494
6005
|
* },
|
|
5495
6006
|
* });
|
|
5496
6007
|
*/
|
|
5497
|
-
export declare function
|
|
5498
|
-
variables:
|
|
6008
|
+
export declare function useOpenConversationsNeedResponseCountQuery(baseOptions: Apollo.QueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables> & ({
|
|
6009
|
+
variables: OpenConversationsNeedResponseCountQueryVariables;
|
|
5499
6010
|
skip?: boolean;
|
|
5500
6011
|
} | {
|
|
5501
6012
|
skip: boolean;
|
|
5502
|
-
})): Apollo.QueryResult<
|
|
5503
|
-
input:
|
|
6013
|
+
})): Apollo.QueryResult<OpenConversationsNeedResponseCountQuery, Exact<{
|
|
6014
|
+
input: OpenConversationsNeedResponseInput;
|
|
5504
6015
|
}>>;
|
|
5505
|
-
export declare function
|
|
5506
|
-
input:
|
|
6016
|
+
export declare function useOpenConversationsNeedResponseCountLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>): Apollo.LazyQueryResultTuple<OpenConversationsNeedResponseCountQuery, Exact<{
|
|
6017
|
+
input: OpenConversationsNeedResponseInput;
|
|
5507
6018
|
}>>;
|
|
5508
|
-
export declare function
|
|
5509
|
-
input:
|
|
6019
|
+
export declare function useOpenConversationsNeedResponseCountSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>): Apollo.UseSuspenseQueryResult<OpenConversationsNeedResponseCountQuery | undefined, Exact<{
|
|
6020
|
+
input: OpenConversationsNeedResponseInput;
|
|
5510
6021
|
}>>;
|
|
5511
|
-
export type
|
|
5512
|
-
export type
|
|
5513
|
-
export type
|
|
5514
|
-
export type
|
|
5515
|
-
export declare function
|
|
6022
|
+
export type OpenConversationsNeedResponseCountQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountQuery>;
|
|
6023
|
+
export type OpenConversationsNeedResponseCountLazyQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountLazyQuery>;
|
|
6024
|
+
export type OpenConversationsNeedResponseCountSuspenseQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountSuspenseQuery>;
|
|
6025
|
+
export type OpenConversationsNeedResponseCountQueryResult = Apollo.QueryResult<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>;
|
|
6026
|
+
export declare function refetchOpenConversationsNeedResponseCountQuery(variables: OpenConversationsNeedResponseCountQueryVariables): {
|
|
5516
6027
|
query: Apollo.DocumentNode;
|
|
5517
6028
|
variables: Exact<{
|
|
5518
|
-
input:
|
|
6029
|
+
input: OpenConversationsNeedResponseInput;
|
|
5519
6030
|
}>;
|
|
5520
6031
|
};
|
|
5521
|
-
export declare const
|
|
5522
|
-
export type
|
|
6032
|
+
export declare const PatchAgentDocument: Apollo.DocumentNode;
|
|
6033
|
+
export type PatchAgentMutationFn = Apollo.MutationFunction<PatchAgentMutation, PatchAgentMutationVariables>;
|
|
5523
6034
|
/**
|
|
5524
|
-
*
|
|
6035
|
+
* __usePatchAgentMutation__
|
|
5525
6036
|
*
|
|
5526
|
-
* To run a mutation, you first call `
|
|
5527
|
-
* When your component renders, `
|
|
6037
|
+
* To run a mutation, you first call `usePatchAgentMutation` within a React component and pass it any options that fit your needs.
|
|
6038
|
+
* When your component renders, `usePatchAgentMutation` returns a tuple that includes:
|
|
5528
6039
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5529
6040
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5530
6041
|
*
|
|
5531
6042
|
* @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;
|
|
5532
6043
|
*
|
|
5533
6044
|
* @example
|
|
5534
|
-
* const [
|
|
6045
|
+
* const [patchAgentMutation, { data, loading, error }] = usePatchAgentMutation({
|
|
5535
6046
|
* variables: {
|
|
5536
6047
|
* input: // value for 'input'
|
|
5537
6048
|
* },
|
|
5538
6049
|
* });
|
|
5539
6050
|
*/
|
|
5540
|
-
export declare function
|
|
5541
|
-
input:
|
|
6051
|
+
export declare function usePatchAgentMutation(baseOptions?: Apollo.MutationHookOptions<PatchAgentMutation, PatchAgentMutationVariables>): Apollo.MutationTuple<PatchAgentMutation, Exact<{
|
|
6052
|
+
input: AgentPatchInput;
|
|
5542
6053
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5543
|
-
export type
|
|
5544
|
-
export type
|
|
5545
|
-
export type
|
|
5546
|
-
export declare const
|
|
5547
|
-
export type
|
|
6054
|
+
export type PatchAgentMutationHookResult = ReturnType<typeof usePatchAgentMutation>;
|
|
6055
|
+
export type PatchAgentMutationResult = Apollo.MutationResult<PatchAgentMutation>;
|
|
6056
|
+
export type PatchAgentMutationOptions = Apollo.BaseMutationOptions<PatchAgentMutation, PatchAgentMutationVariables>;
|
|
6057
|
+
export declare const PatchBroadcastDocument: Apollo.DocumentNode;
|
|
6058
|
+
export type PatchBroadcastMutationFn = Apollo.MutationFunction<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
|
|
5548
6059
|
/**
|
|
5549
|
-
*
|
|
6060
|
+
* __usePatchBroadcastMutation__
|
|
5550
6061
|
*
|
|
5551
|
-
* To run a mutation, you first call `
|
|
5552
|
-
* When your component renders, `
|
|
6062
|
+
* To run a mutation, you first call `usePatchBroadcastMutation` within a React component and pass it any options that fit your needs.
|
|
6063
|
+
* When your component renders, `usePatchBroadcastMutation` returns a tuple that includes:
|
|
5553
6064
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5554
6065
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5555
6066
|
*
|
|
5556
6067
|
* @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;
|
|
5557
6068
|
*
|
|
5558
6069
|
* @example
|
|
5559
|
-
* const [
|
|
6070
|
+
* const [patchBroadcastMutation, { data, loading, error }] = usePatchBroadcastMutation({
|
|
5560
6071
|
* variables: {
|
|
5561
6072
|
* input: // value for 'input'
|
|
5562
6073
|
* },
|
|
5563
6074
|
* });
|
|
5564
6075
|
*/
|
|
5565
|
-
export declare function
|
|
5566
|
-
input:
|
|
6076
|
+
export declare function usePatchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>): Apollo.MutationTuple<PatchBroadcastMutation, Exact<{
|
|
6077
|
+
input: BroadcastPatchInput;
|
|
5567
6078
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5568
|
-
export type
|
|
5569
|
-
export type
|
|
5570
|
-
export type
|
|
5571
|
-
export declare const
|
|
5572
|
-
export type
|
|
6079
|
+
export type PatchBroadcastMutationHookResult = ReturnType<typeof usePatchBroadcastMutation>;
|
|
6080
|
+
export type PatchBroadcastMutationResult = Apollo.MutationResult<PatchBroadcastMutation>;
|
|
6081
|
+
export type PatchBroadcastMutationOptions = Apollo.BaseMutationOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
|
|
6082
|
+
export declare const PatchConvDocument: Apollo.DocumentNode;
|
|
6083
|
+
export type PatchConvMutationFn = Apollo.MutationFunction<PatchConvMutation, PatchConvMutationVariables>;
|
|
5573
6084
|
/**
|
|
5574
|
-
*
|
|
6085
|
+
* __usePatchConvMutation__
|
|
5575
6086
|
*
|
|
5576
|
-
* To run a mutation, you first call `
|
|
5577
|
-
* When your component renders, `
|
|
6087
|
+
* To run a mutation, you first call `usePatchConvMutation` within a React component and pass it any options that fit your needs.
|
|
6088
|
+
* When your component renders, `usePatchConvMutation` returns a tuple that includes:
|
|
5578
6089
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5579
6090
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5580
6091
|
*
|
|
5581
6092
|
* @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;
|
|
5582
6093
|
*
|
|
5583
6094
|
* @example
|
|
5584
|
-
* const [
|
|
6095
|
+
* const [patchConvMutation, { data, loading, error }] = usePatchConvMutation({
|
|
5585
6096
|
* variables: {
|
|
5586
6097
|
* input: // value for 'input'
|
|
5587
6098
|
* },
|
|
5588
6099
|
* });
|
|
5589
6100
|
*/
|
|
5590
|
-
export declare function
|
|
5591
|
-
input:
|
|
6101
|
+
export declare function usePatchConvMutation(baseOptions?: Apollo.MutationHookOptions<PatchConvMutation, PatchConvMutationVariables>): Apollo.MutationTuple<PatchConvMutation, Exact<{
|
|
6102
|
+
input: ConvPatchInput;
|
|
5592
6103
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5593
|
-
export type
|
|
5594
|
-
export type
|
|
5595
|
-
export type
|
|
5596
|
-
export declare const
|
|
6104
|
+
export type PatchConvMutationHookResult = ReturnType<typeof usePatchConvMutation>;
|
|
6105
|
+
export type PatchConvMutationResult = Apollo.MutationResult<PatchConvMutation>;
|
|
6106
|
+
export type PatchConvMutationOptions = Apollo.BaseMutationOptions<PatchConvMutation, PatchConvMutationVariables>;
|
|
6107
|
+
export declare const StartConvDocument: Apollo.DocumentNode;
|
|
6108
|
+
export type StartConvMutationFn = Apollo.MutationFunction<StartConvMutation, StartConvMutationVariables>;
|
|
5597
6109
|
/**
|
|
5598
|
-
*
|
|
6110
|
+
* __useStartConvMutation__
|
|
5599
6111
|
*
|
|
5600
|
-
* To run a
|
|
5601
|
-
* When your component renders, `
|
|
5602
|
-
* you can
|
|
6112
|
+
* To run a mutation, you first call `useStartConvMutation` within a React component and pass it any options that fit your needs.
|
|
6113
|
+
* When your component renders, `useStartConvMutation` returns a tuple that includes:
|
|
6114
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
6115
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5603
6116
|
*
|
|
5604
|
-
* @param baseOptions options that will be passed into the
|
|
6117
|
+
* @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;
|
|
5605
6118
|
*
|
|
5606
6119
|
* @example
|
|
5607
|
-
* const { data, loading, error } =
|
|
6120
|
+
* const [startConvMutation, { data, loading, error }] = useStartConvMutation({
|
|
5608
6121
|
* variables: {
|
|
5609
6122
|
* input: // value for 'input'
|
|
5610
6123
|
* },
|
|
5611
6124
|
* });
|
|
5612
6125
|
*/
|
|
5613
|
-
export declare function
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
export declare function useClientLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientQuery, ClientQueryVariables>): Apollo.LazyQueryResultTuple<ClientQuery, Exact<{
|
|
5622
|
-
input: ClientInput;
|
|
5623
|
-
}>>;
|
|
5624
|
-
export declare function useClientSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientQuery, ClientQueryVariables>): Apollo.UseSuspenseQueryResult<ClientQuery | undefined, Exact<{
|
|
5625
|
-
input: ClientInput;
|
|
5626
|
-
}>>;
|
|
5627
|
-
export type ClientQueryHookResult = ReturnType<typeof useClientQuery>;
|
|
5628
|
-
export type ClientLazyQueryHookResult = ReturnType<typeof useClientLazyQuery>;
|
|
5629
|
-
export type ClientSuspenseQueryHookResult = ReturnType<typeof useClientSuspenseQuery>;
|
|
5630
|
-
export type ClientQueryResult = Apollo.QueryResult<ClientQuery, ClientQueryVariables>;
|
|
5631
|
-
export declare function refetchClientQuery(variables: ClientQueryVariables): {
|
|
5632
|
-
query: Apollo.DocumentNode;
|
|
5633
|
-
variables: Exact<{
|
|
5634
|
-
input: ClientInput;
|
|
5635
|
-
}>;
|
|
5636
|
-
};
|
|
5637
|
-
export declare const ClientByPhoneDocument: Apollo.DocumentNode;
|
|
6126
|
+
export declare function useStartConvMutation(baseOptions?: Apollo.MutationHookOptions<StartConvMutation, StartConvMutationVariables>): Apollo.MutationTuple<StartConvMutation, Exact<{
|
|
6127
|
+
input: ConvStartInput;
|
|
6128
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6129
|
+
export type StartConvMutationHookResult = ReturnType<typeof useStartConvMutation>;
|
|
6130
|
+
export type StartConvMutationResult = Apollo.MutationResult<StartConvMutation>;
|
|
6131
|
+
export type StartConvMutationOptions = Apollo.BaseMutationOptions<StartConvMutation, StartConvMutationVariables>;
|
|
6132
|
+
export declare const TagClientDocument: Apollo.DocumentNode;
|
|
6133
|
+
export type TagClientMutationFn = Apollo.MutationFunction<TagClientMutation, TagClientMutationVariables>;
|
|
5638
6134
|
/**
|
|
5639
|
-
*
|
|
6135
|
+
* __useTagClientMutation__
|
|
5640
6136
|
*
|
|
5641
|
-
* To run a
|
|
5642
|
-
* When your component renders, `
|
|
5643
|
-
* you can
|
|
6137
|
+
* To run a mutation, you first call `useTagClientMutation` within a React component and pass it any options that fit your needs.
|
|
6138
|
+
* When your component renders, `useTagClientMutation` returns a tuple that includes:
|
|
6139
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
6140
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5644
6141
|
*
|
|
5645
|
-
* @param baseOptions options that will be passed into the
|
|
6142
|
+
* @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;
|
|
5646
6143
|
*
|
|
5647
6144
|
* @example
|
|
5648
|
-
* const { data, loading, error } =
|
|
6145
|
+
* const [tagClientMutation, { data, loading, error }] = useTagClientMutation({
|
|
5649
6146
|
* variables: {
|
|
5650
6147
|
* input: // value for 'input'
|
|
5651
6148
|
* },
|
|
5652
6149
|
* });
|
|
5653
6150
|
*/
|
|
5654
|
-
export declare function
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
export declare function useClientByPhoneLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables>): Apollo.LazyQueryResultTuple<ClientByPhoneQuery, Exact<{
|
|
5663
|
-
input: ClientByPhoneInput;
|
|
5664
|
-
}>>;
|
|
5665
|
-
export declare function useClientByPhoneSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables>): Apollo.UseSuspenseQueryResult<ClientByPhoneQuery | undefined, Exact<{
|
|
5666
|
-
input: ClientByPhoneInput;
|
|
5667
|
-
}>>;
|
|
5668
|
-
export type ClientByPhoneQueryHookResult = ReturnType<typeof useClientByPhoneQuery>;
|
|
5669
|
-
export type ClientByPhoneLazyQueryHookResult = ReturnType<typeof useClientByPhoneLazyQuery>;
|
|
5670
|
-
export type ClientByPhoneSuspenseQueryHookResult = ReturnType<typeof useClientByPhoneSuspenseQuery>;
|
|
5671
|
-
export type ClientByPhoneQueryResult = Apollo.QueryResult<ClientByPhoneQuery, ClientByPhoneQueryVariables>;
|
|
5672
|
-
export declare function refetchClientByPhoneQuery(variables: ClientByPhoneQueryVariables): {
|
|
5673
|
-
query: Apollo.DocumentNode;
|
|
5674
|
-
variables: Exact<{
|
|
5675
|
-
input: ClientByPhoneInput;
|
|
5676
|
-
}>;
|
|
5677
|
-
};
|
|
5678
|
-
export declare const ClientsDocument: Apollo.DocumentNode;
|
|
6151
|
+
export declare function useTagClientMutation(baseOptions?: Apollo.MutationHookOptions<TagClientMutation, TagClientMutationVariables>): Apollo.MutationTuple<TagClientMutation, Exact<{
|
|
6152
|
+
input: ClientTagInput;
|
|
6153
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6154
|
+
export type TagClientMutationHookResult = ReturnType<typeof useTagClientMutation>;
|
|
6155
|
+
export type TagClientMutationResult = Apollo.MutationResult<TagClientMutation>;
|
|
6156
|
+
export type TagClientMutationOptions = Apollo.BaseMutationOptions<TagClientMutation, TagClientMutationVariables>;
|
|
6157
|
+
export declare const TagConvDocument: Apollo.DocumentNode;
|
|
6158
|
+
export type TagConvMutationFn = Apollo.MutationFunction<TagConvMutation, TagConvMutationVariables>;
|
|
5679
6159
|
/**
|
|
5680
|
-
*
|
|
5681
|
-
*
|
|
5682
|
-
* To run a query within a React component, call `useClientsQuery` and pass it any options that fit your needs.
|
|
5683
|
-
* When your component renders, `useClientsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5684
|
-
* you can use to render your UI.
|
|
5685
|
-
*
|
|
5686
|
-
* @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;
|
|
6160
|
+
* __useTagConvMutation__
|
|
5687
6161
|
*
|
|
5688
|
-
*
|
|
5689
|
-
*
|
|
5690
|
-
*
|
|
5691
|
-
*
|
|
5692
|
-
*
|
|
5693
|
-
*
|
|
5694
|
-
*
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
}
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
}>>;
|
|
5705
|
-
export
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
export declare function useClientsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientsQuery, ClientsQueryVariables>): Apollo.UseSuspenseQueryResult<ClientsQuery | undefined, Exact<{
|
|
5710
|
-
input: ClientsInput;
|
|
5711
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5712
|
-
}>>;
|
|
5713
|
-
export type ClientsQueryHookResult = ReturnType<typeof useClientsQuery>;
|
|
5714
|
-
export type ClientsLazyQueryHookResult = ReturnType<typeof useClientsLazyQuery>;
|
|
5715
|
-
export type ClientsSuspenseQueryHookResult = ReturnType<typeof useClientsSuspenseQuery>;
|
|
5716
|
-
export type ClientsQueryResult = Apollo.QueryResult<ClientsQuery, ClientsQueryVariables>;
|
|
5717
|
-
export declare function refetchClientsQuery(variables: ClientsQueryVariables): {
|
|
5718
|
-
query: Apollo.DocumentNode;
|
|
5719
|
-
variables: Exact<{
|
|
5720
|
-
input: ClientsInput;
|
|
5721
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
5722
|
-
}>;
|
|
5723
|
-
};
|
|
5724
|
-
export declare const ConvsDocument: Apollo.DocumentNode;
|
|
6162
|
+
* To run a mutation, you first call `useTagConvMutation` within a React component and pass it any options that fit your needs.
|
|
6163
|
+
* When your component renders, `useTagConvMutation` returns a tuple that includes:
|
|
6164
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
6165
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
6166
|
+
*
|
|
6167
|
+
* @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;
|
|
6168
|
+
*
|
|
6169
|
+
* @example
|
|
6170
|
+
* const [tagConvMutation, { data, loading, error }] = useTagConvMutation({
|
|
6171
|
+
* variables: {
|
|
6172
|
+
* input: // value for 'input'
|
|
6173
|
+
* },
|
|
6174
|
+
* });
|
|
6175
|
+
*/
|
|
6176
|
+
export declare function useTagConvMutation(baseOptions?: Apollo.MutationHookOptions<TagConvMutation, TagConvMutationVariables>): Apollo.MutationTuple<TagConvMutation, Exact<{
|
|
6177
|
+
input: ConvTagInput;
|
|
6178
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6179
|
+
export type TagConvMutationHookResult = ReturnType<typeof useTagConvMutation>;
|
|
6180
|
+
export type TagConvMutationResult = Apollo.MutationResult<TagConvMutation>;
|
|
6181
|
+
export type TagConvMutationOptions = Apollo.BaseMutationOptions<TagConvMutation, TagConvMutationVariables>;
|
|
6182
|
+
export declare const TagsDocument: Apollo.DocumentNode;
|
|
5725
6183
|
/**
|
|
5726
|
-
*
|
|
6184
|
+
* __useTagsQuery__
|
|
5727
6185
|
*
|
|
5728
|
-
* To run a query within a React component, call `
|
|
5729
|
-
* When your component renders, `
|
|
6186
|
+
* To run a query within a React component, call `useTagsQuery` and pass it any options that fit your needs.
|
|
6187
|
+
* When your component renders, `useTagsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5730
6188
|
* you can use to render your UI.
|
|
5731
6189
|
*
|
|
5732
6190
|
* @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;
|
|
5733
6191
|
*
|
|
5734
6192
|
* @example
|
|
5735
|
-
* const { data, loading, error } =
|
|
6193
|
+
* const { data, loading, error } = useTagsQuery({
|
|
5736
6194
|
* variables: {
|
|
5737
6195
|
* input: // value for 'input'
|
|
5738
|
-
* pageInfo: // value for 'pageInfo'
|
|
5739
6196
|
* },
|
|
5740
6197
|
* });
|
|
5741
6198
|
*/
|
|
5742
|
-
export declare function
|
|
5743
|
-
variables:
|
|
6199
|
+
export declare function useTagsQuery(baseOptions: Apollo.QueryHookOptions<TagsQuery, TagsQueryVariables> & ({
|
|
6200
|
+
variables: TagsQueryVariables;
|
|
5744
6201
|
skip?: boolean;
|
|
5745
6202
|
} | {
|
|
5746
6203
|
skip: boolean;
|
|
5747
|
-
})): Apollo.QueryResult<
|
|
5748
|
-
input:
|
|
5749
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6204
|
+
})): Apollo.QueryResult<TagsQuery, Exact<{
|
|
6205
|
+
input: TagsInput;
|
|
5750
6206
|
}>>;
|
|
5751
|
-
export declare function
|
|
5752
|
-
input:
|
|
5753
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6207
|
+
export declare function useTagsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TagsQuery, TagsQueryVariables>): Apollo.LazyQueryResultTuple<TagsQuery, Exact<{
|
|
6208
|
+
input: TagsInput;
|
|
5754
6209
|
}>>;
|
|
5755
|
-
export declare function
|
|
5756
|
-
input:
|
|
5757
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6210
|
+
export declare function useTagsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TagsQuery, TagsQueryVariables>): Apollo.UseSuspenseQueryResult<TagsQuery | undefined, Exact<{
|
|
6211
|
+
input: TagsInput;
|
|
5758
6212
|
}>>;
|
|
5759
|
-
export type
|
|
5760
|
-
export type
|
|
5761
|
-
export type
|
|
5762
|
-
export type
|
|
5763
|
-
export declare function
|
|
6213
|
+
export type TagsQueryHookResult = ReturnType<typeof useTagsQuery>;
|
|
6214
|
+
export type TagsLazyQueryHookResult = ReturnType<typeof useTagsLazyQuery>;
|
|
6215
|
+
export type TagsSuspenseQueryHookResult = ReturnType<typeof useTagsSuspenseQuery>;
|
|
6216
|
+
export type TagsQueryResult = Apollo.QueryResult<TagsQuery, TagsQueryVariables>;
|
|
6217
|
+
export declare function refetchTagsQuery(variables: TagsQueryVariables): {
|
|
5764
6218
|
query: Apollo.DocumentNode;
|
|
5765
6219
|
variables: Exact<{
|
|
5766
|
-
input:
|
|
5767
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6220
|
+
input: TagsInput;
|
|
5768
6221
|
}>;
|
|
5769
6222
|
};
|
|
5770
|
-
export declare const
|
|
5771
|
-
export type
|
|
6223
|
+
export declare const UntagClientDocument: Apollo.DocumentNode;
|
|
6224
|
+
export type UntagClientMutationFn = Apollo.MutationFunction<UntagClientMutation, UntagClientMutationVariables>;
|
|
5772
6225
|
/**
|
|
5773
|
-
*
|
|
6226
|
+
* __useUntagClientMutation__
|
|
5774
6227
|
*
|
|
5775
|
-
* To run a mutation, you first call `
|
|
5776
|
-
* When your component renders, `
|
|
6228
|
+
* To run a mutation, you first call `useUntagClientMutation` within a React component and pass it any options that fit your needs.
|
|
6229
|
+
* When your component renders, `useUntagClientMutation` returns a tuple that includes:
|
|
5777
6230
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5778
6231
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5779
6232
|
*
|
|
5780
6233
|
* @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;
|
|
5781
6234
|
*
|
|
5782
6235
|
* @example
|
|
5783
|
-
* const [
|
|
6236
|
+
* const [untagClientMutation, { data, loading, error }] = useUntagClientMutation({
|
|
5784
6237
|
* variables: {
|
|
5785
6238
|
* input: // value for 'input'
|
|
5786
6239
|
* },
|
|
5787
6240
|
* });
|
|
5788
6241
|
*/
|
|
5789
|
-
export declare function
|
|
5790
|
-
input:
|
|
6242
|
+
export declare function useUntagClientMutation(baseOptions?: Apollo.MutationHookOptions<UntagClientMutation, UntagClientMutationVariables>): Apollo.MutationTuple<UntagClientMutation, Exact<{
|
|
6243
|
+
input: ClientTagInput;
|
|
5791
6244
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5792
|
-
export type
|
|
5793
|
-
export type
|
|
5794
|
-
export type
|
|
5795
|
-
export declare const
|
|
5796
|
-
export type
|
|
6245
|
+
export type UntagClientMutationHookResult = ReturnType<typeof useUntagClientMutation>;
|
|
6246
|
+
export type UntagClientMutationResult = Apollo.MutationResult<UntagClientMutation>;
|
|
6247
|
+
export type UntagClientMutationOptions = Apollo.BaseMutationOptions<UntagClientMutation, UntagClientMutationVariables>;
|
|
6248
|
+
export declare const UntagConvDocument: Apollo.DocumentNode;
|
|
6249
|
+
export type UntagConvMutationFn = Apollo.MutationFunction<UntagConvMutation, UntagConvMutationVariables>;
|
|
5797
6250
|
/**
|
|
5798
|
-
*
|
|
6251
|
+
* __useUntagConvMutation__
|
|
5799
6252
|
*
|
|
5800
|
-
* To run a mutation, you first call `
|
|
5801
|
-
* When your component renders, `
|
|
6253
|
+
* To run a mutation, you first call `useUntagConvMutation` within a React component and pass it any options that fit your needs.
|
|
6254
|
+
* When your component renders, `useUntagConvMutation` returns a tuple that includes:
|
|
5802
6255
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5803
6256
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5804
6257
|
*
|
|
5805
6258
|
* @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;
|
|
5806
6259
|
*
|
|
5807
6260
|
* @example
|
|
5808
|
-
* const [
|
|
6261
|
+
* const [untagConvMutation, { data, loading, error }] = useUntagConvMutation({
|
|
5809
6262
|
* variables: {
|
|
5810
6263
|
* input: // value for 'input'
|
|
5811
6264
|
* },
|
|
5812
6265
|
* });
|
|
5813
6266
|
*/
|
|
5814
|
-
export declare function
|
|
5815
|
-
input:
|
|
6267
|
+
export declare function useUntagConvMutation(baseOptions?: Apollo.MutationHookOptions<UntagConvMutation, UntagConvMutationVariables>): Apollo.MutationTuple<UntagConvMutation, Exact<{
|
|
6268
|
+
input: ConvTagInput;
|
|
5816
6269
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5817
|
-
export type
|
|
5818
|
-
export type
|
|
5819
|
-
export type
|
|
5820
|
-
export declare const
|
|
5821
|
-
export type CreateClientMutationFn = Apollo.MutationFunction<CreateClientMutation, CreateClientMutationVariables>;
|
|
6270
|
+
export type UntagConvMutationHookResult = ReturnType<typeof useUntagConvMutation>;
|
|
6271
|
+
export type UntagConvMutationResult = Apollo.MutationResult<UntagConvMutation>;
|
|
6272
|
+
export type UntagConvMutationOptions = Apollo.BaseMutationOptions<UntagConvMutation, UntagConvMutationVariables>;
|
|
6273
|
+
export declare const WabaMessageTemplateDetailsDocument: Apollo.DocumentNode;
|
|
5822
6274
|
/**
|
|
5823
|
-
*
|
|
6275
|
+
* __useWabaMessageTemplateDetailsQuery__
|
|
5824
6276
|
*
|
|
5825
|
-
* To run a
|
|
5826
|
-
* When your component renders, `
|
|
5827
|
-
*
|
|
5828
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
6277
|
+
* To run a query within a React component, call `useWabaMessageTemplateDetailsQuery` and pass it any options that fit your needs.
|
|
6278
|
+
* When your component renders, `useWabaMessageTemplateDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6279
|
+
* you can use to render your UI.
|
|
5829
6280
|
*
|
|
5830
|
-
* @param baseOptions options that will be passed into the
|
|
6281
|
+
* @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;
|
|
5831
6282
|
*
|
|
5832
6283
|
* @example
|
|
5833
|
-
* const
|
|
6284
|
+
* const { data, loading, error } = useWabaMessageTemplateDetailsQuery({
|
|
5834
6285
|
* variables: {
|
|
5835
6286
|
* input: // value for 'input'
|
|
5836
6287
|
* },
|
|
5837
6288
|
* });
|
|
5838
6289
|
*/
|
|
5839
|
-
export declare function
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
6290
|
+
export declare function useWabaMessageTemplateDetailsQuery(baseOptions: Apollo.QueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables> & ({
|
|
6291
|
+
variables: WabaMessageTemplateDetailsQueryVariables;
|
|
6292
|
+
skip?: boolean;
|
|
6293
|
+
} | {
|
|
6294
|
+
skip: boolean;
|
|
6295
|
+
})): Apollo.QueryResult<WabaMessageTemplateDetailsQuery, Exact<{
|
|
6296
|
+
input: WabaMessageTemplateDetailsInput;
|
|
6297
|
+
}>>;
|
|
6298
|
+
export declare function useWabaMessageTemplateDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.LazyQueryResultTuple<WabaMessageTemplateDetailsQuery, Exact<{
|
|
6299
|
+
input: WabaMessageTemplateDetailsInput;
|
|
6300
|
+
}>>;
|
|
6301
|
+
export declare function useWabaMessageTemplateDetailsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.UseSuspenseQueryResult<WabaMessageTemplateDetailsQuery | undefined, Exact<{
|
|
6302
|
+
input: WabaMessageTemplateDetailsInput;
|
|
6303
|
+
}>>;
|
|
6304
|
+
export type WabaMessageTemplateDetailsQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsQuery>;
|
|
6305
|
+
export type WabaMessageTemplateDetailsLazyQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsLazyQuery>;
|
|
6306
|
+
export type WabaMessageTemplateDetailsSuspenseQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsSuspenseQuery>;
|
|
6307
|
+
export type WabaMessageTemplateDetailsQueryResult = Apollo.QueryResult<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>;
|
|
6308
|
+
export declare function refetchWabaMessageTemplateDetailsQuery(variables: WabaMessageTemplateDetailsQueryVariables): {
|
|
6309
|
+
query: Apollo.DocumentNode;
|
|
6310
|
+
variables: Exact<{
|
|
6311
|
+
input: WabaMessageTemplateDetailsInput;
|
|
6312
|
+
}>;
|
|
6313
|
+
};
|
|
6314
|
+
export declare const WabaMessageTemplatesDocument: Apollo.DocumentNode;
|
|
5847
6315
|
/**
|
|
5848
|
-
*
|
|
6316
|
+
* __useWabaMessageTemplatesQuery__
|
|
5849
6317
|
*
|
|
5850
|
-
* To run a
|
|
5851
|
-
* When your component renders, `
|
|
5852
|
-
*
|
|
5853
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
6318
|
+
* To run a query within a React component, call `useWabaMessageTemplatesQuery` and pass it any options that fit your needs.
|
|
6319
|
+
* When your component renders, `useWabaMessageTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6320
|
+
* you can use to render your UI.
|
|
5854
6321
|
*
|
|
5855
|
-
* @param baseOptions options that will be passed into the
|
|
6322
|
+
* @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;
|
|
5856
6323
|
*
|
|
5857
6324
|
* @example
|
|
5858
|
-
* const
|
|
6325
|
+
* const { data, loading, error } = useWabaMessageTemplatesQuery({
|
|
5859
6326
|
* variables: {
|
|
5860
6327
|
* input: // value for 'input'
|
|
5861
6328
|
* },
|
|
5862
6329
|
* });
|
|
5863
6330
|
*/
|
|
5864
|
-
export declare function
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
6331
|
+
export declare function useWabaMessageTemplatesQuery(baseOptions: Apollo.QueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables> & ({
|
|
6332
|
+
variables: WabaMessageTemplatesQueryVariables;
|
|
6333
|
+
skip?: boolean;
|
|
6334
|
+
} | {
|
|
6335
|
+
skip: boolean;
|
|
6336
|
+
})): Apollo.QueryResult<WabaMessageTemplatesQuery, Exact<{
|
|
6337
|
+
input: WabaMessageTemplatesInput;
|
|
6338
|
+
}>>;
|
|
6339
|
+
export declare function useWabaMessageTemplatesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>): Apollo.LazyQueryResultTuple<WabaMessageTemplatesQuery, Exact<{
|
|
6340
|
+
input: WabaMessageTemplatesInput;
|
|
6341
|
+
}>>;
|
|
6342
|
+
export declare function useWabaMessageTemplatesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>): Apollo.UseSuspenseQueryResult<WabaMessageTemplatesQuery | undefined, Exact<{
|
|
6343
|
+
input: WabaMessageTemplatesInput;
|
|
6344
|
+
}>>;
|
|
6345
|
+
export type WabaMessageTemplatesQueryHookResult = ReturnType<typeof useWabaMessageTemplatesQuery>;
|
|
6346
|
+
export type WabaMessageTemplatesLazyQueryHookResult = ReturnType<typeof useWabaMessageTemplatesLazyQuery>;
|
|
6347
|
+
export type WabaMessageTemplatesSuspenseQueryHookResult = ReturnType<typeof useWabaMessageTemplatesSuspenseQuery>;
|
|
6348
|
+
export type WabaMessageTemplatesQueryResult = Apollo.QueryResult<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>;
|
|
6349
|
+
export declare function refetchWabaMessageTemplatesQuery(variables: WabaMessageTemplatesQueryVariables): {
|
|
6350
|
+
query: Apollo.DocumentNode;
|
|
6351
|
+
variables: Exact<{
|
|
6352
|
+
input: WabaMessageTemplatesInput;
|
|
6353
|
+
}>;
|
|
6354
|
+
};
|
|
6355
|
+
export declare const BulkDeleteClientsDocument: Apollo.DocumentNode;
|
|
6356
|
+
export type BulkDeleteClientsMutationFn = Apollo.MutationFunction<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>;
|
|
5872
6357
|
/**
|
|
5873
|
-
*
|
|
6358
|
+
* __useBulkDeleteClientsMutation__
|
|
5874
6359
|
*
|
|
5875
|
-
* To run a mutation, you first call `
|
|
5876
|
-
* When your component renders, `
|
|
6360
|
+
* To run a mutation, you first call `useBulkDeleteClientsMutation` within a React component and pass it any options that fit your needs.
|
|
6361
|
+
* When your component renders, `useBulkDeleteClientsMutation` returns a tuple that includes:
|
|
5877
6362
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5878
6363
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5879
6364
|
*
|
|
5880
6365
|
* @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;
|
|
5881
6366
|
*
|
|
5882
6367
|
* @example
|
|
5883
|
-
* const [
|
|
6368
|
+
* const [bulkDeleteClientsMutation, { data, loading, error }] = useBulkDeleteClientsMutation({
|
|
5884
6369
|
* variables: {
|
|
5885
6370
|
* input: // value for 'input'
|
|
5886
6371
|
* },
|
|
5887
6372
|
* });
|
|
5888
6373
|
*/
|
|
5889
|
-
export declare function
|
|
5890
|
-
input:
|
|
6374
|
+
export declare function useBulkDeleteClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>): Apollo.MutationTuple<BulkDeleteClientsMutation, Exact<{
|
|
6375
|
+
input: BulkPermanentDeleteClientsInput;
|
|
5891
6376
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5892
|
-
export type
|
|
5893
|
-
export type
|
|
5894
|
-
export type
|
|
5895
|
-
export declare const
|
|
5896
|
-
export type
|
|
6377
|
+
export type BulkDeleteClientsMutationHookResult = ReturnType<typeof useBulkDeleteClientsMutation>;
|
|
6378
|
+
export type BulkDeleteClientsMutationResult = Apollo.MutationResult<BulkDeleteClientsMutation>;
|
|
6379
|
+
export type BulkDeleteClientsMutationOptions = Apollo.BaseMutationOptions<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>;
|
|
6380
|
+
export declare const BulkImportContactsDocument: Apollo.DocumentNode;
|
|
6381
|
+
export type BulkImportContactsMutationFn = Apollo.MutationFunction<BulkImportContactsMutation, BulkImportContactsMutationVariables>;
|
|
5897
6382
|
/**
|
|
5898
|
-
*
|
|
6383
|
+
* __useBulkImportContactsMutation__
|
|
5899
6384
|
*
|
|
5900
|
-
* To run a mutation, you first call `
|
|
5901
|
-
* When your component renders, `
|
|
6385
|
+
* To run a mutation, you first call `useBulkImportContactsMutation` within a React component and pass it any options that fit your needs.
|
|
6386
|
+
* When your component renders, `useBulkImportContactsMutation` returns a tuple that includes:
|
|
5902
6387
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5903
6388
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5904
6389
|
*
|
|
5905
6390
|
* @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;
|
|
5906
6391
|
*
|
|
5907
6392
|
* @example
|
|
5908
|
-
* const [
|
|
6393
|
+
* const [bulkImportContactsMutation, { data, loading, error }] = useBulkImportContactsMutation({
|
|
5909
6394
|
* variables: {
|
|
5910
6395
|
* input: // value for 'input'
|
|
5911
6396
|
* },
|
|
5912
6397
|
* });
|
|
5913
6398
|
*/
|
|
5914
|
-
export declare function
|
|
5915
|
-
input:
|
|
6399
|
+
export declare function useBulkImportContactsMutation(baseOptions?: Apollo.MutationHookOptions<BulkImportContactsMutation, BulkImportContactsMutationVariables>): Apollo.MutationTuple<BulkImportContactsMutation, Exact<{
|
|
6400
|
+
input: BulkImportContactsInput;
|
|
5916
6401
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5917
|
-
export type
|
|
5918
|
-
export type
|
|
5919
|
-
export type
|
|
5920
|
-
export declare const
|
|
5921
|
-
|
|
6402
|
+
export type BulkImportContactsMutationHookResult = ReturnType<typeof useBulkImportContactsMutation>;
|
|
6403
|
+
export type BulkImportContactsMutationResult = Apollo.MutationResult<BulkImportContactsMutation>;
|
|
6404
|
+
export type BulkImportContactsMutationOptions = Apollo.BaseMutationOptions<BulkImportContactsMutation, BulkImportContactsMutationVariables>;
|
|
6405
|
+
export declare const BulkImportContactsJobStatusDocument: Apollo.DocumentNode;
|
|
6406
|
+
/**
|
|
6407
|
+
* __useBulkImportContactsJobStatusQuery__
|
|
6408
|
+
*
|
|
6409
|
+
* To run a query within a React component, call `useBulkImportContactsJobStatusQuery` and pass it any options that fit your needs.
|
|
6410
|
+
* When your component renders, `useBulkImportContactsJobStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6411
|
+
* you can use to render your UI.
|
|
6412
|
+
*
|
|
6413
|
+
* @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;
|
|
6414
|
+
*
|
|
6415
|
+
* @example
|
|
6416
|
+
* const { data, loading, error } = useBulkImportContactsJobStatusQuery({
|
|
6417
|
+
* variables: {
|
|
6418
|
+
* input: // value for 'input'
|
|
6419
|
+
* },
|
|
6420
|
+
* });
|
|
6421
|
+
*/
|
|
6422
|
+
export declare function useBulkImportContactsJobStatusQuery(baseOptions: Apollo.QueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables> & ({
|
|
6423
|
+
variables: BulkImportContactsJobStatusQueryVariables;
|
|
6424
|
+
skip?: boolean;
|
|
6425
|
+
} | {
|
|
6426
|
+
skip: boolean;
|
|
6427
|
+
})): Apollo.QueryResult<BulkImportContactsJobStatusQuery, Exact<{
|
|
6428
|
+
input: BulkImportContactsJobStatusInput;
|
|
6429
|
+
}>>;
|
|
6430
|
+
export declare function useBulkImportContactsJobStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>): Apollo.LazyQueryResultTuple<BulkImportContactsJobStatusQuery, Exact<{
|
|
6431
|
+
input: BulkImportContactsJobStatusInput;
|
|
6432
|
+
}>>;
|
|
6433
|
+
export declare function useBulkImportContactsJobStatusSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>): Apollo.UseSuspenseQueryResult<BulkImportContactsJobStatusQuery | undefined, Exact<{
|
|
6434
|
+
input: BulkImportContactsJobStatusInput;
|
|
6435
|
+
}>>;
|
|
6436
|
+
export type BulkImportContactsJobStatusQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusQuery>;
|
|
6437
|
+
export type BulkImportContactsJobStatusLazyQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusLazyQuery>;
|
|
6438
|
+
export type BulkImportContactsJobStatusSuspenseQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusSuspenseQuery>;
|
|
6439
|
+
export type BulkImportContactsJobStatusQueryResult = Apollo.QueryResult<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>;
|
|
6440
|
+
export declare function refetchBulkImportContactsJobStatusQuery(variables: BulkImportContactsJobStatusQueryVariables): {
|
|
6441
|
+
query: Apollo.DocumentNode;
|
|
6442
|
+
variables: Exact<{
|
|
6443
|
+
input: BulkImportContactsJobStatusInput;
|
|
6444
|
+
}>;
|
|
6445
|
+
};
|
|
6446
|
+
export declare const BulkPermanentDeleteClientsDocument: Apollo.DocumentNode;
|
|
6447
|
+
export type BulkPermanentDeleteClientsMutationFn = Apollo.MutationFunction<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>;
|
|
5922
6448
|
/**
|
|
5923
|
-
*
|
|
6449
|
+
* __useBulkPermanentDeleteClientsMutation__
|
|
5924
6450
|
*
|
|
5925
|
-
* To run a mutation, you first call `
|
|
5926
|
-
* When your component renders, `
|
|
6451
|
+
* To run a mutation, you first call `useBulkPermanentDeleteClientsMutation` within a React component and pass it any options that fit your needs.
|
|
6452
|
+
* When your component renders, `useBulkPermanentDeleteClientsMutation` returns a tuple that includes:
|
|
5927
6453
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5928
6454
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5929
6455
|
*
|
|
5930
6456
|
* @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;
|
|
5931
6457
|
*
|
|
5932
6458
|
* @example
|
|
5933
|
-
* const [
|
|
6459
|
+
* const [bulkPermanentDeleteClientsMutation, { data, loading, error }] = useBulkPermanentDeleteClientsMutation({
|
|
5934
6460
|
* variables: {
|
|
5935
6461
|
* input: // value for 'input'
|
|
5936
6462
|
* },
|
|
5937
6463
|
* });
|
|
5938
6464
|
*/
|
|
5939
|
-
export declare function
|
|
5940
|
-
input:
|
|
6465
|
+
export declare function useBulkPermanentDeleteClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>): Apollo.MutationTuple<BulkPermanentDeleteClientsMutation, Exact<{
|
|
6466
|
+
input: BulkPermanentDeleteClientsInput;
|
|
5941
6467
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5942
|
-
export type
|
|
5943
|
-
export type
|
|
5944
|
-
export type
|
|
5945
|
-
export declare const
|
|
5946
|
-
export type
|
|
6468
|
+
export type BulkPermanentDeleteClientsMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsMutation>;
|
|
6469
|
+
export type BulkPermanentDeleteClientsMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsMutation>;
|
|
6470
|
+
export type BulkPermanentDeleteClientsMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>;
|
|
6471
|
+
export declare const BulkPermanentDeleteClientsByFilterDocument: Apollo.DocumentNode;
|
|
6472
|
+
export type BulkPermanentDeleteClientsByFilterMutationFn = Apollo.MutationFunction<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
|
|
5947
6473
|
/**
|
|
5948
|
-
*
|
|
6474
|
+
* __useBulkPermanentDeleteClientsByFilterMutation__
|
|
5949
6475
|
*
|
|
5950
|
-
* To run a mutation, you first call `
|
|
5951
|
-
* When your component renders, `
|
|
6476
|
+
* To run a mutation, you first call `useBulkPermanentDeleteClientsByFilterMutation` within a React component and pass it any options that fit your needs.
|
|
6477
|
+
* When your component renders, `useBulkPermanentDeleteClientsByFilterMutation` returns a tuple that includes:
|
|
5952
6478
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5953
6479
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5954
6480
|
*
|
|
5955
6481
|
* @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;
|
|
5956
6482
|
*
|
|
5957
6483
|
* @example
|
|
5958
|
-
* const [
|
|
6484
|
+
* const [bulkPermanentDeleteClientsByFilterMutation, { data, loading, error }] = useBulkPermanentDeleteClientsByFilterMutation({
|
|
5959
6485
|
* variables: {
|
|
5960
6486
|
* input: // value for 'input'
|
|
5961
6487
|
* },
|
|
5962
6488
|
* });
|
|
5963
6489
|
*/
|
|
5964
|
-
export declare function
|
|
5965
|
-
input:
|
|
6490
|
+
export declare function useBulkPermanentDeleteClientsByFilterMutation(baseOptions?: Apollo.MutationHookOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>): Apollo.MutationTuple<BulkPermanentDeleteClientsByFilterMutation, Exact<{
|
|
6491
|
+
input: BulkPermanentDeleteClientsByFilterInput;
|
|
5966
6492
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5967
|
-
export type
|
|
5968
|
-
export type
|
|
5969
|
-
export type
|
|
5970
|
-
export declare const
|
|
5971
|
-
export type
|
|
6493
|
+
export type BulkPermanentDeleteClientsByFilterMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsByFilterMutation>;
|
|
6494
|
+
export type BulkPermanentDeleteClientsByFilterMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsByFilterMutation>;
|
|
6495
|
+
export type BulkPermanentDeleteClientsByFilterMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
|
|
6496
|
+
export declare const BulkUndeleteClientsDocument: Apollo.DocumentNode;
|
|
6497
|
+
export type BulkUndeleteClientsMutationFn = Apollo.MutationFunction<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>;
|
|
5972
6498
|
/**
|
|
5973
|
-
*
|
|
6499
|
+
* __useBulkUndeleteClientsMutation__
|
|
5974
6500
|
*
|
|
5975
|
-
* To run a mutation, you first call `
|
|
5976
|
-
* When your component renders, `
|
|
6501
|
+
* To run a mutation, you first call `useBulkUndeleteClientsMutation` within a React component and pass it any options that fit your needs.
|
|
6502
|
+
* When your component renders, `useBulkUndeleteClientsMutation` returns a tuple that includes:
|
|
5977
6503
|
* - A mutate function that you can call at any time to execute the mutation
|
|
5978
6504
|
* - An object with fields that represent the current status of the mutation's execution
|
|
5979
6505
|
*
|
|
5980
6506
|
* @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;
|
|
5981
6507
|
*
|
|
5982
6508
|
* @example
|
|
5983
|
-
* const [
|
|
6509
|
+
* const [bulkUndeleteClientsMutation, { data, loading, error }] = useBulkUndeleteClientsMutation({
|
|
5984
6510
|
* variables: {
|
|
5985
6511
|
* input: // value for 'input'
|
|
5986
6512
|
* },
|
|
5987
6513
|
* });
|
|
5988
6514
|
*/
|
|
5989
|
-
export declare function
|
|
5990
|
-
input:
|
|
6515
|
+
export declare function useBulkUndeleteClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>): Apollo.MutationTuple<BulkUndeleteClientsMutation, Exact<{
|
|
6516
|
+
input: BulkPermanentDeleteClientsInput;
|
|
5991
6517
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
5992
|
-
export type
|
|
5993
|
-
export type
|
|
5994
|
-
export type
|
|
5995
|
-
export declare const
|
|
6518
|
+
export type BulkUndeleteClientsMutationHookResult = ReturnType<typeof useBulkUndeleteClientsMutation>;
|
|
6519
|
+
export type BulkUndeleteClientsMutationResult = Apollo.MutationResult<BulkUndeleteClientsMutation>;
|
|
6520
|
+
export type BulkUndeleteClientsMutationOptions = Apollo.BaseMutationOptions<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>;
|
|
6521
|
+
export declare const ClientDocument: Apollo.DocumentNode;
|
|
5996
6522
|
/**
|
|
5997
|
-
*
|
|
6523
|
+
* __useClientQuery__
|
|
5998
6524
|
*
|
|
5999
|
-
* To run a query within a React component, call `
|
|
6000
|
-
* When your component renders, `
|
|
6525
|
+
* To run a query within a React component, call `useClientQuery` and pass it any options that fit your needs.
|
|
6526
|
+
* When your component renders, `useClientQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6001
6527
|
* you can use to render your UI.
|
|
6002
6528
|
*
|
|
6003
6529
|
* @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;
|
|
6004
6530
|
*
|
|
6005
6531
|
* @example
|
|
6006
|
-
* const { data, loading, error } =
|
|
6532
|
+
* const { data, loading, error } = useClientQuery({
|
|
6007
6533
|
* variables: {
|
|
6008
6534
|
* input: // value for 'input'
|
|
6009
|
-
* pageInfo: // value for 'pageInfo'
|
|
6010
6535
|
* },
|
|
6011
6536
|
* });
|
|
6012
6537
|
*/
|
|
6013
|
-
export declare function
|
|
6014
|
-
variables:
|
|
6538
|
+
export declare function useClientQuery(baseOptions: Apollo.QueryHookOptions<ClientQuery, ClientQueryVariables> & ({
|
|
6539
|
+
variables: ClientQueryVariables;
|
|
6015
6540
|
skip?: boolean;
|
|
6016
6541
|
} | {
|
|
6017
6542
|
skip: boolean;
|
|
6018
|
-
})): Apollo.QueryResult<
|
|
6019
|
-
input:
|
|
6020
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6543
|
+
})): Apollo.QueryResult<ClientQuery, Exact<{
|
|
6544
|
+
input: ClientInput;
|
|
6021
6545
|
}>>;
|
|
6022
|
-
export declare function
|
|
6023
|
-
input:
|
|
6024
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6546
|
+
export declare function useClientLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientQuery, ClientQueryVariables>): Apollo.LazyQueryResultTuple<ClientQuery, Exact<{
|
|
6547
|
+
input: ClientInput;
|
|
6025
6548
|
}>>;
|
|
6026
|
-
export declare function
|
|
6027
|
-
input:
|
|
6028
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6549
|
+
export declare function useClientSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientQuery, ClientQueryVariables>): Apollo.UseSuspenseQueryResult<ClientQuery | undefined, Exact<{
|
|
6550
|
+
input: ClientInput;
|
|
6029
6551
|
}>>;
|
|
6030
|
-
export type
|
|
6031
|
-
export type
|
|
6032
|
-
export type
|
|
6033
|
-
export type
|
|
6034
|
-
export declare function
|
|
6552
|
+
export type ClientQueryHookResult = ReturnType<typeof useClientQuery>;
|
|
6553
|
+
export type ClientLazyQueryHookResult = ReturnType<typeof useClientLazyQuery>;
|
|
6554
|
+
export type ClientSuspenseQueryHookResult = ReturnType<typeof useClientSuspenseQuery>;
|
|
6555
|
+
export type ClientQueryResult = Apollo.QueryResult<ClientQuery, ClientQueryVariables>;
|
|
6556
|
+
export declare function refetchClientQuery(variables: ClientQueryVariables): {
|
|
6035
6557
|
query: Apollo.DocumentNode;
|
|
6036
6558
|
variables: Exact<{
|
|
6037
|
-
input:
|
|
6038
|
-
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6559
|
+
input: ClientInput;
|
|
6039
6560
|
}>;
|
|
6040
6561
|
};
|
|
6041
|
-
export declare const
|
|
6562
|
+
export declare const ClientByPhoneDocument: Apollo.DocumentNode;
|
|
6042
6563
|
/**
|
|
6043
|
-
*
|
|
6564
|
+
* __useClientByPhoneQuery__
|
|
6044
6565
|
*
|
|
6045
|
-
* To run a query within a React component, call `
|
|
6046
|
-
* When your component renders, `
|
|
6566
|
+
* To run a query within a React component, call `useClientByPhoneQuery` and pass it any options that fit your needs.
|
|
6567
|
+
* When your component renders, `useClientByPhoneQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6047
6568
|
* you can use to render your UI.
|
|
6048
6569
|
*
|
|
6049
6570
|
* @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;
|
|
6050
6571
|
*
|
|
6051
6572
|
* @example
|
|
6052
|
-
* const { data, loading, error } =
|
|
6573
|
+
* const { data, loading, error } = useClientByPhoneQuery({
|
|
6053
6574
|
* variables: {
|
|
6054
6575
|
* input: // value for 'input'
|
|
6055
6576
|
* },
|
|
6056
6577
|
* });
|
|
6057
6578
|
*/
|
|
6058
|
-
export declare function
|
|
6059
|
-
variables:
|
|
6579
|
+
export declare function useClientByPhoneQuery(baseOptions: Apollo.QueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables> & ({
|
|
6580
|
+
variables: ClientByPhoneQueryVariables;
|
|
6060
6581
|
skip?: boolean;
|
|
6061
6582
|
} | {
|
|
6062
6583
|
skip: boolean;
|
|
6063
|
-
})): Apollo.QueryResult<
|
|
6064
|
-
input:
|
|
6584
|
+
})): Apollo.QueryResult<ClientByPhoneQuery, Exact<{
|
|
6585
|
+
input: ClientByPhoneInput;
|
|
6065
6586
|
}>>;
|
|
6066
|
-
export declare function
|
|
6067
|
-
input:
|
|
6587
|
+
export declare function useClientByPhoneLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables>): Apollo.LazyQueryResultTuple<ClientByPhoneQuery, Exact<{
|
|
6588
|
+
input: ClientByPhoneInput;
|
|
6068
6589
|
}>>;
|
|
6069
|
-
export declare function
|
|
6070
|
-
input:
|
|
6590
|
+
export declare function useClientByPhoneSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables>): Apollo.UseSuspenseQueryResult<ClientByPhoneQuery | undefined, Exact<{
|
|
6591
|
+
input: ClientByPhoneInput;
|
|
6071
6592
|
}>>;
|
|
6072
|
-
export type
|
|
6073
|
-
export type
|
|
6074
|
-
export type
|
|
6075
|
-
export type
|
|
6076
|
-
export declare function
|
|
6593
|
+
export type ClientByPhoneQueryHookResult = ReturnType<typeof useClientByPhoneQuery>;
|
|
6594
|
+
export type ClientByPhoneLazyQueryHookResult = ReturnType<typeof useClientByPhoneLazyQuery>;
|
|
6595
|
+
export type ClientByPhoneSuspenseQueryHookResult = ReturnType<typeof useClientByPhoneSuspenseQuery>;
|
|
6596
|
+
export type ClientByPhoneQueryResult = Apollo.QueryResult<ClientByPhoneQuery, ClientByPhoneQueryVariables>;
|
|
6597
|
+
export declare function refetchClientByPhoneQuery(variables: ClientByPhoneQueryVariables): {
|
|
6077
6598
|
query: Apollo.DocumentNode;
|
|
6078
6599
|
variables: Exact<{
|
|
6079
|
-
input:
|
|
6600
|
+
input: ClientByPhoneInput;
|
|
6080
6601
|
}>;
|
|
6081
6602
|
};
|
|
6082
|
-
export declare const
|
|
6083
|
-
export type PatchAgentMutationFn = Apollo.MutationFunction<PatchAgentMutation, PatchAgentMutationVariables>;
|
|
6084
|
-
/**
|
|
6085
|
-
* __usePatchAgentMutation__
|
|
6086
|
-
*
|
|
6087
|
-
* To run a mutation, you first call `usePatchAgentMutation` within a React component and pass it any options that fit your needs.
|
|
6088
|
-
* When your component renders, `usePatchAgentMutation` returns a tuple that includes:
|
|
6089
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
6090
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
6091
|
-
*
|
|
6092
|
-
* @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;
|
|
6093
|
-
*
|
|
6094
|
-
* @example
|
|
6095
|
-
* const [patchAgentMutation, { data, loading, error }] = usePatchAgentMutation({
|
|
6096
|
-
* variables: {
|
|
6097
|
-
* input: // value for 'input'
|
|
6098
|
-
* },
|
|
6099
|
-
* });
|
|
6100
|
-
*/
|
|
6101
|
-
export declare function usePatchAgentMutation(baseOptions?: Apollo.MutationHookOptions<PatchAgentMutation, PatchAgentMutationVariables>): Apollo.MutationTuple<PatchAgentMutation, Exact<{
|
|
6102
|
-
input: AgentPatchInput;
|
|
6103
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6104
|
-
export type PatchAgentMutationHookResult = ReturnType<typeof usePatchAgentMutation>;
|
|
6105
|
-
export type PatchAgentMutationResult = Apollo.MutationResult<PatchAgentMutation>;
|
|
6106
|
-
export type PatchAgentMutationOptions = Apollo.BaseMutationOptions<PatchAgentMutation, PatchAgentMutationVariables>;
|
|
6107
|
-
export declare const PatchBroadcastDocument: Apollo.DocumentNode;
|
|
6108
|
-
export type PatchBroadcastMutationFn = Apollo.MutationFunction<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
|
|
6109
|
-
/**
|
|
6110
|
-
* __usePatchBroadcastMutation__
|
|
6111
|
-
*
|
|
6112
|
-
* To run a mutation, you first call `usePatchBroadcastMutation` within a React component and pass it any options that fit your needs.
|
|
6113
|
-
* When your component renders, `usePatchBroadcastMutation` returns a tuple that includes:
|
|
6114
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
6115
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
6116
|
-
*
|
|
6117
|
-
* @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;
|
|
6118
|
-
*
|
|
6119
|
-
* @example
|
|
6120
|
-
* const [patchBroadcastMutation, { data, loading, error }] = usePatchBroadcastMutation({
|
|
6121
|
-
* variables: {
|
|
6122
|
-
* input: // value for 'input'
|
|
6123
|
-
* },
|
|
6124
|
-
* });
|
|
6125
|
-
*/
|
|
6126
|
-
export declare function usePatchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>): Apollo.MutationTuple<PatchBroadcastMutation, Exact<{
|
|
6127
|
-
input: BroadcastPatchInput;
|
|
6128
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6129
|
-
export type PatchBroadcastMutationHookResult = ReturnType<typeof usePatchBroadcastMutation>;
|
|
6130
|
-
export type PatchBroadcastMutationResult = Apollo.MutationResult<PatchBroadcastMutation>;
|
|
6131
|
-
export type PatchBroadcastMutationOptions = Apollo.BaseMutationOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
|
|
6132
|
-
export declare const PatchClientDocument: Apollo.DocumentNode;
|
|
6133
|
-
export type PatchClientMutationFn = Apollo.MutationFunction<PatchClientMutation, PatchClientMutationVariables>;
|
|
6603
|
+
export declare const ClientsDocument: Apollo.DocumentNode;
|
|
6134
6604
|
/**
|
|
6135
|
-
*
|
|
6605
|
+
* __useClientsQuery__
|
|
6136
6606
|
*
|
|
6137
|
-
* To run a
|
|
6138
|
-
* When your component renders, `
|
|
6139
|
-
*
|
|
6140
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
6607
|
+
* To run a query within a React component, call `useClientsQuery` and pass it any options that fit your needs.
|
|
6608
|
+
* When your component renders, `useClientsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6609
|
+
* you can use to render your UI.
|
|
6141
6610
|
*
|
|
6142
|
-
* @param baseOptions options that will be passed into the
|
|
6611
|
+
* @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;
|
|
6143
6612
|
*
|
|
6144
6613
|
* @example
|
|
6145
|
-
* const
|
|
6614
|
+
* const { data, loading, error } = useClientsQuery({
|
|
6146
6615
|
* variables: {
|
|
6147
6616
|
* input: // value for 'input'
|
|
6617
|
+
* pageInfo: // value for 'pageInfo'
|
|
6148
6618
|
* },
|
|
6149
6619
|
* });
|
|
6150
6620
|
*/
|
|
6151
|
-
export declare function
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6621
|
+
export declare function useClientsQuery(baseOptions: Apollo.QueryHookOptions<ClientsQuery, ClientsQueryVariables> & ({
|
|
6622
|
+
variables: ClientsQueryVariables;
|
|
6623
|
+
skip?: boolean;
|
|
6624
|
+
} | {
|
|
6625
|
+
skip: boolean;
|
|
6626
|
+
})): Apollo.QueryResult<ClientsQuery, Exact<{
|
|
6627
|
+
input: ClientsInput;
|
|
6628
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6629
|
+
}>>;
|
|
6630
|
+
export declare function useClientsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientsQuery, ClientsQueryVariables>): Apollo.LazyQueryResultTuple<ClientsQuery, Exact<{
|
|
6631
|
+
input: ClientsInput;
|
|
6632
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6633
|
+
}>>;
|
|
6634
|
+
export declare function useClientsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientsQuery, ClientsQueryVariables>): Apollo.UseSuspenseQueryResult<ClientsQuery | undefined, Exact<{
|
|
6635
|
+
input: ClientsInput;
|
|
6636
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6637
|
+
}>>;
|
|
6638
|
+
export type ClientsQueryHookResult = ReturnType<typeof useClientsQuery>;
|
|
6639
|
+
export type ClientsLazyQueryHookResult = ReturnType<typeof useClientsLazyQuery>;
|
|
6640
|
+
export type ClientsSuspenseQueryHookResult = ReturnType<typeof useClientsSuspenseQuery>;
|
|
6641
|
+
export type ClientsQueryResult = Apollo.QueryResult<ClientsQuery, ClientsQueryVariables>;
|
|
6642
|
+
export declare function refetchClientsQuery(variables: ClientsQueryVariables): {
|
|
6643
|
+
query: Apollo.DocumentNode;
|
|
6644
|
+
variables: Exact<{
|
|
6645
|
+
input: ClientsInput;
|
|
6646
|
+
pageInfo?: InputMaybe<PageInfoInput> | undefined;
|
|
6647
|
+
}>;
|
|
6648
|
+
};
|
|
6649
|
+
export declare const CreateClientDocument: Apollo.DocumentNode;
|
|
6650
|
+
export type CreateClientMutationFn = Apollo.MutationFunction<CreateClientMutation, CreateClientMutationVariables>;
|
|
6159
6651
|
/**
|
|
6160
|
-
*
|
|
6652
|
+
* __useCreateClientMutation__
|
|
6161
6653
|
*
|
|
6162
|
-
* To run a mutation, you first call `
|
|
6163
|
-
* When your component renders, `
|
|
6654
|
+
* To run a mutation, you first call `useCreateClientMutation` within a React component and pass it any options that fit your needs.
|
|
6655
|
+
* When your component renders, `useCreateClientMutation` returns a tuple that includes:
|
|
6164
6656
|
* - A mutate function that you can call at any time to execute the mutation
|
|
6165
6657
|
* - An object with fields that represent the current status of the mutation's execution
|
|
6166
6658
|
*
|
|
6167
6659
|
* @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;
|
|
6168
6660
|
*
|
|
6169
6661
|
* @example
|
|
6170
|
-
* const [
|
|
6662
|
+
* const [createClientMutation, { data, loading, error }] = useCreateClientMutation({
|
|
6171
6663
|
* variables: {
|
|
6172
6664
|
* input: // value for 'input'
|
|
6173
6665
|
* },
|
|
6174
6666
|
* });
|
|
6175
6667
|
*/
|
|
6176
|
-
export declare function
|
|
6177
|
-
input:
|
|
6668
|
+
export declare function useCreateClientMutation(baseOptions?: Apollo.MutationHookOptions<CreateClientMutation, CreateClientMutationVariables>): Apollo.MutationTuple<CreateClientMutation, Exact<{
|
|
6669
|
+
input: ClientCreateInput;
|
|
6178
6670
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6179
|
-
export type
|
|
6180
|
-
export type
|
|
6181
|
-
export type
|
|
6182
|
-
export declare const
|
|
6183
|
-
export type
|
|
6671
|
+
export type CreateClientMutationHookResult = ReturnType<typeof useCreateClientMutation>;
|
|
6672
|
+
export type CreateClientMutationResult = Apollo.MutationResult<CreateClientMutation>;
|
|
6673
|
+
export type CreateClientMutationOptions = Apollo.BaseMutationOptions<CreateClientMutation, CreateClientMutationVariables>;
|
|
6674
|
+
export declare const DeleteClientDocument: Apollo.DocumentNode;
|
|
6675
|
+
export type DeleteClientMutationFn = Apollo.MutationFunction<DeleteClientMutation, DeleteClientMutationVariables>;
|
|
6184
6676
|
/**
|
|
6185
|
-
*
|
|
6677
|
+
* __useDeleteClientMutation__
|
|
6186
6678
|
*
|
|
6187
|
-
* To run a mutation, you first call `
|
|
6188
|
-
* When your component renders, `
|
|
6679
|
+
* To run a mutation, you first call `useDeleteClientMutation` within a React component and pass it any options that fit your needs.
|
|
6680
|
+
* When your component renders, `useDeleteClientMutation` returns a tuple that includes:
|
|
6189
6681
|
* - A mutate function that you can call at any time to execute the mutation
|
|
6190
6682
|
* - An object with fields that represent the current status of the mutation's execution
|
|
6191
6683
|
*
|
|
6192
6684
|
* @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;
|
|
6193
6685
|
*
|
|
6194
6686
|
* @example
|
|
6195
|
-
* const [
|
|
6687
|
+
* const [deleteClientMutation, { data, loading, error }] = useDeleteClientMutation({
|
|
6196
6688
|
* variables: {
|
|
6197
6689
|
* input: // value for 'input'
|
|
6198
6690
|
* },
|
|
6199
6691
|
* });
|
|
6200
6692
|
*/
|
|
6201
|
-
export declare function
|
|
6202
|
-
input:
|
|
6693
|
+
export declare function useDeleteClientMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientMutation, DeleteClientMutationVariables>): Apollo.MutationTuple<DeleteClientMutation, Exact<{
|
|
6694
|
+
input: ClientInput;
|
|
6203
6695
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6204
|
-
export type
|
|
6205
|
-
export type
|
|
6206
|
-
export type
|
|
6207
|
-
export declare const
|
|
6208
|
-
export type
|
|
6696
|
+
export type DeleteClientMutationHookResult = ReturnType<typeof useDeleteClientMutation>;
|
|
6697
|
+
export type DeleteClientMutationResult = Apollo.MutationResult<DeleteClientMutation>;
|
|
6698
|
+
export type DeleteClientMutationOptions = Apollo.BaseMutationOptions<DeleteClientMutation, DeleteClientMutationVariables>;
|
|
6699
|
+
export declare const DeleteClientByExternalIdDocument: Apollo.DocumentNode;
|
|
6700
|
+
export type DeleteClientByExternalIdMutationFn = Apollo.MutationFunction<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
|
|
6209
6701
|
/**
|
|
6210
|
-
*
|
|
6702
|
+
* __useDeleteClientByExternalIdMutation__
|
|
6211
6703
|
*
|
|
6212
|
-
* To run a mutation, you first call `
|
|
6213
|
-
* When your component renders, `
|
|
6704
|
+
* To run a mutation, you first call `useDeleteClientByExternalIdMutation` within a React component and pass it any options that fit your needs.
|
|
6705
|
+
* When your component renders, `useDeleteClientByExternalIdMutation` returns a tuple that includes:
|
|
6214
6706
|
* - A mutate function that you can call at any time to execute the mutation
|
|
6215
6707
|
* - An object with fields that represent the current status of the mutation's execution
|
|
6216
6708
|
*
|
|
6217
6709
|
* @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;
|
|
6218
6710
|
*
|
|
6219
6711
|
* @example
|
|
6220
|
-
* const [
|
|
6712
|
+
* const [deleteClientByExternalIdMutation, { data, loading, error }] = useDeleteClientByExternalIdMutation({
|
|
6221
6713
|
* variables: {
|
|
6222
6714
|
* input: // value for 'input'
|
|
6223
6715
|
* },
|
|
6224
6716
|
* });
|
|
6225
6717
|
*/
|
|
6226
|
-
export declare function
|
|
6227
|
-
input:
|
|
6718
|
+
export declare function useDeleteClientByExternalIdMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>): Apollo.MutationTuple<DeleteClientByExternalIdMutation, Exact<{
|
|
6719
|
+
input: ClientDeleteByExternalIdInput;
|
|
6228
6720
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6229
|
-
export type
|
|
6230
|
-
export type
|
|
6231
|
-
export type
|
|
6232
|
-
export declare const
|
|
6233
|
-
export type
|
|
6721
|
+
export type DeleteClientByExternalIdMutationHookResult = ReturnType<typeof useDeleteClientByExternalIdMutation>;
|
|
6722
|
+
export type DeleteClientByExternalIdMutationResult = Apollo.MutationResult<DeleteClientByExternalIdMutation>;
|
|
6723
|
+
export type DeleteClientByExternalIdMutationOptions = Apollo.BaseMutationOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
|
|
6724
|
+
export declare const PatchClientDocument: Apollo.DocumentNode;
|
|
6725
|
+
export type PatchClientMutationFn = Apollo.MutationFunction<PatchClientMutation, PatchClientMutationVariables>;
|
|
6234
6726
|
/**
|
|
6235
|
-
*
|
|
6727
|
+
* __usePatchClientMutation__
|
|
6236
6728
|
*
|
|
6237
|
-
* To run a mutation, you first call `
|
|
6238
|
-
* When your component renders, `
|
|
6729
|
+
* To run a mutation, you first call `usePatchClientMutation` within a React component and pass it any options that fit your needs.
|
|
6730
|
+
* When your component renders, `usePatchClientMutation` returns a tuple that includes:
|
|
6239
6731
|
* - A mutate function that you can call at any time to execute the mutation
|
|
6240
6732
|
* - An object with fields that represent the current status of the mutation's execution
|
|
6241
6733
|
*
|
|
6242
6734
|
* @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;
|
|
6243
6735
|
*
|
|
6244
6736
|
* @example
|
|
6245
|
-
* const [
|
|
6737
|
+
* const [patchClientMutation, { data, loading, error }] = usePatchClientMutation({
|
|
6246
6738
|
* variables: {
|
|
6247
6739
|
* input: // value for 'input'
|
|
6248
6740
|
* },
|
|
6249
6741
|
* });
|
|
6250
6742
|
*/
|
|
6251
|
-
export declare function
|
|
6252
|
-
input:
|
|
6743
|
+
export declare function usePatchClientMutation(baseOptions?: Apollo.MutationHookOptions<PatchClientMutation, PatchClientMutationVariables>): Apollo.MutationTuple<PatchClientMutation, Exact<{
|
|
6744
|
+
input: ClientPatchInput;
|
|
6253
6745
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6254
|
-
export type
|
|
6255
|
-
export type
|
|
6256
|
-
export type
|
|
6257
|
-
export declare const TagsDocument: Apollo.DocumentNode;
|
|
6258
|
-
/**
|
|
6259
|
-
* __useTagsQuery__
|
|
6260
|
-
*
|
|
6261
|
-
* To run a query within a React component, call `useTagsQuery` and pass it any options that fit your needs.
|
|
6262
|
-
* When your component renders, `useTagsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6263
|
-
* you can use to render your UI.
|
|
6264
|
-
*
|
|
6265
|
-
* @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;
|
|
6266
|
-
*
|
|
6267
|
-
* @example
|
|
6268
|
-
* const { data, loading, error } = useTagsQuery({
|
|
6269
|
-
* variables: {
|
|
6270
|
-
* input: // value for 'input'
|
|
6271
|
-
* },
|
|
6272
|
-
* });
|
|
6273
|
-
*/
|
|
6274
|
-
export declare function useTagsQuery(baseOptions: Apollo.QueryHookOptions<TagsQuery, TagsQueryVariables> & ({
|
|
6275
|
-
variables: TagsQueryVariables;
|
|
6276
|
-
skip?: boolean;
|
|
6277
|
-
} | {
|
|
6278
|
-
skip: boolean;
|
|
6279
|
-
})): Apollo.QueryResult<TagsQuery, Exact<{
|
|
6280
|
-
input: TagsInput;
|
|
6281
|
-
}>>;
|
|
6282
|
-
export declare function useTagsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TagsQuery, TagsQueryVariables>): Apollo.LazyQueryResultTuple<TagsQuery, Exact<{
|
|
6283
|
-
input: TagsInput;
|
|
6284
|
-
}>>;
|
|
6285
|
-
export declare function useTagsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TagsQuery, TagsQueryVariables>): Apollo.UseSuspenseQueryResult<TagsQuery | undefined, Exact<{
|
|
6286
|
-
input: TagsInput;
|
|
6287
|
-
}>>;
|
|
6288
|
-
export type TagsQueryHookResult = ReturnType<typeof useTagsQuery>;
|
|
6289
|
-
export type TagsLazyQueryHookResult = ReturnType<typeof useTagsLazyQuery>;
|
|
6290
|
-
export type TagsSuspenseQueryHookResult = ReturnType<typeof useTagsSuspenseQuery>;
|
|
6291
|
-
export type TagsQueryResult = Apollo.QueryResult<TagsQuery, TagsQueryVariables>;
|
|
6292
|
-
export declare function refetchTagsQuery(variables: TagsQueryVariables): {
|
|
6293
|
-
query: Apollo.DocumentNode;
|
|
6294
|
-
variables: Exact<{
|
|
6295
|
-
input: TagsInput;
|
|
6296
|
-
}>;
|
|
6297
|
-
};
|
|
6746
|
+
export type PatchClientMutationHookResult = ReturnType<typeof usePatchClientMutation>;
|
|
6747
|
+
export type PatchClientMutationResult = Apollo.MutationResult<PatchClientMutation>;
|
|
6748
|
+
export type PatchClientMutationOptions = Apollo.BaseMutationOptions<PatchClientMutation, PatchClientMutationVariables>;
|
|
6298
6749
|
export declare const UndeleteClientDocument: Apollo.DocumentNode;
|
|
6299
6750
|
export type UndeleteClientMutationFn = Apollo.MutationFunction<UndeleteClientMutation, UndeleteClientMutationVariables>;
|
|
6300
6751
|
/**
|
|
@@ -6345,56 +6796,6 @@ export declare function useUndeleteClientByExternalIdMutation(baseOptions?: Apol
|
|
|
6345
6796
|
export type UndeleteClientByExternalIdMutationHookResult = ReturnType<typeof useUndeleteClientByExternalIdMutation>;
|
|
6346
6797
|
export type UndeleteClientByExternalIdMutationResult = Apollo.MutationResult<UndeleteClientByExternalIdMutation>;
|
|
6347
6798
|
export type UndeleteClientByExternalIdMutationOptions = Apollo.BaseMutationOptions<UndeleteClientByExternalIdMutation, UndeleteClientByExternalIdMutationVariables>;
|
|
6348
|
-
export declare const UntagClientDocument: Apollo.DocumentNode;
|
|
6349
|
-
export type UntagClientMutationFn = Apollo.MutationFunction<UntagClientMutation, UntagClientMutationVariables>;
|
|
6350
|
-
/**
|
|
6351
|
-
* __useUntagClientMutation__
|
|
6352
|
-
*
|
|
6353
|
-
* To run a mutation, you first call `useUntagClientMutation` within a React component and pass it any options that fit your needs.
|
|
6354
|
-
* When your component renders, `useUntagClientMutation` returns a tuple that includes:
|
|
6355
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
6356
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
6357
|
-
*
|
|
6358
|
-
* @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;
|
|
6359
|
-
*
|
|
6360
|
-
* @example
|
|
6361
|
-
* const [untagClientMutation, { data, loading, error }] = useUntagClientMutation({
|
|
6362
|
-
* variables: {
|
|
6363
|
-
* input: // value for 'input'
|
|
6364
|
-
* },
|
|
6365
|
-
* });
|
|
6366
|
-
*/
|
|
6367
|
-
export declare function useUntagClientMutation(baseOptions?: Apollo.MutationHookOptions<UntagClientMutation, UntagClientMutationVariables>): Apollo.MutationTuple<UntagClientMutation, Exact<{
|
|
6368
|
-
input: ClientTagInput;
|
|
6369
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6370
|
-
export type UntagClientMutationHookResult = ReturnType<typeof useUntagClientMutation>;
|
|
6371
|
-
export type UntagClientMutationResult = Apollo.MutationResult<UntagClientMutation>;
|
|
6372
|
-
export type UntagClientMutationOptions = Apollo.BaseMutationOptions<UntagClientMutation, UntagClientMutationVariables>;
|
|
6373
|
-
export declare const UntagConvDocument: Apollo.DocumentNode;
|
|
6374
|
-
export type UntagConvMutationFn = Apollo.MutationFunction<UntagConvMutation, UntagConvMutationVariables>;
|
|
6375
|
-
/**
|
|
6376
|
-
* __useUntagConvMutation__
|
|
6377
|
-
*
|
|
6378
|
-
* To run a mutation, you first call `useUntagConvMutation` within a React component and pass it any options that fit your needs.
|
|
6379
|
-
* When your component renders, `useUntagConvMutation` returns a tuple that includes:
|
|
6380
|
-
* - A mutate function that you can call at any time to execute the mutation
|
|
6381
|
-
* - An object with fields that represent the current status of the mutation's execution
|
|
6382
|
-
*
|
|
6383
|
-
* @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;
|
|
6384
|
-
*
|
|
6385
|
-
* @example
|
|
6386
|
-
* const [untagConvMutation, { data, loading, error }] = useUntagConvMutation({
|
|
6387
|
-
* variables: {
|
|
6388
|
-
* input: // value for 'input'
|
|
6389
|
-
* },
|
|
6390
|
-
* });
|
|
6391
|
-
*/
|
|
6392
|
-
export declare function useUntagConvMutation(baseOptions?: Apollo.MutationHookOptions<UntagConvMutation, UntagConvMutationVariables>): Apollo.MutationTuple<UntagConvMutation, Exact<{
|
|
6393
|
-
input: ConvTagInput;
|
|
6394
|
-
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
6395
|
-
export type UntagConvMutationHookResult = ReturnType<typeof useUntagConvMutation>;
|
|
6396
|
-
export type UntagConvMutationResult = Apollo.MutationResult<UntagConvMutation>;
|
|
6397
|
-
export type UntagConvMutationOptions = Apollo.BaseMutationOptions<UntagConvMutation, UntagConvMutationVariables>;
|
|
6398
6799
|
export declare const ValidateBulkImportContactsDocument: Apollo.DocumentNode;
|
|
6399
6800
|
/**
|
|
6400
6801
|
* __useValidateBulkImportContactsQuery__
|
|
@@ -6436,88 +6837,6 @@ export declare function refetchValidateBulkImportContactsQuery(variables: Valida
|
|
|
6436
6837
|
input: ValidateBulkImportContactsInput;
|
|
6437
6838
|
}>;
|
|
6438
6839
|
};
|
|
6439
|
-
export declare const WabaMessageTemplateDetailsDocument: Apollo.DocumentNode;
|
|
6440
|
-
/**
|
|
6441
|
-
* __useWabaMessageTemplateDetailsQuery__
|
|
6442
|
-
*
|
|
6443
|
-
* To run a query within a React component, call `useWabaMessageTemplateDetailsQuery` and pass it any options that fit your needs.
|
|
6444
|
-
* When your component renders, `useWabaMessageTemplateDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6445
|
-
* you can use to render your UI.
|
|
6446
|
-
*
|
|
6447
|
-
* @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;
|
|
6448
|
-
*
|
|
6449
|
-
* @example
|
|
6450
|
-
* const { data, loading, error } = useWabaMessageTemplateDetailsQuery({
|
|
6451
|
-
* variables: {
|
|
6452
|
-
* input: // value for 'input'
|
|
6453
|
-
* },
|
|
6454
|
-
* });
|
|
6455
|
-
*/
|
|
6456
|
-
export declare function useWabaMessageTemplateDetailsQuery(baseOptions: Apollo.QueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables> & ({
|
|
6457
|
-
variables: WabaMessageTemplateDetailsQueryVariables;
|
|
6458
|
-
skip?: boolean;
|
|
6459
|
-
} | {
|
|
6460
|
-
skip: boolean;
|
|
6461
|
-
})): Apollo.QueryResult<WabaMessageTemplateDetailsQuery, Exact<{
|
|
6462
|
-
input: WabaMessageTemplateDetailsInput;
|
|
6463
|
-
}>>;
|
|
6464
|
-
export declare function useWabaMessageTemplateDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.LazyQueryResultTuple<WabaMessageTemplateDetailsQuery, Exact<{
|
|
6465
|
-
input: WabaMessageTemplateDetailsInput;
|
|
6466
|
-
}>>;
|
|
6467
|
-
export declare function useWabaMessageTemplateDetailsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.UseSuspenseQueryResult<WabaMessageTemplateDetailsQuery | undefined, Exact<{
|
|
6468
|
-
input: WabaMessageTemplateDetailsInput;
|
|
6469
|
-
}>>;
|
|
6470
|
-
export type WabaMessageTemplateDetailsQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsQuery>;
|
|
6471
|
-
export type WabaMessageTemplateDetailsLazyQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsLazyQuery>;
|
|
6472
|
-
export type WabaMessageTemplateDetailsSuspenseQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsSuspenseQuery>;
|
|
6473
|
-
export type WabaMessageTemplateDetailsQueryResult = Apollo.QueryResult<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>;
|
|
6474
|
-
export declare function refetchWabaMessageTemplateDetailsQuery(variables: WabaMessageTemplateDetailsQueryVariables): {
|
|
6475
|
-
query: Apollo.DocumentNode;
|
|
6476
|
-
variables: Exact<{
|
|
6477
|
-
input: WabaMessageTemplateDetailsInput;
|
|
6478
|
-
}>;
|
|
6479
|
-
};
|
|
6480
|
-
export declare const WabaMessageTemplatesDocument: Apollo.DocumentNode;
|
|
6481
|
-
/**
|
|
6482
|
-
* __useWabaMessageTemplatesQuery__
|
|
6483
|
-
*
|
|
6484
|
-
* To run a query within a React component, call `useWabaMessageTemplatesQuery` and pass it any options that fit your needs.
|
|
6485
|
-
* When your component renders, `useWabaMessageTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6486
|
-
* you can use to render your UI.
|
|
6487
|
-
*
|
|
6488
|
-
* @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;
|
|
6489
|
-
*
|
|
6490
|
-
* @example
|
|
6491
|
-
* const { data, loading, error } = useWabaMessageTemplatesQuery({
|
|
6492
|
-
* variables: {
|
|
6493
|
-
* input: // value for 'input'
|
|
6494
|
-
* },
|
|
6495
|
-
* });
|
|
6496
|
-
*/
|
|
6497
|
-
export declare function useWabaMessageTemplatesQuery(baseOptions: Apollo.QueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables> & ({
|
|
6498
|
-
variables: WabaMessageTemplatesQueryVariables;
|
|
6499
|
-
skip?: boolean;
|
|
6500
|
-
} | {
|
|
6501
|
-
skip: boolean;
|
|
6502
|
-
})): Apollo.QueryResult<WabaMessageTemplatesQuery, Exact<{
|
|
6503
|
-
input: WabaMessageTemplatesInput;
|
|
6504
|
-
}>>;
|
|
6505
|
-
export declare function useWabaMessageTemplatesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>): Apollo.LazyQueryResultTuple<WabaMessageTemplatesQuery, Exact<{
|
|
6506
|
-
input: WabaMessageTemplatesInput;
|
|
6507
|
-
}>>;
|
|
6508
|
-
export declare function useWabaMessageTemplatesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>): Apollo.UseSuspenseQueryResult<WabaMessageTemplatesQuery | undefined, Exact<{
|
|
6509
|
-
input: WabaMessageTemplatesInput;
|
|
6510
|
-
}>>;
|
|
6511
|
-
export type WabaMessageTemplatesQueryHookResult = ReturnType<typeof useWabaMessageTemplatesQuery>;
|
|
6512
|
-
export type WabaMessageTemplatesLazyQueryHookResult = ReturnType<typeof useWabaMessageTemplatesLazyQuery>;
|
|
6513
|
-
export type WabaMessageTemplatesSuspenseQueryHookResult = ReturnType<typeof useWabaMessageTemplatesSuspenseQuery>;
|
|
6514
|
-
export type WabaMessageTemplatesQueryResult = Apollo.QueryResult<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>;
|
|
6515
|
-
export declare function refetchWabaMessageTemplatesQuery(variables: WabaMessageTemplatesQueryVariables): {
|
|
6516
|
-
query: Apollo.DocumentNode;
|
|
6517
|
-
variables: Exact<{
|
|
6518
|
-
input: WabaMessageTemplatesInput;
|
|
6519
|
-
}>;
|
|
6520
|
-
};
|
|
6521
6840
|
export declare const AiDocument: Apollo.DocumentNode;
|
|
6522
6841
|
/**
|
|
6523
6842
|
* __useAiQuery__
|