@bcrumbs.net/inbox 0.0.44 → 0.0.49

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.
Files changed (31) hide show
  1. package/assets/ar/inbox.json +2 -1
  2. package/assets/en/inbox.json +2 -1
  3. package/index.cjs.js +7345 -1015
  4. package/index.esm.js +7346 -1016
  5. package/package.json +3 -3
  6. package/src/app/ai/components/CrumbySettings/CrumbySettingsLoader.d.ts +5 -0
  7. package/src/app/ai/pages/CrumbySettings.d.ts +2 -0
  8. package/src/app/ai/types/index.d.ts +1 -1
  9. package/src/app/billing/hooks/useTurnstile.d.ts +1 -1
  10. package/src/app/broadcast/components/BroadcastDetailsSection.d.ts +1 -2
  11. package/src/app/contact/components/ContactFilterOptions.d.ts +5 -3
  12. package/src/app/contact/components/ImportProgressDialog.d.ts +4 -1
  13. package/src/app/contact/hooks/useExportClients.d.ts +12 -0
  14. package/src/app/contact/pages/contact/ContactHeader.d.ts +2 -1
  15. package/src/app/generic/components/BCTurnstile.d.ts +47 -0
  16. package/src/app/{broadcast → generic}/components/MessagePreview.d.ts +4 -1
  17. package/src/app/generic/components/PreviewHeaderImage.d.ts +4 -0
  18. package/src/app/generic/components/TemplateParameterInputs.d.ts +1 -2
  19. package/src/app/generic/components/ToggleSetting.d.ts +9 -0
  20. package/src/app/inbox/components/NewDetails/TagsSelector.d.ts +4 -1
  21. package/src/app/inbox/hooks/useConversationsPerodicFetch.d.ts +1 -0
  22. package/src/app/layout/constants/subMenu.d.ts +12 -2
  23. package/src/app/resources/components/Integrations/Telegram/index.d.ts +4 -0
  24. package/src/app/resources/hooks/useFBPagesHook.d.ts +1 -0
  25. package/src/app/resources/hooks/useInstagramHook.d.ts +1 -0
  26. package/src/app/resources/hooks/useWabaHook.d.ts +1 -0
  27. package/src/assets/locales/translations.d.ts +44 -0
  28. package/src/config/constants.d.ts +1 -1
  29. package/src/graphql.autogenerated.d.ts +1923 -1500
  30. package/src/lib/inbox.d.ts +1 -0
  31. package/src/app/broadcast/components/BroadcastSectionCard.d.ts +0 -14
@@ -115,6 +115,7 @@ export type AiPatchInput = {
115
115
  export declare const AiType: {
116
116
  readonly BC_AI: "bc_ai";
117
117
  readonly BC_FLOW: "bc_flow";
118
+ readonly CUSTOM: "custom";
118
119
  readonly OPENAI: "openai";
119
120
  readonly PINECONE: "pinecone";
120
121
  };
@@ -152,7 +153,7 @@ export type AgentCreateInput = {
152
153
  /** The name of the agent. */
153
154
  name: Scalars['String']['input'];
154
155
  /** The surname of the agent. */
155
- surname: Scalars['String']['input'];
156
+ surname?: InputMaybe<Scalars['String']['input']>;
156
157
  /** The user id of the agent. It is the same as the user id of the invited user to the workspace. */
157
158
  userId: Scalars['String']['input'];
158
159
  workspaceId: Scalars['Int']['input'];
@@ -168,7 +169,7 @@ export type AgentPatchInput = {
168
169
  /** The name of the agent. */
169
170
  name: Scalars['String']['input'];
170
171
  /** The surname of the agent. */
171
- surname: Scalars['String']['input'];
172
+ surname?: InputMaybe<Scalars['String']['input']>;
172
173
  workspaceId: Scalars['Int']['input'];
173
174
  };
174
175
  /** AgentReport is a report of the agent breaked down by day. It is used to understand the agent's performance. */
@@ -526,6 +527,38 @@ export type BroadcastPatchInput = {
526
527
  templateName: Scalars['String']['input'];
527
528
  workspaceId: Scalars['Int']['input'];
528
529
  };
530
+ /** BroadcastReport tracks daily broadcast notification usage broken down by hour, differentiating between successful and failed sends. */
531
+ export type BroadcastReport = {
532
+ __typename?: 'BroadcastReport';
533
+ /** The date and time when the report was created. */
534
+ createdAt: Scalars['DateTime']['output'];
535
+ /** The number of notifications that failed in this hour. */
536
+ failedCount: Scalars['Int']['output'];
537
+ /** The hour of the day (0-23) the report covers. */
538
+ hour: Scalars['Int']['output'];
539
+ /** The id of the broadcast report. */
540
+ id: Scalars['ID']['output'];
541
+ /** The integration/channel id associated with the report. */
542
+ integrationId: Scalars['ID']['output'];
543
+ /** The number of notifications successfully sent in this hour. */
544
+ successCount: Scalars['Int']['output'];
545
+ workspaceId: Scalars['Int']['output'];
546
+ };
547
+ /** BroadcastReportInput is an input of the broadcast report query. */
548
+ export type BroadcastReportInput = {
549
+ /** The end date of the report range. */
550
+ endDate: Scalars['DateTime']['input'];
551
+ /** The integration/channel id to filter reports by. */
552
+ integrationId?: InputMaybe<Scalars['ID']['input']>;
553
+ /** The start date of the report range. */
554
+ startDate: Scalars['DateTime']['input'];
555
+ workspaceId: Scalars['Int']['input'];
556
+ };
557
+ /** BroadcastReportPayload is a payload of the broadcast report query. */
558
+ export type BroadcastReportPayload = {
559
+ __typename?: 'BroadcastReportPayload';
560
+ nodes?: Maybe<Array<BroadcastReport>>;
561
+ };
529
562
  /**
530
563
  * BroadcastState is the state of the broadcast.
531
564
  * - draft: The broadcast is in draft mode.
@@ -642,6 +675,8 @@ export type Client = {
642
675
  __typename?: 'Client';
643
676
  /** The address of the client. It can be modified by the user. */
644
677
  address?: Maybe<Scalars['String']['output']>;
678
+ /** The identifier of the user or agent who archived this client. Null if archived by system. */
679
+ archivedBy?: Maybe<Scalars['String']['output']>;
645
680
  /** The city of the client. It can be modified by the user. */
646
681
  city?: Maybe<Scalars['String']['output']>;
647
682
  /** The code of the client. It can be modified by the user. */
@@ -815,6 +850,9 @@ export type Configurations = {
815
850
  askForEmail?: Maybe<Scalars['Boolean']['output']>;
816
851
  askForName?: Maybe<Scalars['Boolean']['output']>;
817
852
  askForSurname?: Maybe<Scalars['Boolean']['output']>;
853
+ clientTagRules?: Maybe<Array<TagRule>>;
854
+ convTagRules?: Maybe<Array<TagRule>>;
855
+ handoverEnabled?: Maybe<Scalars['Boolean']['output']>;
818
856
  };
819
857
  export type ConfigurationsInput = {
820
858
  askForAddress?: InputMaybe<Scalars['Boolean']['input']>;
@@ -822,6 +860,9 @@ export type ConfigurationsInput = {
822
860
  askForEmail?: InputMaybe<Scalars['Boolean']['input']>;
823
861
  askForName?: InputMaybe<Scalars['Boolean']['input']>;
824
862
  askForSurname?: InputMaybe<Scalars['Boolean']['input']>;
863
+ clientTagRules?: InputMaybe<Array<TagRuleInput>>;
864
+ convTagRules?: InputMaybe<Array<TagRuleInput>>;
865
+ handoverEnabled?: InputMaybe<Scalars['Boolean']['input']>;
825
866
  };
826
867
  /** Contact Message payload type represent the schema of content in case of contact message. */
827
868
  export type ContactMessagePayload = {
@@ -901,6 +942,18 @@ export type ConvEndInput = {
901
942
  integrationId: Scalars['ID']['input'];
902
943
  workspaceId: Scalars['Int']['input'];
903
944
  };
945
+ /** ConvHandoverInput is an input of the conversation handover mutation. */
946
+ export type ConvHandoverInput = {
947
+ /** The id of the conversation. */
948
+ convId: Scalars['ID']['input'];
949
+ workspaceId: Scalars['Int']['input'];
950
+ };
951
+ /** ConvLastMessageInput is an input for getting the last message of an open conversation. */
952
+ export type ConvLastMessageInput = {
953
+ /** The id of the conversation. */
954
+ convId: Scalars['ID']['input'];
955
+ workspaceId: Scalars['Int']['input'];
956
+ };
904
957
  /** ConvPatchInput is an input of the conversation patch mutation. */
905
958
  export type ConvPatchInput = {
906
959
  /** The id of the conversation. */
@@ -1191,6 +1244,8 @@ export type Integration = {
1191
1244
  deletedAt?: Maybe<Scalars['DateTime']['output']>;
1192
1245
  /** The id of the integration. */
1193
1246
  id: Scalars['ID']['output'];
1247
+ /** The integration identifier. */
1248
+ identifier?: Maybe<Scalars['String']['output']>;
1194
1249
  /** The name of the integration. */
1195
1250
  name: Scalars['String']['output'];
1196
1251
  patchedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -1229,6 +1284,7 @@ export type IntegrationPatchInput = {
1229
1284
  };
1230
1285
  export type IntegrationProperties = {
1231
1286
  __typename?: 'IntegrationProperties';
1287
+ endpoint?: Maybe<Scalars['String']['output']>;
1232
1288
  model?: Maybe<Scalars['String']['output']>;
1233
1289
  version?: Maybe<Scalars['String']['output']>;
1234
1290
  };
@@ -1251,11 +1307,15 @@ export type IntegrationState = typeof IntegrationState[keyof typeof IntegrationS
1251
1307
  * - BCWEBCHAT: BC Webchat integration.
1252
1308
  * - FACEBOOK: Facebook integration.
1253
1309
  * - INSTAGRAM: Instagram integration.
1310
+ * - TELEGRAM: Telegram integration.
1311
+ * - CUSTOM: Custom integration.
1254
1312
  */
1255
1313
  export declare const IntegrationType: {
1256
1314
  readonly BCWEBCHAT: "BCWEBCHAT";
1315
+ readonly CUSTOM: "CUSTOM";
1257
1316
  readonly FACEBOOK: "FACEBOOK";
1258
1317
  readonly INSTAGRAM: "INSTAGRAM";
1318
+ readonly TELEGRAM: "TELEGRAM";
1259
1319
  readonly WHATSAPP: "WHATSAPP";
1260
1320
  };
1261
1321
  export type IntegrationType = typeof IntegrationType[keyof typeof IntegrationType];
@@ -1265,6 +1325,7 @@ export type IntegrationWithSecrets = {
1265
1325
  createdAt: Scalars['DateTime']['output'];
1266
1326
  deletedAt?: Maybe<Scalars['DateTime']['output']>;
1267
1327
  id: Scalars['ID']['output'];
1328
+ identifier?: Maybe<Scalars['String']['output']>;
1268
1329
  integrationProperties: Scalars['JSON']['output'];
1269
1330
  name: Scalars['String']['output'];
1270
1331
  patchedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -1344,6 +1405,8 @@ export type Message = {
1344
1405
  createdAt: Scalars['DateTime']['output'];
1345
1406
  /** The external message id of the message. */
1346
1407
  externalMessageId?: Maybe<Scalars['String']['output']>;
1408
+ /** The reason why the message failed to be sent. */
1409
+ failedReason?: Maybe<Scalars['String']['output']>;
1347
1410
  /** Whether the message is from an agent or the client. */
1348
1411
  isAgent: Scalars['Boolean']['output'];
1349
1412
  /** The id of the message. */
@@ -1558,6 +1621,11 @@ export type Mutation = {
1558
1621
  assignConv: Conversation;
1559
1622
  assignOwner: UserRole;
1560
1623
  assignUserRole: UserRole;
1624
+ /**
1625
+ * Bulk soft delete clients by IDs. This archives clients by setting deletedAt.
1626
+ * You should have the MANAGE_CLIENTS permission to bulk delete clients.
1627
+ */
1628
+ bulkDeleteClients: BulkPermanentDeleteClientsResult;
1561
1629
  /** 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. */
1562
1630
  bulkImportContacts: BulkImportContactsResult;
1563
1631
  /** Bulk patch tags. You should have the MANAGE_WORKSPACE permission to bulk patch tags. */
@@ -1572,6 +1640,11 @@ export type Mutation = {
1572
1640
  * You should have the MANAGE_WORKSPACE permission to permanently delete clients.
1573
1641
  */
1574
1642
  bulkPermanentDeleteClientsByFilter: BulkPermanentDeleteClientsResult;
1643
+ /**
1644
+ * Bulk undelete clients by IDs. This restores archived clients by clearing deletedAt.
1645
+ * You should have the MANAGE_CLIENTS permission to bulk undelete clients.
1646
+ */
1647
+ bulkUndeleteClients: BulkPermanentDeleteClientsResult;
1575
1648
  /**
1576
1649
  * Cancel a scheduled broadcast that hasn't started yet (scheduled -> draft).
1577
1650
  * You should have the MANAGE_CONVS permission to cancel a broadcast.
@@ -1613,6 +1686,8 @@ export type Mutation = {
1613
1686
  endConv: Conversation;
1614
1687
  /** Generate an API key. You should have the MANAGE_WORKSPACE permission to generate an API key. */
1615
1688
  genApiKey: ApiKey;
1689
+ /** Handover a conversation to an agent using AUTO assignment strategy. */
1690
+ handoverConv: Conversation;
1616
1691
  /** Required after the creation of a workspace to take ownership on it */
1617
1692
  initWorkspace: UserRole;
1618
1693
  /** Launch a broadcast. You should have the MANAGE_CONVS permission to launch a broadcast. */
@@ -1672,6 +1747,9 @@ export type MutationAssignOwnerArgs = {
1672
1747
  export type MutationAssignUserRoleArgs = {
1673
1748
  input: InputAssignUserRole;
1674
1749
  };
1750
+ export type MutationBulkDeleteClientsArgs = {
1751
+ input: BulkPermanentDeleteClientsInput;
1752
+ };
1675
1753
  export type MutationBulkImportContactsArgs = {
1676
1754
  input: BulkImportContactsInput;
1677
1755
  };
@@ -1684,6 +1762,9 @@ export type MutationBulkPermanentDeleteClientsArgs = {
1684
1762
  export type MutationBulkPermanentDeleteClientsByFilterArgs = {
1685
1763
  input: BulkPermanentDeleteClientsByFilterInput;
1686
1764
  };
1765
+ export type MutationBulkUndeleteClientsArgs = {
1766
+ input: BulkPermanentDeleteClientsInput;
1767
+ };
1687
1768
  export type MutationCancelBroadcastArgs = {
1688
1769
  input: BroadcastCancelInput;
1689
1770
  };
@@ -1750,6 +1831,9 @@ export type MutationEndConvArgs = {
1750
1831
  export type MutationGenApiKeyArgs = {
1751
1832
  input: ApiKeyGenInput;
1752
1833
  };
1834
+ export type MutationHandoverConvArgs = {
1835
+ input: ConvHandoverInput;
1836
+ };
1753
1837
  export type MutationInitWorkspaceArgs = {
1754
1838
  input: InputInitWorkspace;
1755
1839
  };
@@ -1894,6 +1978,8 @@ export type Query = {
1894
1978
  broadcastDeliveryReport: BroadcastDeliveryReport;
1895
1979
  /** Get broadcast message statuses with client information. You should have the MANAGE_CONVS permission to get broadcast message statuses. */
1896
1980
  broadcastMessageStatuses: BroadcastMessageStatusesPayload;
1981
+ /** Get broadcast usage reports broken down by hour. You should have the MANAGE_CONVS permission to get broadcast reports. */
1982
+ broadcastReport: BroadcastReportPayload;
1897
1983
  /** Get the count of broadcasts grouped by state. You should have the MANAGE_CONVS permission to get the counts. */
1898
1984
  broadcastStateCounts: Array<BroadcastStateCount>;
1899
1985
  /** Get the broadcasts. You should have the MANAGE_CONVS permission to get the broadcasts. */
@@ -1906,6 +1992,8 @@ export type Query = {
1906
1992
  clientByPhone: Client;
1907
1993
  /** Get the clients. You should have the MANAGE_CLIENTS permission to get the clients. */
1908
1994
  clients: ClientsPayload;
1995
+ /** Get the last message of a conversation if it is currently open. Returns null if the conversation is ended or not found. */
1996
+ convLastMessage?: Maybe<Message>;
1909
1997
  /** Get the conversations. If you don't have the MANAGE_CONVS permission, it will return only the conversations assigned to you. */
1910
1998
  convs: ConvsPayload;
1911
1999
  /** Get the conversations report. You should have the MANAGE_CONVS permission to get the conversations report. */
@@ -1979,6 +2067,9 @@ export type QueryBroadcastMessageStatusesArgs = {
1979
2067
  input: BroadcastMessageStatusesInput;
1980
2068
  pageInfo?: InputMaybe<PageInfoInput>;
1981
2069
  };
2070
+ export type QueryBroadcastReportArgs = {
2071
+ input: BroadcastReportInput;
2072
+ };
1982
2073
  export type QueryBroadcastStateCountsArgs = {
1983
2074
  input: BroadcastsInput;
1984
2075
  };
@@ -1999,6 +2090,9 @@ export type QueryClientsArgs = {
1999
2090
  input: ClientsInput;
2000
2091
  pageInfo?: InputMaybe<PageInfoInput>;
2001
2092
  };
2093
+ export type QueryConvLastMessageArgs = {
2094
+ input: ConvLastMessageInput;
2095
+ };
2002
2096
  export type QueryConvsArgs = {
2003
2097
  input: ConvsInput;
2004
2098
  pageInfo?: InputMaybe<PageInfoInput>;
@@ -2225,6 +2319,15 @@ export type TagDeleteInput = {
2225
2319
  id: Scalars['ID']['input'];
2226
2320
  workspaceId: Scalars['Int']['input'];
2227
2321
  };
2322
+ export type TagRule = {
2323
+ __typename?: 'TagRule';
2324
+ rule: Scalars['String']['output'];
2325
+ tag: Scalars['String']['output'];
2326
+ };
2327
+ export type TagRuleInput = {
2328
+ rule: Scalars['String']['input'];
2329
+ tag: Scalars['String']['input'];
2330
+ };
2228
2331
  export declare const TagType: {
2229
2332
  readonly CLIENT: "client";
2230
2333
  readonly CLIENTSTAGE: "clientStage";
@@ -2367,11 +2470,16 @@ export type WabaMessageTemplatesInput = {
2367
2470
  };
2368
2471
  export type Webhook = {
2369
2472
  __typename?: 'Webhook';
2473
+ /** The created at date of the webhook. */
2370
2474
  createdAt: Scalars['DateTime']['output'];
2475
+ /** The event that will trigger the webhook. */
2371
2476
  event: WebhookEvent;
2477
+ /** The headers of the webhook, the headers will be sent to the webhook. */
2372
2478
  headers?: Maybe<Scalars['JSON']['output']>;
2373
2479
  id: Scalars['ID']['output'];
2480
+ /** The label of the webhook, a special field that is used to identify the webhook. */
2374
2481
  label: Scalars['String']['output'];
2482
+ /** The URL of the webhook, the webhook will be called when the event is triggered. */
2375
2483
  url: Scalars['String']['output'];
2376
2484
  workspaceId: Scalars['Int']['output'];
2377
2485
  };
@@ -2387,11 +2495,19 @@ export type WebhookDeleteInput = {
2387
2495
  workspaceId: Scalars['Int']['input'];
2388
2496
  };
2389
2497
  export declare const WebhookEvent: {
2498
+ /** ANY_EVENT is a special option that will trigger the webhook for all events. */
2499
+ readonly ANY_EVENT: "ANY_EVENT";
2500
+ /** CLIENT_UPDATED is a special event that will trigger the webhook for client updates. */
2390
2501
  readonly CLIENT_UPDATED: "CLIENT_UPDATED";
2502
+ /** ENDING_CONV is a special event that will trigger the webhook for ending conversations. */
2391
2503
  readonly ENDING_CONV: "ENDING_CONV";
2504
+ /** INCOMING_MESSAGE is a special event that will trigger the webhook for incoming messages. */
2392
2505
  readonly INCOMING_MESSAGE: "INCOMING_MESSAGE";
2506
+ /** NEW_CLIENT is a special event that will trigger the webhook for new clients. */
2393
2507
  readonly NEW_CLIENT: "NEW_CLIENT";
2508
+ /** NEW_CONV is a special event that will trigger the webhook for new conversations. */
2394
2509
  readonly NEW_CONV: "NEW_CONV";
2510
+ /** OUTGOING_MESSAGE is a special event that will trigger the webhook for outgoing messages. */
2395
2511
  readonly OUTGOING_MESSAGE: "OUTGOING_MESSAGE";
2396
2512
  };
2397
2513
  export type WebhookEvent = typeof WebhookEvent[keyof typeof WebhookEvent];
@@ -2428,6 +2544,8 @@ export type Workspace = {
2428
2544
  /** WorkspaceSettings represents configuration options for a workspace. */
2429
2545
  export type WorkspaceSettings = {
2430
2546
  __typename?: 'WorkspaceSettings';
2547
+ /** When enabled, automatically unarchives a contact when receiving a message from them. */
2548
+ autoUnarchiveOnMessage?: Maybe<Scalars['Boolean']['output']>;
2431
2549
  /** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
2432
2550
  convTTL?: Maybe<Scalars['Int']['output']>;
2433
2551
  /** The unique identifier of the workspace settings record. */
@@ -2446,6 +2564,8 @@ export type WorkspaceSettingsInput = {
2446
2564
  };
2447
2565
  /** Input for updating workspace settings. */
2448
2566
  export type WorkspaceSettingsPatchInput = {
2567
+ /** When enabled, automatically unarchives a contact when receiving a message from them. */
2568
+ autoUnarchiveOnMessage?: InputMaybe<Scalars['Boolean']['input']>;
2449
2569
  /** The conversation Time-To-Live (TTL) in hours. Determines how long conversations are retained before closing it automatically. */
2450
2570
  convTTL?: InputMaybe<Scalars['Int']['input']>;
2451
2571
  /** Keyword that, when sent by a contact in a message, triggers automatic archival of that contact. Set to null to disable. */
@@ -2816,25 +2936,6 @@ export type BroadcastFragment = {
2816
2936
  failedCount?: number | null;
2817
2937
  error?: string | null;
2818
2938
  };
2819
- export type ClientFragment = {
2820
- __typename?: 'Client';
2821
- workspaceId: number;
2822
- id: string;
2823
- email?: string | null;
2824
- name?: string | null;
2825
- surname?: string | null;
2826
- phone?: string | null;
2827
- address?: string | null;
2828
- code?: string | null;
2829
- city?: string | null;
2830
- country?: string | null;
2831
- externalClientId?: string | null;
2832
- tags?: Array<string> | null;
2833
- createdAt: any;
2834
- stageId?: string | null;
2835
- defaultAgentId?: string | null;
2836
- deletedAt?: any | null;
2837
- };
2838
2939
  export type ConversationFragment = {
2839
2940
  __typename?: 'Conversation';
2840
2941
  workspaceId: number;
@@ -2864,6 +2965,7 @@ export type ConversationFragment = {
2864
2965
  isAgent: boolean;
2865
2966
  agentId?: string | null;
2866
2967
  status?: MessageStatus | null;
2968
+ failedReason?: string | null;
2867
2969
  externalMessageId?: string | null;
2868
2970
  tags?: Array<string> | null;
2869
2971
  createdAt: any;
@@ -2898,6 +3000,7 @@ export type MessageFragment = {
2898
3000
  isAgent: boolean;
2899
3001
  agentId?: string | null;
2900
3002
  status?: MessageStatus | null;
3003
+ failedReason?: string | null;
2901
3004
  externalMessageId?: string | null;
2902
3005
  tags?: Array<string> | null;
2903
3006
  createdAt: any;
@@ -2950,6 +3053,7 @@ export type AddMessageMutation = {
2950
3053
  isAgent: boolean;
2951
3054
  agentId?: string | null;
2952
3055
  status?: MessageStatus | null;
3056
+ failedReason?: string | null;
2953
3057
  externalMessageId?: string | null;
2954
3058
  tags?: Array<string> | null;
2955
3059
  createdAt: any;
@@ -3039,6 +3143,7 @@ export type AssignConvMutation = {
3039
3143
  isAgent: boolean;
3040
3144
  agentId?: string | null;
3041
3145
  status?: MessageStatus | null;
3146
+ failedReason?: string | null;
3042
3147
  externalMessageId?: string | null;
3043
3148
  tags?: Array<string> | null;
3044
3149
  createdAt: any;
@@ -3115,6 +3220,7 @@ export type BroadcastDeliveryReportQuery = {
3115
3220
  isAgent: boolean;
3116
3221
  agentId?: string | null;
3117
3222
  status?: MessageStatus | null;
3223
+ failedReason?: string | null;
3118
3224
  externalMessageId?: string | null;
3119
3225
  tags?: Array<string> | null;
3120
3226
  createdAt: any;
@@ -3204,55 +3310,6 @@ export type BroadcastsQuery = {
3204
3310
  } | null;
3205
3311
  };
3206
3312
  };
3207
- export type BulkImportContactsMutationVariables = Exact<{
3208
- input: BulkImportContactsInput;
3209
- }>;
3210
- export type BulkImportContactsMutation = {
3211
- __typename?: 'Mutation';
3212
- bulkImportContacts: {
3213
- __typename?: 'BulkImportContactsResult';
3214
- jobId: string;
3215
- };
3216
- };
3217
- export type BulkImportContactsJobStatusQueryVariables = Exact<{
3218
- input: BulkImportContactsJobStatusInput;
3219
- }>;
3220
- export type BulkImportContactsJobStatusQuery = {
3221
- __typename?: 'Query';
3222
- bulkImportContactsJobStatus?: {
3223
- __typename?: 'BulkImportContactsJobStatus';
3224
- status: JobStatus;
3225
- startedAt?: any | null;
3226
- completedAt?: any | null;
3227
- error?: string | null;
3228
- processedCount?: number | null;
3229
- totalCount?: number | null;
3230
- totalProcessed?: number | null;
3231
- success?: number | null;
3232
- errors?: number | null;
3233
- skipped?: number | null;
3234
- } | null;
3235
- };
3236
- export type BulkPermanentDeleteClientsMutationVariables = Exact<{
3237
- input: BulkPermanentDeleteClientsInput;
3238
- }>;
3239
- export type BulkPermanentDeleteClientsMutation = {
3240
- __typename?: 'Mutation';
3241
- bulkPermanentDeleteClients: {
3242
- __typename?: 'BulkPermanentDeleteClientsResult';
3243
- deletedCount: number;
3244
- };
3245
- };
3246
- export type BulkPermanentDeleteClientsByFilterMutationVariables = Exact<{
3247
- input: BulkPermanentDeleteClientsByFilterInput;
3248
- }>;
3249
- export type BulkPermanentDeleteClientsByFilterMutation = {
3250
- __typename?: 'Mutation';
3251
- bulkPermanentDeleteClientsByFilter: {
3252
- __typename?: 'BulkPermanentDeleteClientsResult';
3253
- deletedCount: number;
3254
- };
3255
- };
3256
3313
  export type CancelBroadcastMutationVariables = Exact<{
3257
3314
  input: BroadcastCancelInput;
3258
3315
  }>;
@@ -3280,91 +3337,6 @@ export type CancelBroadcastMutation = {
3280
3337
  error?: string | null;
3281
3338
  };
3282
3339
  };
3283
- export type ClientQueryVariables = Exact<{
3284
- input: ClientInput;
3285
- }>;
3286
- export type ClientQuery = {
3287
- __typename?: 'Query';
3288
- client: {
3289
- __typename?: 'Client';
3290
- workspaceId: number;
3291
- id: string;
3292
- email?: string | null;
3293
- name?: string | null;
3294
- surname?: string | null;
3295
- phone?: string | null;
3296
- address?: string | null;
3297
- code?: string | null;
3298
- city?: string | null;
3299
- country?: string | null;
3300
- externalClientId?: string | null;
3301
- tags?: Array<string> | null;
3302
- createdAt: any;
3303
- stageId?: string | null;
3304
- defaultAgentId?: string | null;
3305
- deletedAt?: any | null;
3306
- };
3307
- };
3308
- export type ClientByPhoneQueryVariables = Exact<{
3309
- input: ClientByPhoneInput;
3310
- }>;
3311
- export type ClientByPhoneQuery = {
3312
- __typename?: 'Query';
3313
- clientByPhone: {
3314
- __typename?: 'Client';
3315
- workspaceId: number;
3316
- id: string;
3317
- email?: string | null;
3318
- name?: string | null;
3319
- surname?: string | null;
3320
- phone?: string | null;
3321
- address?: string | null;
3322
- code?: string | null;
3323
- city?: string | null;
3324
- country?: string | null;
3325
- externalClientId?: string | null;
3326
- tags?: Array<string> | null;
3327
- createdAt: any;
3328
- stageId?: string | null;
3329
- defaultAgentId?: string | null;
3330
- deletedAt?: any | null;
3331
- };
3332
- };
3333
- export type ClientsQueryVariables = Exact<{
3334
- input: ClientsInput;
3335
- pageInfo?: InputMaybe<PageInfoInput>;
3336
- }>;
3337
- export type ClientsQuery = {
3338
- __typename?: 'Query';
3339
- clients: {
3340
- __typename?: 'ClientsPayload';
3341
- nodes?: Array<{
3342
- __typename?: 'Client';
3343
- workspaceId: number;
3344
- id: string;
3345
- email?: string | null;
3346
- name?: string | null;
3347
- surname?: string | null;
3348
- phone?: string | null;
3349
- address?: string | null;
3350
- code?: string | null;
3351
- city?: string | null;
3352
- country?: string | null;
3353
- externalClientId?: string | null;
3354
- tags?: Array<string> | null;
3355
- createdAt: any;
3356
- stageId?: string | null;
3357
- defaultAgentId?: string | null;
3358
- deletedAt?: any | null;
3359
- }> | null;
3360
- pageInfo?: {
3361
- __typename?: 'PageInfo';
3362
- hasNextPage: boolean;
3363
- endCursor?: any | null;
3364
- count?: number | null;
3365
- } | null;
3366
- };
3367
- };
3368
3340
  export type ConvsQueryVariables = Exact<{
3369
3341
  input: ConvsInput;
3370
3342
  pageInfo?: InputMaybe<PageInfoInput>;
@@ -3402,6 +3374,7 @@ export type ConvsQuery = {
3402
3374
  isAgent: boolean;
3403
3375
  agentId?: string | null;
3404
3376
  status?: MessageStatus | null;
3377
+ failedReason?: string | null;
3405
3378
  externalMessageId?: string | null;
3406
3379
  tags?: Array<string> | null;
3407
3380
  createdAt: any;
@@ -3479,31 +3452,6 @@ export type CreateBroadcastMutation = {
3479
3452
  error?: string | null;
3480
3453
  };
3481
3454
  };
3482
- export type CreateClientMutationVariables = Exact<{
3483
- input: ClientCreateInput;
3484
- }>;
3485
- export type CreateClientMutation = {
3486
- __typename?: 'Mutation';
3487
- createClient: {
3488
- __typename?: 'Client';
3489
- workspaceId: number;
3490
- id: string;
3491
- email?: string | null;
3492
- name?: string | null;
3493
- surname?: string | null;
3494
- phone?: string | null;
3495
- address?: string | null;
3496
- code?: string | null;
3497
- city?: string | null;
3498
- country?: string | null;
3499
- externalClientId?: string | null;
3500
- tags?: Array<string> | null;
3501
- createdAt: any;
3502
- stageId?: string | null;
3503
- defaultAgentId?: string | null;
3504
- deletedAt?: any | null;
3505
- };
3506
- };
3507
3455
  export type DeleteAgentMutationVariables = Exact<{
3508
3456
  input: AgentInput;
3509
3457
  }>;
@@ -3548,62 +3496,73 @@ export type DeleteBroadcastMutation = {
3548
3496
  error?: string | null;
3549
3497
  };
3550
3498
  };
3551
- export type DeleteClientMutationVariables = Exact<{
3552
- input: ClientInput;
3499
+ export type EndConvMutationVariables = Exact<{
3500
+ input: ConvEndInput;
3553
3501
  }>;
3554
- export type DeleteClientMutation = {
3502
+ export type EndConvMutation = {
3555
3503
  __typename?: 'Mutation';
3556
- deleteClient: {
3557
- __typename?: 'Client';
3504
+ endConv: {
3505
+ __typename?: 'Conversation';
3558
3506
  workspaceId: number;
3559
3507
  id: string;
3560
- email?: string | null;
3561
- name?: string | null;
3562
- surname?: string | null;
3563
- phone?: string | null;
3564
- address?: string | null;
3565
- code?: string | null;
3566
- city?: string | null;
3567
- country?: string | null;
3568
- externalClientId?: string | null;
3508
+ integrationId: string;
3509
+ integrationType: IntegrationType;
3510
+ clientId: string;
3511
+ ended: boolean;
3512
+ endedBy?: string | null;
3513
+ externalConversationId?: string | null;
3569
3514
  tags?: Array<string> | null;
3570
3515
  createdAt: any;
3516
+ endedAt?: any | null;
3571
3517
  stageId?: string | null;
3572
- defaultAgentId?: string | null;
3573
- deletedAt?: any | null;
3574
- };
3575
- };
3576
- export type DeleteClientByExternalIdMutationVariables = Exact<{
3577
- input: ClientDeleteByExternalIdInput;
3578
- }>;
3579
- export type DeleteClientByExternalIdMutation = {
3580
- __typename?: 'Mutation';
3581
- deleteClientByExternalId: {
3582
- __typename?: 'Client';
3583
- workspaceId: number;
3584
- id: string;
3585
- email?: string | null;
3586
- name?: string | null;
3587
- surname?: string | null;
3588
- phone?: string | null;
3589
- address?: string | null;
3590
- code?: string | null;
3591
- city?: string | null;
3592
- country?: string | null;
3593
- externalClientId?: string | null;
3594
- tags?: Array<string> | null;
3595
- createdAt: any;
3596
- stageId?: string | null;
3597
- defaultAgentId?: string | null;
3598
- deletedAt?: any | null;
3518
+ orderNo?: string | null;
3519
+ assigneeId?: string | null;
3520
+ aiId?: string | null;
3521
+ aiAssigneed?: boolean | null;
3522
+ broadcastId?: string | null;
3523
+ broadcastName?: string | null;
3524
+ messages?: Array<{
3525
+ __typename?: 'Message';
3526
+ messageId: string;
3527
+ content: string;
3528
+ type: MessageType;
3529
+ noteType?: NoteType | null;
3530
+ isAgent: boolean;
3531
+ agentId?: string | null;
3532
+ status?: MessageStatus | null;
3533
+ failedReason?: string | null;
3534
+ externalMessageId?: string | null;
3535
+ tags?: Array<string> | null;
3536
+ createdAt: any;
3537
+ context?: {
3538
+ __typename?: 'MessageContext';
3539
+ replyToId?: string | null;
3540
+ replyToContent: string;
3541
+ replyToType: MessageType;
3542
+ } | null;
3543
+ }> | null;
3544
+ client?: {
3545
+ __typename?: 'ConversationClient';
3546
+ name?: string | null;
3547
+ surname?: string | null;
3548
+ code?: string | null;
3549
+ phone?: string | null;
3550
+ isDeleted: boolean;
3551
+ } | null;
3552
+ assignees?: Array<{
3553
+ __typename?: 'ConvAssignment';
3554
+ assigneeId: string;
3555
+ assignDate?: any | null;
3556
+ isAi?: boolean | null;
3557
+ } | null> | null;
3599
3558
  };
3600
3559
  };
3601
- export type EndConvMutationVariables = Exact<{
3602
- input: ConvEndInput;
3560
+ export type HandoverConvMutationVariables = Exact<{
3561
+ input: ConvHandoverInput;
3603
3562
  }>;
3604
- export type EndConvMutation = {
3563
+ export type HandoverConvMutation = {
3605
3564
  __typename?: 'Mutation';
3606
- endConv: {
3565
+ handoverConv: {
3607
3566
  __typename?: 'Conversation';
3608
3567
  workspaceId: number;
3609
3568
  id: string;
@@ -3632,6 +3591,7 @@ export type EndConvMutation = {
3632
3591
  isAgent: boolean;
3633
3592
  agentId?: string | null;
3634
3593
  status?: MessageStatus | null;
3594
+ failedReason?: string | null;
3635
3595
  externalMessageId?: string | null;
3636
3596
  tags?: Array<string> | null;
3637
3597
  createdAt: any;
@@ -3702,6 +3662,7 @@ export type MessagesQuery = {
3702
3662
  isAgent: boolean;
3703
3663
  agentId?: string | null;
3704
3664
  status?: MessageStatus | null;
3665
+ failedReason?: string | null;
3705
3666
  externalMessageId?: string | null;
3706
3667
  tags?: Array<string> | null;
3707
3668
  createdAt: any;
@@ -3771,31 +3732,6 @@ export type PatchBroadcastMutation = {
3771
3732
  error?: string | null;
3772
3733
  };
3773
3734
  };
3774
- export type PatchClientMutationVariables = Exact<{
3775
- input: ClientPatchInput;
3776
- }>;
3777
- export type PatchClientMutation = {
3778
- __typename?: 'Mutation';
3779
- patchClient: {
3780
- __typename?: 'Client';
3781
- workspaceId: number;
3782
- id: string;
3783
- email?: string | null;
3784
- name?: string | null;
3785
- surname?: string | null;
3786
- phone?: string | null;
3787
- address?: string | null;
3788
- code?: string | null;
3789
- city?: string | null;
3790
- country?: string | null;
3791
- externalClientId?: string | null;
3792
- tags?: Array<string> | null;
3793
- createdAt: any;
3794
- stageId?: string | null;
3795
- defaultAgentId?: string | null;
3796
- deletedAt?: any | null;
3797
- };
3798
- };
3799
3735
  export type PatchConvMutationVariables = Exact<{
3800
3736
  input: ConvPatchInput;
3801
3737
  }>;
@@ -3830,6 +3766,7 @@ export type PatchConvMutation = {
3830
3766
  isAgent: boolean;
3831
3767
  agentId?: string | null;
3832
3768
  status?: MessageStatus | null;
3769
+ failedReason?: string | null;
3833
3770
  externalMessageId?: string | null;
3834
3771
  tags?: Array<string> | null;
3835
3772
  createdAt: any;
@@ -3890,6 +3827,7 @@ export type StartConvMutation = {
3890
3827
  isAgent: boolean;
3891
3828
  agentId?: string | null;
3892
3829
  status?: MessageStatus | null;
3830
+ failedReason?: string | null;
3893
3831
  externalMessageId?: string | null;
3894
3832
  tags?: Array<string> | null;
3895
3833
  createdAt: any;
@@ -3939,6 +3877,7 @@ export type TagClientMutation = {
3939
3877
  stageId?: string | null;
3940
3878
  defaultAgentId?: string | null;
3941
3879
  deletedAt?: any | null;
3880
+ archivedBy?: string | null;
3942
3881
  };
3943
3882
  };
3944
3883
  export type TagConvMutationVariables = Exact<{
@@ -3975,6 +3914,7 @@ export type TagConvMutation = {
3975
3914
  isAgent: boolean;
3976
3915
  agentId?: string | null;
3977
3916
  status?: MessageStatus | null;
3917
+ failedReason?: string | null;
3978
3918
  externalMessageId?: string | null;
3979
3919
  tags?: Array<string> | null;
3980
3920
  createdAt: any;
@@ -4017,56 +3957,6 @@ export type TagsQuery = {
4017
3957
  }> | null;
4018
3958
  };
4019
3959
  };
4020
- export type UndeleteClientMutationVariables = Exact<{
4021
- input: ClientInput;
4022
- }>;
4023
- export type UndeleteClientMutation = {
4024
- __typename?: 'Mutation';
4025
- undeleteClient: {
4026
- __typename?: 'Client';
4027
- workspaceId: number;
4028
- id: string;
4029
- email?: string | null;
4030
- name?: string | null;
4031
- surname?: string | null;
4032
- phone?: string | null;
4033
- address?: string | null;
4034
- code?: string | null;
4035
- city?: string | null;
4036
- country?: string | null;
4037
- externalClientId?: string | null;
4038
- tags?: Array<string> | null;
4039
- createdAt: any;
4040
- stageId?: string | null;
4041
- defaultAgentId?: string | null;
4042
- deletedAt?: any | null;
4043
- };
4044
- };
4045
- export type UndeleteClientByExternalIdMutationVariables = Exact<{
4046
- input: ClientDeleteByExternalIdInput;
4047
- }>;
4048
- export type UndeleteClientByExternalIdMutation = {
4049
- __typename?: 'Mutation';
4050
- undeleteClientByExternalId: {
4051
- __typename?: 'Client';
4052
- workspaceId: number;
4053
- id: string;
4054
- email?: string | null;
4055
- name?: string | null;
4056
- surname?: string | null;
4057
- phone?: string | null;
4058
- address?: string | null;
4059
- code?: string | null;
4060
- city?: string | null;
4061
- country?: string | null;
4062
- externalClientId?: string | null;
4063
- tags?: Array<string> | null;
4064
- createdAt: any;
4065
- stageId?: string | null;
4066
- defaultAgentId?: string | null;
4067
- deletedAt?: any | null;
4068
- };
4069
- };
4070
3960
  export type UntagClientMutationVariables = Exact<{
4071
3961
  input: ClientTagInput;
4072
3962
  }>;
@@ -4090,6 +3980,7 @@ export type UntagClientMutation = {
4090
3980
  stageId?: string | null;
4091
3981
  defaultAgentId?: string | null;
4092
3982
  deletedAt?: any | null;
3983
+ archivedBy?: string | null;
4093
3984
  };
4094
3985
  };
4095
3986
  export type UntagConvMutationVariables = Exact<{
@@ -4126,6 +4017,7 @@ export type UntagConvMutation = {
4126
4017
  isAgent: boolean;
4127
4018
  agentId?: string | null;
4128
4019
  status?: MessageStatus | null;
4020
+ failedReason?: string | null;
4129
4021
  externalMessageId?: string | null;
4130
4022
  tags?: Array<string> | null;
4131
4023
  createdAt: any;
@@ -4152,23 +4044,6 @@ export type UntagConvMutation = {
4152
4044
  } | null> | null;
4153
4045
  };
4154
4046
  };
4155
- export type ValidateBulkImportContactsQueryVariables = Exact<{
4156
- input: ValidateBulkImportContactsInput;
4157
- }>;
4158
- export type ValidateBulkImportContactsQuery = {
4159
- __typename?: 'Query';
4160
- validateBulkImportContacts: {
4161
- __typename?: 'ValidateBulkImportContactsResult';
4162
- totalRows: number;
4163
- validRows: number;
4164
- invalidRows: number;
4165
- errors: Array<{
4166
- __typename?: 'ValidationError';
4167
- row: number;
4168
- message: string;
4169
- }>;
4170
- };
4171
- };
4172
4047
  export type WabaMessageTemplateDetailsQueryVariables = Exact<{
4173
4048
  input: WabaMessageTemplateDetailsInput;
4174
4049
  }>;
@@ -4205,100 +4080,508 @@ export type WabaMessageTemplatesQuery = {
4205
4080
  }> | null;
4206
4081
  };
4207
4082
  };
4208
- export type AiFragment = {
4209
- __typename?: 'AI';
4210
- workspaceId: number;
4211
- id: string;
4212
- name: string;
4213
- type: AiType;
4214
- createdAt: any;
4215
- deletedAt?: any | null;
4216
- integrationProperties?: {
4217
- __typename?: 'IntegrationProperties';
4218
- model?: string | null;
4219
- version?: string | null;
4220
- } | null;
4221
- };
4222
- export type ApiKeyFragment = {
4223
- __typename?: 'ApiKey';
4224
- workspaceId: number;
4225
- id: string;
4226
- key: string;
4227
- label: string;
4228
- createdAt: any;
4229
- };
4230
- export type IntegrationFragment = {
4231
- __typename?: 'Integration';
4083
+ export type ClientFragment = {
4084
+ __typename?: 'Client';
4232
4085
  workspaceId: number;
4233
4086
  id: string;
4234
- name: string;
4235
- type: IntegrationType;
4236
- properties?: any | null;
4237
- state: IntegrationState;
4087
+ email?: string | null;
4088
+ name?: string | null;
4089
+ surname?: string | null;
4090
+ phone?: string | null;
4091
+ address?: string | null;
4092
+ code?: string | null;
4093
+ city?: string | null;
4094
+ country?: string | null;
4095
+ externalClientId?: string | null;
4096
+ tags?: Array<string> | null;
4238
4097
  createdAt: any;
4098
+ stageId?: string | null;
4099
+ defaultAgentId?: string | null;
4239
4100
  deletedAt?: any | null;
4240
- patchedAt?: any | null;
4241
- };
4242
- export type WebhookFragment = {
4243
- __typename?: 'Webhook';
4244
- workspaceId: number;
4245
- id: string;
4246
- label: string;
4247
- url: string;
4248
- event: WebhookEvent;
4249
- createdAt: any;
4101
+ archivedBy?: string | null;
4250
4102
  };
4251
- export type AiQueryVariables = Exact<{
4252
- input: AiInput;
4103
+ export type BulkDeleteClientsMutationVariables = Exact<{
4104
+ input: BulkPermanentDeleteClientsInput;
4253
4105
  }>;
4254
- export type AiQuery = {
4255
- __typename?: 'Query';
4256
- ai: {
4257
- __typename?: 'AI';
4258
- workspaceId: number;
4259
- id: string;
4260
- name: string;
4261
- type: AiType;
4262
- createdAt: any;
4263
- deletedAt?: any | null;
4264
- integrationProperties?: {
4265
- __typename?: 'IntegrationProperties';
4266
- model?: string | null;
4267
- version?: string | null;
4268
- } | null;
4106
+ export type BulkDeleteClientsMutation = {
4107
+ __typename?: 'Mutation';
4108
+ bulkDeleteClients: {
4109
+ __typename?: 'BulkPermanentDeleteClientsResult';
4110
+ deletedCount: number;
4269
4111
  };
4270
4112
  };
4271
- export type AisQueryVariables = Exact<{
4272
- input: AIsInput;
4113
+ export type BulkImportContactsMutationVariables = Exact<{
4114
+ input: BulkImportContactsInput;
4273
4115
  }>;
4274
- export type AisQuery = {
4275
- __typename?: 'Query';
4276
- ais: {
4277
- __typename?: 'AIsPayload';
4278
- nodes?: Array<{
4279
- __typename?: 'AI';
4280
- workspaceId: number;
4281
- id: string;
4282
- name: string;
4283
- type: AiType;
4284
- createdAt: any;
4285
- deletedAt?: any | null;
4286
- integrationProperties?: {
4287
- __typename?: 'IntegrationProperties';
4288
- model?: string | null;
4289
- version?: string | null;
4290
- } | null;
4291
- }> | null;
4116
+ export type BulkImportContactsMutation = {
4117
+ __typename?: 'Mutation';
4118
+ bulkImportContacts: {
4119
+ __typename?: 'BulkImportContactsResult';
4120
+ jobId: string;
4292
4121
  };
4293
4122
  };
4294
- export type ApiKeysQueryVariables = Exact<{
4295
- input: ApiKeysInput;
4123
+ export type BulkImportContactsJobStatusQueryVariables = Exact<{
4124
+ input: BulkImportContactsJobStatusInput;
4296
4125
  }>;
4297
- export type ApiKeysQuery = {
4126
+ export type BulkImportContactsJobStatusQuery = {
4298
4127
  __typename?: 'Query';
4299
- apiKeys: {
4300
- __typename?: 'ApiKeysPayload';
4301
- nodes?: Array<{
4128
+ bulkImportContactsJobStatus?: {
4129
+ __typename?: 'BulkImportContactsJobStatus';
4130
+ status: JobStatus;
4131
+ startedAt?: any | null;
4132
+ completedAt?: any | null;
4133
+ error?: string | null;
4134
+ processedCount?: number | null;
4135
+ totalCount?: number | null;
4136
+ totalProcessed?: number | null;
4137
+ success?: number | null;
4138
+ errors?: number | null;
4139
+ skipped?: number | null;
4140
+ } | null;
4141
+ };
4142
+ export type BulkPermanentDeleteClientsMutationVariables = Exact<{
4143
+ input: BulkPermanentDeleteClientsInput;
4144
+ }>;
4145
+ export type BulkPermanentDeleteClientsMutation = {
4146
+ __typename?: 'Mutation';
4147
+ bulkPermanentDeleteClients: {
4148
+ __typename?: 'BulkPermanentDeleteClientsResult';
4149
+ deletedCount: number;
4150
+ };
4151
+ };
4152
+ export type BulkPermanentDeleteClientsByFilterMutationVariables = Exact<{
4153
+ input: BulkPermanentDeleteClientsByFilterInput;
4154
+ }>;
4155
+ export type BulkPermanentDeleteClientsByFilterMutation = {
4156
+ __typename?: 'Mutation';
4157
+ bulkPermanentDeleteClientsByFilter: {
4158
+ __typename?: 'BulkPermanentDeleteClientsResult';
4159
+ deletedCount: number;
4160
+ };
4161
+ };
4162
+ export type BulkUndeleteClientsMutationVariables = Exact<{
4163
+ input: BulkPermanentDeleteClientsInput;
4164
+ }>;
4165
+ export type BulkUndeleteClientsMutation = {
4166
+ __typename?: 'Mutation';
4167
+ bulkUndeleteClients: {
4168
+ __typename?: 'BulkPermanentDeleteClientsResult';
4169
+ deletedCount: number;
4170
+ };
4171
+ };
4172
+ export type ClientQueryVariables = Exact<{
4173
+ input: ClientInput;
4174
+ }>;
4175
+ export type ClientQuery = {
4176
+ __typename?: 'Query';
4177
+ client: {
4178
+ __typename?: 'Client';
4179
+ workspaceId: number;
4180
+ id: string;
4181
+ email?: string | null;
4182
+ name?: string | null;
4183
+ surname?: string | null;
4184
+ phone?: string | null;
4185
+ address?: string | null;
4186
+ code?: string | null;
4187
+ city?: string | null;
4188
+ country?: string | null;
4189
+ externalClientId?: string | null;
4190
+ tags?: Array<string> | null;
4191
+ createdAt: any;
4192
+ stageId?: string | null;
4193
+ defaultAgentId?: string | null;
4194
+ deletedAt?: any | null;
4195
+ archivedBy?: string | null;
4196
+ };
4197
+ };
4198
+ export type ClientByPhoneQueryVariables = Exact<{
4199
+ input: ClientByPhoneInput;
4200
+ }>;
4201
+ export type ClientByPhoneQuery = {
4202
+ __typename?: 'Query';
4203
+ clientByPhone: {
4204
+ __typename?: 'Client';
4205
+ workspaceId: number;
4206
+ id: string;
4207
+ email?: string | null;
4208
+ name?: string | null;
4209
+ surname?: string | null;
4210
+ phone?: string | null;
4211
+ address?: string | null;
4212
+ code?: string | null;
4213
+ city?: string | null;
4214
+ country?: string | null;
4215
+ externalClientId?: string | null;
4216
+ tags?: Array<string> | null;
4217
+ createdAt: any;
4218
+ stageId?: string | null;
4219
+ defaultAgentId?: string | null;
4220
+ deletedAt?: any | null;
4221
+ archivedBy?: string | null;
4222
+ };
4223
+ };
4224
+ export type ClientsQueryVariables = Exact<{
4225
+ input: ClientsInput;
4226
+ pageInfo?: InputMaybe<PageInfoInput>;
4227
+ }>;
4228
+ export type ClientsQuery = {
4229
+ __typename?: 'Query';
4230
+ clients: {
4231
+ __typename?: 'ClientsPayload';
4232
+ nodes?: Array<{
4233
+ __typename?: 'Client';
4234
+ workspaceId: number;
4235
+ id: string;
4236
+ email?: string | null;
4237
+ name?: string | null;
4238
+ surname?: string | null;
4239
+ phone?: string | null;
4240
+ address?: string | null;
4241
+ code?: string | null;
4242
+ city?: string | null;
4243
+ country?: string | null;
4244
+ externalClientId?: string | null;
4245
+ tags?: Array<string> | null;
4246
+ createdAt: any;
4247
+ stageId?: string | null;
4248
+ defaultAgentId?: string | null;
4249
+ deletedAt?: any | null;
4250
+ archivedBy?: string | null;
4251
+ }> | null;
4252
+ pageInfo?: {
4253
+ __typename?: 'PageInfo';
4254
+ hasNextPage: boolean;
4255
+ endCursor?: any | null;
4256
+ count?: number | null;
4257
+ } | null;
4258
+ };
4259
+ };
4260
+ export type CreateClientMutationVariables = Exact<{
4261
+ input: ClientCreateInput;
4262
+ }>;
4263
+ export type CreateClientMutation = {
4264
+ __typename?: 'Mutation';
4265
+ createClient: {
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 DeleteClientMutationVariables = Exact<{
4287
+ input: ClientInput;
4288
+ }>;
4289
+ export type DeleteClientMutation = {
4290
+ __typename?: 'Mutation';
4291
+ deleteClient: {
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 DeleteClientByExternalIdMutationVariables = Exact<{
4313
+ input: ClientDeleteByExternalIdInput;
4314
+ }>;
4315
+ export type DeleteClientByExternalIdMutation = {
4316
+ __typename?: 'Mutation';
4317
+ deleteClientByExternalId: {
4318
+ __typename?: 'Client';
4319
+ workspaceId: number;
4320
+ id: string;
4321
+ email?: string | null;
4322
+ name?: string | null;
4323
+ surname?: string | null;
4324
+ phone?: string | null;
4325
+ address?: string | null;
4326
+ code?: string | null;
4327
+ city?: string | null;
4328
+ country?: string | null;
4329
+ externalClientId?: string | null;
4330
+ tags?: Array<string> | null;
4331
+ createdAt: any;
4332
+ stageId?: string | null;
4333
+ defaultAgentId?: string | null;
4334
+ deletedAt?: any | null;
4335
+ archivedBy?: string | null;
4336
+ };
4337
+ };
4338
+ export type PatchClientMutationVariables = Exact<{
4339
+ input: ClientPatchInput;
4340
+ }>;
4341
+ export type PatchClientMutation = {
4342
+ __typename?: 'Mutation';
4343
+ patchClient: {
4344
+ __typename?: 'Client';
4345
+ workspaceId: number;
4346
+ id: string;
4347
+ email?: string | null;
4348
+ name?: string | null;
4349
+ surname?: string | null;
4350
+ phone?: string | null;
4351
+ address?: string | null;
4352
+ code?: string | null;
4353
+ city?: string | null;
4354
+ country?: string | null;
4355
+ externalClientId?: string | null;
4356
+ tags?: Array<string> | null;
4357
+ createdAt: any;
4358
+ stageId?: string | null;
4359
+ defaultAgentId?: string | null;
4360
+ deletedAt?: any | null;
4361
+ archivedBy?: string | null;
4362
+ };
4363
+ };
4364
+ export type UndeleteClientMutationVariables = Exact<{
4365
+ input: ClientInput;
4366
+ }>;
4367
+ export type UndeleteClientMutation = {
4368
+ __typename?: 'Mutation';
4369
+ undeleteClient: {
4370
+ __typename?: 'Client';
4371
+ workspaceId: number;
4372
+ id: string;
4373
+ email?: string | null;
4374
+ name?: string | null;
4375
+ surname?: string | null;
4376
+ phone?: string | null;
4377
+ address?: string | null;
4378
+ code?: string | null;
4379
+ city?: string | null;
4380
+ country?: string | null;
4381
+ externalClientId?: string | null;
4382
+ tags?: Array<string> | null;
4383
+ createdAt: any;
4384
+ stageId?: string | null;
4385
+ defaultAgentId?: string | null;
4386
+ deletedAt?: any | null;
4387
+ archivedBy?: string | null;
4388
+ };
4389
+ };
4390
+ export type UndeleteClientByExternalIdMutationVariables = Exact<{
4391
+ input: ClientDeleteByExternalIdInput;
4392
+ }>;
4393
+ export type UndeleteClientByExternalIdMutation = {
4394
+ __typename?: 'Mutation';
4395
+ undeleteClientByExternalId: {
4396
+ __typename?: 'Client';
4397
+ workspaceId: number;
4398
+ id: string;
4399
+ email?: string | null;
4400
+ name?: string | null;
4401
+ surname?: string | null;
4402
+ phone?: string | null;
4403
+ address?: string | null;
4404
+ code?: string | null;
4405
+ city?: string | null;
4406
+ country?: string | null;
4407
+ externalClientId?: string | null;
4408
+ tags?: Array<string> | null;
4409
+ createdAt: any;
4410
+ stageId?: string | null;
4411
+ defaultAgentId?: string | null;
4412
+ deletedAt?: any | null;
4413
+ archivedBy?: string | null;
4414
+ };
4415
+ };
4416
+ export type ValidateBulkImportContactsQueryVariables = Exact<{
4417
+ input: ValidateBulkImportContactsInput;
4418
+ }>;
4419
+ export type ValidateBulkImportContactsQuery = {
4420
+ __typename?: 'Query';
4421
+ validateBulkImportContacts: {
4422
+ __typename?: 'ValidateBulkImportContactsResult';
4423
+ totalRows: number;
4424
+ validRows: number;
4425
+ invalidRows: number;
4426
+ errors: Array<{
4427
+ __typename?: 'ValidationError';
4428
+ row: number;
4429
+ message: string;
4430
+ }>;
4431
+ };
4432
+ };
4433
+ export type AiFragment = {
4434
+ __typename?: 'AI';
4435
+ workspaceId: number;
4436
+ id: string;
4437
+ name: string;
4438
+ type: AiType;
4439
+ createdAt: any;
4440
+ deletedAt?: any | null;
4441
+ integrationProperties?: {
4442
+ __typename?: 'IntegrationProperties';
4443
+ model?: string | null;
4444
+ version?: string | null;
4445
+ } | null;
4446
+ configuration?: {
4447
+ __typename?: 'Configurations';
4448
+ askForName?: boolean | null;
4449
+ askForSurname?: boolean | null;
4450
+ askForEmail?: boolean | null;
4451
+ askForCity?: boolean | null;
4452
+ askForAddress?: boolean | null;
4453
+ handoverEnabled?: boolean | null;
4454
+ clientTagRules?: Array<{
4455
+ __typename?: 'TagRule';
4456
+ tag: string;
4457
+ rule: string;
4458
+ }> | null;
4459
+ convTagRules?: Array<{
4460
+ __typename?: 'TagRule';
4461
+ tag: string;
4462
+ rule: string;
4463
+ }> | null;
4464
+ } | null;
4465
+ };
4466
+ export type ApiKeyFragment = {
4467
+ __typename?: 'ApiKey';
4468
+ workspaceId: number;
4469
+ id: string;
4470
+ key: string;
4471
+ label: string;
4472
+ createdAt: any;
4473
+ };
4474
+ export type IntegrationFragment = {
4475
+ __typename?: 'Integration';
4476
+ workspaceId: number;
4477
+ id: string;
4478
+ name: string;
4479
+ identifier?: string | null;
4480
+ type: IntegrationType;
4481
+ properties?: any | null;
4482
+ state: IntegrationState;
4483
+ createdAt: any;
4484
+ deletedAt?: any | null;
4485
+ patchedAt?: any | null;
4486
+ };
4487
+ export type WebhookFragment = {
4488
+ __typename?: 'Webhook';
4489
+ workspaceId: number;
4490
+ id: string;
4491
+ label: string;
4492
+ url: string;
4493
+ event: WebhookEvent;
4494
+ createdAt: any;
4495
+ };
4496
+ export type AiQueryVariables = Exact<{
4497
+ input: AiInput;
4498
+ }>;
4499
+ export type AiQuery = {
4500
+ __typename?: 'Query';
4501
+ ai: {
4502
+ __typename?: 'AI';
4503
+ workspaceId: number;
4504
+ id: string;
4505
+ name: string;
4506
+ type: AiType;
4507
+ createdAt: any;
4508
+ deletedAt?: any | null;
4509
+ integrationProperties?: {
4510
+ __typename?: 'IntegrationProperties';
4511
+ model?: string | null;
4512
+ version?: string | null;
4513
+ } | null;
4514
+ configuration?: {
4515
+ __typename?: 'Configurations';
4516
+ askForName?: boolean | null;
4517
+ askForSurname?: boolean | null;
4518
+ askForEmail?: boolean | null;
4519
+ askForCity?: boolean | null;
4520
+ askForAddress?: boolean | null;
4521
+ handoverEnabled?: boolean | null;
4522
+ clientTagRules?: Array<{
4523
+ __typename?: 'TagRule';
4524
+ tag: string;
4525
+ rule: string;
4526
+ }> | null;
4527
+ convTagRules?: Array<{
4528
+ __typename?: 'TagRule';
4529
+ tag: string;
4530
+ rule: string;
4531
+ }> | null;
4532
+ } | null;
4533
+ };
4534
+ };
4535
+ export type AisQueryVariables = Exact<{
4536
+ input: AIsInput;
4537
+ }>;
4538
+ export type AisQuery = {
4539
+ __typename?: 'Query';
4540
+ ais: {
4541
+ __typename?: 'AIsPayload';
4542
+ nodes?: Array<{
4543
+ __typename?: 'AI';
4544
+ workspaceId: number;
4545
+ id: string;
4546
+ name: string;
4547
+ type: AiType;
4548
+ createdAt: any;
4549
+ deletedAt?: any | null;
4550
+ integrationProperties?: {
4551
+ __typename?: 'IntegrationProperties';
4552
+ model?: string | null;
4553
+ version?: string | null;
4554
+ } | null;
4555
+ configuration?: {
4556
+ __typename?: 'Configurations';
4557
+ askForName?: boolean | null;
4558
+ askForSurname?: boolean | null;
4559
+ askForEmail?: boolean | null;
4560
+ askForCity?: boolean | null;
4561
+ askForAddress?: boolean | null;
4562
+ handoverEnabled?: boolean | null;
4563
+ clientTagRules?: Array<{
4564
+ __typename?: 'TagRule';
4565
+ tag: string;
4566
+ rule: string;
4567
+ }> | null;
4568
+ convTagRules?: Array<{
4569
+ __typename?: 'TagRule';
4570
+ tag: string;
4571
+ rule: string;
4572
+ }> | null;
4573
+ } | null;
4574
+ }> | null;
4575
+ };
4576
+ };
4577
+ export type ApiKeysQueryVariables = Exact<{
4578
+ input: ApiKeysInput;
4579
+ }>;
4580
+ export type ApiKeysQuery = {
4581
+ __typename?: 'Query';
4582
+ apiKeys: {
4583
+ __typename?: 'ApiKeysPayload';
4584
+ nodes?: Array<{
4302
4585
  __typename?: 'ApiKey';
4303
4586
  workspaceId: number;
4304
4587
  id: string;
@@ -4333,6 +4616,25 @@ export type CreateAiMutation = {
4333
4616
  model?: string | null;
4334
4617
  version?: string | null;
4335
4618
  } | null;
4619
+ configuration?: {
4620
+ __typename?: 'Configurations';
4621
+ askForName?: boolean | null;
4622
+ askForSurname?: boolean | null;
4623
+ askForEmail?: boolean | null;
4624
+ askForCity?: boolean | null;
4625
+ askForAddress?: boolean | null;
4626
+ handoverEnabled?: boolean | null;
4627
+ clientTagRules?: Array<{
4628
+ __typename?: 'TagRule';
4629
+ tag: string;
4630
+ rule: string;
4631
+ }> | null;
4632
+ convTagRules?: Array<{
4633
+ __typename?: 'TagRule';
4634
+ tag: string;
4635
+ rule: string;
4636
+ }> | null;
4637
+ } | null;
4336
4638
  };
4337
4639
  };
4338
4640
  export type CreateIntegrationMutationVariables = Exact<{
@@ -4345,6 +4647,7 @@ export type CreateIntegrationMutation = {
4345
4647
  workspaceId: number;
4346
4648
  id: string;
4347
4649
  name: string;
4650
+ identifier?: string | null;
4348
4651
  type: IntegrationType;
4349
4652
  properties?: any | null;
4350
4653
  state: IntegrationState;
@@ -4399,6 +4702,25 @@ export type DeleteAiMutation = {
4399
4702
  model?: string | null;
4400
4703
  version?: string | null;
4401
4704
  } | null;
4705
+ configuration?: {
4706
+ __typename?: 'Configurations';
4707
+ askForName?: boolean | null;
4708
+ askForSurname?: boolean | null;
4709
+ askForEmail?: boolean | null;
4710
+ askForCity?: boolean | null;
4711
+ askForAddress?: boolean | null;
4712
+ handoverEnabled?: boolean | null;
4713
+ clientTagRules?: Array<{
4714
+ __typename?: 'TagRule';
4715
+ tag: string;
4716
+ rule: string;
4717
+ }> | null;
4718
+ convTagRules?: Array<{
4719
+ __typename?: 'TagRule';
4720
+ tag: string;
4721
+ rule: string;
4722
+ }> | null;
4723
+ } | null;
4402
4724
  };
4403
4725
  };
4404
4726
  export type DeleteApiKeyMutationVariables = Exact<{
@@ -4425,6 +4747,7 @@ export type DeleteIntegrationMutation = {
4425
4747
  workspaceId: number;
4426
4748
  id: string;
4427
4749
  name: string;
4750
+ identifier?: string | null;
4428
4751
  type: IntegrationType;
4429
4752
  properties?: any | null;
4430
4753
  state: IntegrationState;
@@ -4485,6 +4808,7 @@ export type IntegrationQuery = {
4485
4808
  workspaceId: number;
4486
4809
  id: string;
4487
4810
  name: string;
4811
+ identifier?: string | null;
4488
4812
  type: IntegrationType;
4489
4813
  properties?: any | null;
4490
4814
  state: IntegrationState;
@@ -4505,6 +4829,7 @@ export type IntegrationsQuery = {
4505
4829
  workspaceId: number;
4506
4830
  id: string;
4507
4831
  name: string;
4832
+ identifier?: string | null;
4508
4833
  type: IntegrationType;
4509
4834
  properties?: any | null;
4510
4835
  state: IntegrationState;
@@ -4532,6 +4857,25 @@ export type PatchAiMutation = {
4532
4857
  model?: string | null;
4533
4858
  version?: string | null;
4534
4859
  } | null;
4860
+ configuration?: {
4861
+ __typename?: 'Configurations';
4862
+ askForName?: boolean | null;
4863
+ askForSurname?: boolean | null;
4864
+ askForEmail?: boolean | null;
4865
+ askForCity?: boolean | null;
4866
+ askForAddress?: boolean | null;
4867
+ handoverEnabled?: boolean | null;
4868
+ clientTagRules?: Array<{
4869
+ __typename?: 'TagRule';
4870
+ tag: string;
4871
+ rule: string;
4872
+ }> | null;
4873
+ convTagRules?: Array<{
4874
+ __typename?: 'TagRule';
4875
+ tag: string;
4876
+ rule: string;
4877
+ }> | null;
4878
+ } | null;
4535
4879
  };
4536
4880
  };
4537
4881
  export type PatchIntegrationMutationVariables = Exact<{
@@ -4544,6 +4888,7 @@ export type PatchIntegrationMutation = {
4544
4888
  workspaceId: number;
4545
4889
  id: string;
4546
4890
  name: string;
4891
+ identifier?: string | null;
4547
4892
  type: IntegrationType;
4548
4893
  properties?: any | null;
4549
4894
  state: IntegrationState;
@@ -4595,6 +4940,7 @@ export type WorkspaceSettingsFragment = {
4595
4940
  workspaceId: number;
4596
4941
  convTTL?: number | null;
4597
4942
  optOutKeyword?: string | null;
4943
+ autoUnarchiveOnMessage?: boolean | null;
4598
4944
  testNums?: Array<{
4599
4945
  __typename?: 'WorkspaceTestNumber';
4600
4946
  phone: string;
@@ -4619,6 +4965,7 @@ export type PatchWorkspaceSettingsMutation = {
4619
4965
  workspaceId: number;
4620
4966
  convTTL?: number | null;
4621
4967
  optOutKeyword?: string | null;
4968
+ autoUnarchiveOnMessage?: boolean | null;
4622
4969
  testNums?: Array<{
4623
4970
  __typename?: 'WorkspaceTestNumber';
4624
4971
  phone: string;
@@ -4637,6 +4984,7 @@ export type WorkspaceSettingsQuery = {
4637
4984
  workspaceId: number;
4638
4985
  convTTL?: number | null;
4639
4986
  optOutKeyword?: string | null;
4987
+ autoUnarchiveOnMessage?: boolean | null;
4640
4988
  testNums?: Array<{
4641
4989
  __typename?: 'WorkspaceTestNumber';
4642
4990
  phone: string;
@@ -4686,12 +5034,12 @@ export declare const ConversationReportFragmentDoc: Apollo.DocumentNode;
4686
5034
  export declare const PageInfoFragmentDoc: Apollo.DocumentNode;
4687
5035
  export declare const AgentFragmentDoc: Apollo.DocumentNode;
4688
5036
  export declare const BroadcastFragmentDoc: Apollo.DocumentNode;
4689
- export declare const ClientFragmentDoc: Apollo.DocumentNode;
4690
5037
  export declare const MessageFragmentDoc: Apollo.DocumentNode;
4691
5038
  export declare const ConversationFragmentDoc: Apollo.DocumentNode;
4692
5039
  export declare const TagFragmentDoc: Apollo.DocumentNode;
4693
5040
  export declare const MessageTemplateDetailsFragmentDoc: Apollo.DocumentNode;
4694
5041
  export declare const MessageTemplateFragmentDoc: Apollo.DocumentNode;
5042
+ export declare const ClientFragmentDoc: Apollo.DocumentNode;
4695
5043
  export declare const AiFragmentDoc: Apollo.DocumentNode;
4696
5044
  export declare const ApiKeyFragmentDoc: Apollo.DocumentNode;
4697
5045
  export declare const IntegrationFragmentDoc: Apollo.DocumentNode;
@@ -4701,1691 +5049,1898 @@ export declare const WorkspaceSettingsFragmentDoc: Apollo.DocumentNode;
4701
5049
  export declare const CreateSourceDocument: Apollo.DocumentNode;
4702
5050
  export type CreateSourceMutationFn = Apollo.MutationFunction<CreateSourceMutation, CreateSourceMutationVariables>;
4703
5051
  /**
4704
- * __useCreateSourceMutation__
5052
+ * __useCreateSourceMutation__
5053
+ *
5054
+ * To run a mutation, you first call `useCreateSourceMutation` within a React component and pass it any options that fit your needs.
5055
+ * When your component renders, `useCreateSourceMutation` returns a tuple that includes:
5056
+ * - A mutate function that you can call at any time to execute the mutation
5057
+ * - An object with fields that represent the current status of the mutation's execution
5058
+ *
5059
+ * @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;
5060
+ *
5061
+ * @example
5062
+ * const [createSourceMutation, { data, loading, error }] = useCreateSourceMutation({
5063
+ * variables: {
5064
+ * input: // value for 'input'
5065
+ * },
5066
+ * });
5067
+ */
5068
+ export declare function useCreateSourceMutation(baseOptions?: Apollo.MutationHookOptions<CreateSourceMutation, CreateSourceMutationVariables>): Apollo.MutationTuple<CreateSourceMutation, Exact<{
5069
+ input: SourceCreateInput;
5070
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5071
+ export type CreateSourceMutationHookResult = ReturnType<typeof useCreateSourceMutation>;
5072
+ export type CreateSourceMutationResult = Apollo.MutationResult<CreateSourceMutation>;
5073
+ export type CreateSourceMutationOptions = Apollo.BaseMutationOptions<CreateSourceMutation, CreateSourceMutationVariables>;
5074
+ export declare const DeleteSourceDocument: Apollo.DocumentNode;
5075
+ export type DeleteSourceMutationFn = Apollo.MutationFunction<DeleteSourceMutation, DeleteSourceMutationVariables>;
5076
+ /**
5077
+ * __useDeleteSourceMutation__
5078
+ *
5079
+ * To run a mutation, you first call `useDeleteSourceMutation` within a React component and pass it any options that fit your needs.
5080
+ * When your component renders, `useDeleteSourceMutation` returns a tuple that includes:
5081
+ * - A mutate function that you can call at any time to execute the mutation
5082
+ * - An object with fields that represent the current status of the mutation's execution
5083
+ *
5084
+ * @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;
5085
+ *
5086
+ * @example
5087
+ * const [deleteSourceMutation, { data, loading, error }] = useDeleteSourceMutation({
5088
+ * variables: {
5089
+ * input: // value for 'input'
5090
+ * },
5091
+ * });
5092
+ */
5093
+ export declare function useDeleteSourceMutation(baseOptions?: Apollo.MutationHookOptions<DeleteSourceMutation, DeleteSourceMutationVariables>): Apollo.MutationTuple<DeleteSourceMutation, Exact<{
5094
+ input: SourceDeleteInput;
5095
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5096
+ export type DeleteSourceMutationHookResult = ReturnType<typeof useDeleteSourceMutation>;
5097
+ export type DeleteSourceMutationResult = Apollo.MutationResult<DeleteSourceMutation>;
5098
+ export type DeleteSourceMutationOptions = Apollo.BaseMutationOptions<DeleteSourceMutation, DeleteSourceMutationVariables>;
5099
+ export declare const SourcesDocument: Apollo.DocumentNode;
5100
+ /**
5101
+ * __useSourcesQuery__
5102
+ *
5103
+ * To run a query within a React component, call `useSourcesQuery` and pass it any options that fit your needs.
5104
+ * When your component renders, `useSourcesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5105
+ * you can use to render your UI.
5106
+ *
5107
+ * @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;
5108
+ *
5109
+ * @example
5110
+ * const { data, loading, error } = useSourcesQuery({
5111
+ * variables: {
5112
+ * input: // value for 'input'
5113
+ * },
5114
+ * });
5115
+ */
5116
+ export declare function useSourcesQuery(baseOptions: Apollo.QueryHookOptions<SourcesQuery, SourcesQueryVariables> & ({
5117
+ variables: SourcesQueryVariables;
5118
+ skip?: boolean;
5119
+ } | {
5120
+ skip: boolean;
5121
+ })): Apollo.QueryResult<SourcesQuery, Exact<{
5122
+ input: SourcesInput;
5123
+ }>>;
5124
+ export declare function useSourcesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SourcesQuery, SourcesQueryVariables>): Apollo.LazyQueryResultTuple<SourcesQuery, Exact<{
5125
+ input: SourcesInput;
5126
+ }>>;
5127
+ export declare function useSourcesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SourcesQuery, SourcesQueryVariables>): Apollo.UseSuspenseQueryResult<SourcesQuery | undefined, Exact<{
5128
+ input: SourcesInput;
5129
+ }>>;
5130
+ export type SourcesQueryHookResult = ReturnType<typeof useSourcesQuery>;
5131
+ export type SourcesLazyQueryHookResult = ReturnType<typeof useSourcesLazyQuery>;
5132
+ export type SourcesSuspenseQueryHookResult = ReturnType<typeof useSourcesSuspenseQuery>;
5133
+ export type SourcesQueryResult = Apollo.QueryResult<SourcesQuery, SourcesQueryVariables>;
5134
+ export declare function refetchSourcesQuery(variables: SourcesQueryVariables): {
5135
+ query: Apollo.DocumentNode;
5136
+ variables: Exact<{
5137
+ input: SourcesInput;
5138
+ }>;
5139
+ };
5140
+ export declare const TokenUsageLogsDocument: Apollo.DocumentNode;
5141
+ /**
5142
+ * __useTokenUsageLogsQuery__
5143
+ *
5144
+ * To run a query within a React component, call `useTokenUsageLogsQuery` and pass it any options that fit your needs.
5145
+ * When your component renders, `useTokenUsageLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5146
+ * you can use to render your UI.
5147
+ *
5148
+ * @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;
5149
+ *
5150
+ * @example
5151
+ * const { data, loading, error } = useTokenUsageLogsQuery({
5152
+ * variables: {
5153
+ * input: // value for 'input'
5154
+ * pageInfo: // value for 'pageInfo'
5155
+ * },
5156
+ * });
5157
+ */
5158
+ export declare function useTokenUsageLogsQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables> & ({
5159
+ variables: TokenUsageLogsQueryVariables;
5160
+ skip?: boolean;
5161
+ } | {
5162
+ skip: boolean;
5163
+ })): Apollo.QueryResult<TokenUsageLogsQuery, Exact<{
5164
+ input: TokenUsageLogsInput;
5165
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5166
+ }>>;
5167
+ export declare function useTokenUsageLogsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageLogsQuery, Exact<{
5168
+ input: TokenUsageLogsInput;
5169
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5170
+ }>>;
5171
+ export declare function useTokenUsageLogsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageLogsQuery | undefined, Exact<{
5172
+ input: TokenUsageLogsInput;
5173
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5174
+ }>>;
5175
+ export type TokenUsageLogsQueryHookResult = ReturnType<typeof useTokenUsageLogsQuery>;
5176
+ export type TokenUsageLogsLazyQueryHookResult = ReturnType<typeof useTokenUsageLogsLazyQuery>;
5177
+ export type TokenUsageLogsSuspenseQueryHookResult = ReturnType<typeof useTokenUsageLogsSuspenseQuery>;
5178
+ export type TokenUsageLogsQueryResult = Apollo.QueryResult<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>;
5179
+ export declare function refetchTokenUsageLogsQuery(variables: TokenUsageLogsQueryVariables): {
5180
+ query: Apollo.DocumentNode;
5181
+ variables: Exact<{
5182
+ input: TokenUsageLogsInput;
5183
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5184
+ }>;
5185
+ };
5186
+ export declare const TokenUsageTotalDocument: Apollo.DocumentNode;
5187
+ /**
5188
+ * __useTokenUsageTotalQuery__
5189
+ *
5190
+ * To run a query within a React component, call `useTokenUsageTotalQuery` and pass it any options that fit your needs.
5191
+ * When your component renders, `useTokenUsageTotalQuery` returns an object from Apollo Client that contains loading, error, and data properties
5192
+ * you can use to render your UI.
5193
+ *
5194
+ * @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;
5195
+ *
5196
+ * @example
5197
+ * const { data, loading, error } = useTokenUsageTotalQuery({
5198
+ * variables: {
5199
+ * input: // value for 'input'
5200
+ * },
5201
+ * });
5202
+ */
5203
+ export declare function useTokenUsageTotalQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables> & ({
5204
+ variables: TokenUsageTotalQueryVariables;
5205
+ skip?: boolean;
5206
+ } | {
5207
+ skip: boolean;
5208
+ })): Apollo.QueryResult<TokenUsageTotalQuery, Exact<{
5209
+ input: TokenUsageTotalInput;
5210
+ }>>;
5211
+ export declare function useTokenUsageTotalLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageTotalQuery, Exact<{
5212
+ input: TokenUsageTotalInput;
5213
+ }>>;
5214
+ export declare function useTokenUsageTotalSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageTotalQuery | undefined, Exact<{
5215
+ input: TokenUsageTotalInput;
5216
+ }>>;
5217
+ export type TokenUsageTotalQueryHookResult = ReturnType<typeof useTokenUsageTotalQuery>;
5218
+ export type TokenUsageTotalLazyQueryHookResult = ReturnType<typeof useTokenUsageTotalLazyQuery>;
5219
+ export type TokenUsageTotalSuspenseQueryHookResult = ReturnType<typeof useTokenUsageTotalSuspenseQuery>;
5220
+ export type TokenUsageTotalQueryResult = Apollo.QueryResult<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>;
5221
+ export declare function refetchTokenUsageTotalQuery(variables: TokenUsageTotalQueryVariables): {
5222
+ query: Apollo.DocumentNode;
5223
+ variables: Exact<{
5224
+ input: TokenUsageTotalInput;
5225
+ }>;
5226
+ };
5227
+ export declare const AssignOwnerDocument: Apollo.DocumentNode;
5228
+ export type AssignOwnerMutationFn = Apollo.MutationFunction<AssignOwnerMutation, AssignOwnerMutationVariables>;
5229
+ /**
5230
+ * __useAssignOwnerMutation__
5231
+ *
5232
+ * To run a mutation, you first call `useAssignOwnerMutation` within a React component and pass it any options that fit your needs.
5233
+ * When your component renders, `useAssignOwnerMutation` returns a tuple that includes:
5234
+ * - A mutate function that you can call at any time to execute the mutation
5235
+ * - An object with fields that represent the current status of the mutation's execution
5236
+ *
5237
+ * @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;
5238
+ *
5239
+ * @example
5240
+ * const [assignOwnerMutation, { data, loading, error }] = useAssignOwnerMutation({
5241
+ * variables: {
5242
+ * input: // value for 'input'
5243
+ * },
5244
+ * });
5245
+ */
5246
+ export declare function useAssignOwnerMutation(baseOptions?: Apollo.MutationHookOptions<AssignOwnerMutation, AssignOwnerMutationVariables>): Apollo.MutationTuple<AssignOwnerMutation, Exact<{
5247
+ input: InputAssignUserOwner;
5248
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5249
+ export type AssignOwnerMutationHookResult = ReturnType<typeof useAssignOwnerMutation>;
5250
+ export type AssignOwnerMutationResult = Apollo.MutationResult<AssignOwnerMutation>;
5251
+ export type AssignOwnerMutationOptions = Apollo.BaseMutationOptions<AssignOwnerMutation, AssignOwnerMutationVariables>;
5252
+ export declare const AssignUserRoleDocument: Apollo.DocumentNode;
5253
+ export type AssignUserRoleMutationFn = Apollo.MutationFunction<AssignUserRoleMutation, AssignUserRoleMutationVariables>;
5254
+ /**
5255
+ * __useAssignUserRoleMutation__
4705
5256
  *
4706
- * To run a mutation, you first call `useCreateSourceMutation` within a React component and pass it any options that fit your needs.
4707
- * When your component renders, `useCreateSourceMutation` returns a tuple that includes:
5257
+ * To run a mutation, you first call `useAssignUserRoleMutation` within a React component and pass it any options that fit your needs.
5258
+ * When your component renders, `useAssignUserRoleMutation` returns a tuple that includes:
4708
5259
  * - A mutate function that you can call at any time to execute the mutation
4709
5260
  * - An object with fields that represent the current status of the mutation's execution
4710
5261
  *
4711
5262
  * @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;
4712
5263
  *
4713
5264
  * @example
4714
- * const [createSourceMutation, { data, loading, error }] = useCreateSourceMutation({
5265
+ * const [assignUserRoleMutation, { data, loading, error }] = useAssignUserRoleMutation({
4715
5266
  * variables: {
4716
5267
  * input: // value for 'input'
4717
5268
  * },
4718
5269
  * });
4719
5270
  */
4720
- export declare function useCreateSourceMutation(baseOptions?: Apollo.MutationHookOptions<CreateSourceMutation, CreateSourceMutationVariables>): Apollo.MutationTuple<CreateSourceMutation, Exact<{
4721
- input: SourceCreateInput;
5271
+ export declare function useAssignUserRoleMutation(baseOptions?: Apollo.MutationHookOptions<AssignUserRoleMutation, AssignUserRoleMutationVariables>): Apollo.MutationTuple<AssignUserRoleMutation, Exact<{
5272
+ input: InputAssignUserRole;
4722
5273
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
4723
- export type CreateSourceMutationHookResult = ReturnType<typeof useCreateSourceMutation>;
4724
- export type CreateSourceMutationResult = Apollo.MutationResult<CreateSourceMutation>;
4725
- export type CreateSourceMutationOptions = Apollo.BaseMutationOptions<CreateSourceMutation, CreateSourceMutationVariables>;
4726
- export declare const DeleteSourceDocument: Apollo.DocumentNode;
4727
- export type DeleteSourceMutationFn = Apollo.MutationFunction<DeleteSourceMutation, DeleteSourceMutationVariables>;
5274
+ export type AssignUserRoleMutationHookResult = ReturnType<typeof useAssignUserRoleMutation>;
5275
+ export type AssignUserRoleMutationResult = Apollo.MutationResult<AssignUserRoleMutation>;
5276
+ export type AssignUserRoleMutationOptions = Apollo.BaseMutationOptions<AssignUserRoleMutation, AssignUserRoleMutationVariables>;
5277
+ export declare const CurrentUserDocument: Apollo.DocumentNode;
4728
5278
  /**
4729
- * __useDeleteSourceMutation__
5279
+ * __useCurrentUserQuery__
4730
5280
  *
4731
- * To run a mutation, you first call `useDeleteSourceMutation` within a React component and pass it any options that fit your needs.
4732
- * When your component renders, `useDeleteSourceMutation` returns a tuple that includes:
5281
+ * To run a query within a React component, call `useCurrentUserQuery` and pass it any options that fit your needs.
5282
+ * When your component renders, `useCurrentUserQuery` returns an object from Apollo Client that contains loading, error, and data properties
5283
+ * you can use to render your UI.
5284
+ *
5285
+ * @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;
5286
+ *
5287
+ * @example
5288
+ * const { data, loading, error } = useCurrentUserQuery({
5289
+ * variables: {
5290
+ * },
5291
+ * });
5292
+ */
5293
+ export declare function useCurrentUserQuery(baseOptions?: Apollo.QueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.QueryResult<CurrentUserQuery, Exact<{
5294
+ [key: string]: never;
5295
+ }>>;
5296
+ export declare function useCurrentUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.LazyQueryResultTuple<CurrentUserQuery, Exact<{
5297
+ [key: string]: never;
5298
+ }>>;
5299
+ export declare function useCurrentUserSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.UseSuspenseQueryResult<CurrentUserQuery | undefined, Exact<{
5300
+ [key: string]: never;
5301
+ }>>;
5302
+ export type CurrentUserQueryHookResult = ReturnType<typeof useCurrentUserQuery>;
5303
+ export type CurrentUserLazyQueryHookResult = ReturnType<typeof useCurrentUserLazyQuery>;
5304
+ export type CurrentUserSuspenseQueryHookResult = ReturnType<typeof useCurrentUserSuspenseQuery>;
5305
+ export type CurrentUserQueryResult = Apollo.QueryResult<CurrentUserQuery, CurrentUserQueryVariables>;
5306
+ export declare function refetchCurrentUserQuery(variables?: CurrentUserQueryVariables): {
5307
+ query: Apollo.DocumentNode;
5308
+ variables: Exact<{
5309
+ [key: string]: never;
5310
+ }> | undefined;
5311
+ };
5312
+ export declare const InitWorkspaceDocument: Apollo.DocumentNode;
5313
+ export type InitWorkspaceMutationFn = Apollo.MutationFunction<InitWorkspaceMutation, InitWorkspaceMutationVariables>;
5314
+ /**
5315
+ * __useInitWorkspaceMutation__
5316
+ *
5317
+ * To run a mutation, you first call `useInitWorkspaceMutation` within a React component and pass it any options that fit your needs.
5318
+ * When your component renders, `useInitWorkspaceMutation` returns a tuple that includes:
4733
5319
  * - A mutate function that you can call at any time to execute the mutation
4734
5320
  * - An object with fields that represent the current status of the mutation's execution
4735
5321
  *
4736
5322
  * @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;
4737
5323
  *
4738
5324
  * @example
4739
- * const [deleteSourceMutation, { data, loading, error }] = useDeleteSourceMutation({
5325
+ * const [initWorkspaceMutation, { data, loading, error }] = useInitWorkspaceMutation({
4740
5326
  * variables: {
4741
5327
  * input: // value for 'input'
4742
5328
  * },
4743
5329
  * });
4744
5330
  */
4745
- export declare function useDeleteSourceMutation(baseOptions?: Apollo.MutationHookOptions<DeleteSourceMutation, DeleteSourceMutationVariables>): Apollo.MutationTuple<DeleteSourceMutation, Exact<{
4746
- input: SourceDeleteInput;
5331
+ export declare function useInitWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions<InitWorkspaceMutation, InitWorkspaceMutationVariables>): Apollo.MutationTuple<InitWorkspaceMutation, Exact<{
5332
+ input: InputInitWorkspace;
4747
5333
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
4748
- export type DeleteSourceMutationHookResult = ReturnType<typeof useDeleteSourceMutation>;
4749
- export type DeleteSourceMutationResult = Apollo.MutationResult<DeleteSourceMutation>;
4750
- export type DeleteSourceMutationOptions = Apollo.BaseMutationOptions<DeleteSourceMutation, DeleteSourceMutationVariables>;
4751
- export declare const SourcesDocument: Apollo.DocumentNode;
5334
+ export type InitWorkspaceMutationHookResult = ReturnType<typeof useInitWorkspaceMutation>;
5335
+ export type InitWorkspaceMutationResult = Apollo.MutationResult<InitWorkspaceMutation>;
5336
+ export type InitWorkspaceMutationOptions = Apollo.BaseMutationOptions<InitWorkspaceMutation, InitWorkspaceMutationVariables>;
5337
+ export declare const MeDocument: Apollo.DocumentNode;
4752
5338
  /**
4753
- * __useSourcesQuery__
5339
+ * __useMeQuery__
4754
5340
  *
4755
- * To run a query within a React component, call `useSourcesQuery` and pass it any options that fit your needs.
4756
- * When your component renders, `useSourcesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5341
+ * To run a query within a React component, call `useMeQuery` and pass it any options that fit your needs.
5342
+ * When your component renders, `useMeQuery` returns an object from Apollo Client that contains loading, error, and data properties
4757
5343
  * you can use to render your UI.
4758
5344
  *
4759
5345
  * @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;
4760
5346
  *
4761
5347
  * @example
4762
- * const { data, loading, error } = useSourcesQuery({
5348
+ * const { data, loading, error } = useMeQuery({
4763
5349
  * variables: {
4764
5350
  * input: // value for 'input'
4765
5351
  * },
4766
5352
  * });
4767
5353
  */
4768
- export declare function useSourcesQuery(baseOptions: Apollo.QueryHookOptions<SourcesQuery, SourcesQueryVariables> & ({
4769
- variables: SourcesQueryVariables;
5354
+ export declare function useMeQuery(baseOptions: Apollo.QueryHookOptions<MeQuery, MeQueryVariables> & ({
5355
+ variables: MeQueryVariables;
4770
5356
  skip?: boolean;
4771
5357
  } | {
4772
5358
  skip: boolean;
4773
- })): Apollo.QueryResult<SourcesQuery, Exact<{
4774
- input: SourcesInput;
5359
+ })): Apollo.QueryResult<MeQuery, Exact<{
5360
+ input: InputInitWorkspace;
4775
5361
  }>>;
4776
- export declare function useSourcesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<SourcesQuery, SourcesQueryVariables>): Apollo.LazyQueryResultTuple<SourcesQuery, Exact<{
4777
- input: SourcesInput;
5362
+ export declare function useMeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MeQuery, MeQueryVariables>): Apollo.LazyQueryResultTuple<MeQuery, Exact<{
5363
+ input: InputInitWorkspace;
4778
5364
  }>>;
4779
- export declare function useSourcesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<SourcesQuery, SourcesQueryVariables>): Apollo.UseSuspenseQueryResult<SourcesQuery | undefined, Exact<{
4780
- input: SourcesInput;
5365
+ export declare function useMeSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MeQuery, MeQueryVariables>): Apollo.UseSuspenseQueryResult<MeQuery | undefined, Exact<{
5366
+ input: InputInitWorkspace;
4781
5367
  }>>;
4782
- export type SourcesQueryHookResult = ReturnType<typeof useSourcesQuery>;
4783
- export type SourcesLazyQueryHookResult = ReturnType<typeof useSourcesLazyQuery>;
4784
- export type SourcesSuspenseQueryHookResult = ReturnType<typeof useSourcesSuspenseQuery>;
4785
- export type SourcesQueryResult = Apollo.QueryResult<SourcesQuery, SourcesQueryVariables>;
4786
- export declare function refetchSourcesQuery(variables: SourcesQueryVariables): {
5368
+ export type MeQueryHookResult = ReturnType<typeof useMeQuery>;
5369
+ export type MeLazyQueryHookResult = ReturnType<typeof useMeLazyQuery>;
5370
+ export type MeSuspenseQueryHookResult = ReturnType<typeof useMeSuspenseQuery>;
5371
+ export type MeQueryResult = Apollo.QueryResult<MeQuery, MeQueryVariables>;
5372
+ export declare function refetchMeQuery(variables: MeQueryVariables): {
4787
5373
  query: Apollo.DocumentNode;
4788
5374
  variables: Exact<{
4789
- input: SourcesInput;
5375
+ input: InputInitWorkspace;
4790
5376
  }>;
4791
5377
  };
4792
- export declare const TokenUsageLogsDocument: Apollo.DocumentNode;
5378
+ export declare const UsersRolesDocument: Apollo.DocumentNode;
4793
5379
  /**
4794
- * __useTokenUsageLogsQuery__
5380
+ * __useUsersRolesQuery__
4795
5381
  *
4796
- * To run a query within a React component, call `useTokenUsageLogsQuery` and pass it any options that fit your needs.
4797
- * When your component renders, `useTokenUsageLogsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5382
+ * To run a query within a React component, call `useUsersRolesQuery` and pass it any options that fit your needs.
5383
+ * When your component renders, `useUsersRolesQuery` returns an object from Apollo Client that contains loading, error, and data properties
4798
5384
  * you can use to render your UI.
4799
5385
  *
4800
5386
  * @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;
4801
5387
  *
4802
5388
  * @example
4803
- * const { data, loading, error } = useTokenUsageLogsQuery({
5389
+ * const { data, loading, error } = useUsersRolesQuery({
4804
5390
  * variables: {
4805
5391
  * input: // value for 'input'
4806
- * pageInfo: // value for 'pageInfo'
4807
5392
  * },
4808
5393
  * });
4809
5394
  */
4810
- export declare function useTokenUsageLogsQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables> & ({
4811
- variables: TokenUsageLogsQueryVariables;
5395
+ export declare function useUsersRolesQuery(baseOptions: Apollo.QueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables> & ({
5396
+ variables: UsersRolesQueryVariables;
4812
5397
  skip?: boolean;
4813
5398
  } | {
4814
5399
  skip: boolean;
4815
- })): Apollo.QueryResult<TokenUsageLogsQuery, Exact<{
4816
- input: TokenUsageLogsInput;
4817
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5400
+ })): Apollo.QueryResult<UsersRolesQuery, Exact<{
5401
+ input: InputUsersRoles;
4818
5402
  }>>;
4819
- export declare function useTokenUsageLogsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageLogsQuery, Exact<{
4820
- input: TokenUsageLogsInput;
4821
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5403
+ export declare function useUsersRolesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables>): Apollo.LazyQueryResultTuple<UsersRolesQuery, Exact<{
5404
+ input: InputUsersRoles;
4822
5405
  }>>;
4823
- export declare function useTokenUsageLogsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageLogsQuery | undefined, Exact<{
4824
- input: TokenUsageLogsInput;
4825
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5406
+ export declare function useUsersRolesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables>): Apollo.UseSuspenseQueryResult<UsersRolesQuery | undefined, Exact<{
5407
+ input: InputUsersRoles;
4826
5408
  }>>;
4827
- export type TokenUsageLogsQueryHookResult = ReturnType<typeof useTokenUsageLogsQuery>;
4828
- export type TokenUsageLogsLazyQueryHookResult = ReturnType<typeof useTokenUsageLogsLazyQuery>;
4829
- export type TokenUsageLogsSuspenseQueryHookResult = ReturnType<typeof useTokenUsageLogsSuspenseQuery>;
4830
- export type TokenUsageLogsQueryResult = Apollo.QueryResult<TokenUsageLogsQuery, TokenUsageLogsQueryVariables>;
4831
- export declare function refetchTokenUsageLogsQuery(variables: TokenUsageLogsQueryVariables): {
5409
+ export type UsersRolesQueryHookResult = ReturnType<typeof useUsersRolesQuery>;
5410
+ export type UsersRolesLazyQueryHookResult = ReturnType<typeof useUsersRolesLazyQuery>;
5411
+ export type UsersRolesSuspenseQueryHookResult = ReturnType<typeof useUsersRolesSuspenseQuery>;
5412
+ export type UsersRolesQueryResult = Apollo.QueryResult<UsersRolesQuery, UsersRolesQueryVariables>;
5413
+ export declare function refetchUsersRolesQuery(variables: UsersRolesQueryVariables): {
4832
5414
  query: Apollo.DocumentNode;
4833
5415
  variables: Exact<{
4834
- input: TokenUsageLogsInput;
4835
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5416
+ input: InputUsersRoles;
4836
5417
  }>;
4837
5418
  };
4838
- export declare const TokenUsageTotalDocument: Apollo.DocumentNode;
5419
+ export declare const AgentsReportDocument: Apollo.DocumentNode;
4839
5420
  /**
4840
- * __useTokenUsageTotalQuery__
5421
+ * __useAgentsReportQuery__
4841
5422
  *
4842
- * To run a query within a React component, call `useTokenUsageTotalQuery` and pass it any options that fit your needs.
4843
- * When your component renders, `useTokenUsageTotalQuery` returns an object from Apollo Client that contains loading, error, and data properties
5423
+ * To run a query within a React component, call `useAgentsReportQuery` and pass it any options that fit your needs.
5424
+ * When your component renders, `useAgentsReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
4844
5425
  * you can use to render your UI.
4845
5426
  *
4846
5427
  * @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;
4847
5428
  *
4848
5429
  * @example
4849
- * const { data, loading, error } = useTokenUsageTotalQuery({
5430
+ * const { data, loading, error } = useAgentsReportQuery({
4850
5431
  * variables: {
4851
5432
  * input: // value for 'input'
4852
5433
  * },
4853
5434
  * });
4854
5435
  */
4855
- export declare function useTokenUsageTotalQuery(baseOptions: Apollo.QueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables> & ({
4856
- variables: TokenUsageTotalQueryVariables;
5436
+ export declare function useAgentsReportQuery(baseOptions: Apollo.QueryHookOptions<AgentsReportQuery, AgentsReportQueryVariables> & ({
5437
+ variables: AgentsReportQueryVariables;
5438
+ skip?: boolean;
5439
+ } | {
5440
+ skip: boolean;
5441
+ })): Apollo.QueryResult<AgentsReportQuery, Exact<{
5442
+ input: AgentsReportInput;
5443
+ }>>;
5444
+ export declare function useAgentsReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AgentsReportQuery, AgentsReportQueryVariables>): Apollo.LazyQueryResultTuple<AgentsReportQuery, Exact<{
5445
+ input: AgentsReportInput;
5446
+ }>>;
5447
+ export declare function useAgentsReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AgentsReportQuery, AgentsReportQueryVariables>): Apollo.UseSuspenseQueryResult<AgentsReportQuery | undefined, Exact<{
5448
+ input: AgentsReportInput;
5449
+ }>>;
5450
+ export type AgentsReportQueryHookResult = ReturnType<typeof useAgentsReportQuery>;
5451
+ export type AgentsReportLazyQueryHookResult = ReturnType<typeof useAgentsReportLazyQuery>;
5452
+ export type AgentsReportSuspenseQueryHookResult = ReturnType<typeof useAgentsReportSuspenseQuery>;
5453
+ export type AgentsReportQueryResult = Apollo.QueryResult<AgentsReportQuery, AgentsReportQueryVariables>;
5454
+ export declare function refetchAgentsReportQuery(variables: AgentsReportQueryVariables): {
5455
+ query: Apollo.DocumentNode;
5456
+ variables: Exact<{
5457
+ input: AgentsReportInput;
5458
+ }>;
5459
+ };
5460
+ export declare const ConvsReportDocument: Apollo.DocumentNode;
5461
+ /**
5462
+ * __useConvsReportQuery__
5463
+ *
5464
+ * To run a query within a React component, call `useConvsReportQuery` and pass it any options that fit your needs.
5465
+ * When your component renders, `useConvsReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
5466
+ * you can use to render your UI.
5467
+ *
5468
+ * @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;
5469
+ *
5470
+ * @example
5471
+ * const { data, loading, error } = useConvsReportQuery({
5472
+ * variables: {
5473
+ * input: // value for 'input'
5474
+ * },
5475
+ * });
5476
+ */
5477
+ export declare function useConvsReportQuery(baseOptions: Apollo.QueryHookOptions<ConvsReportQuery, ConvsReportQueryVariables> & ({
5478
+ variables: ConvsReportQueryVariables;
5479
+ skip?: boolean;
5480
+ } | {
5481
+ skip: boolean;
5482
+ })): Apollo.QueryResult<ConvsReportQuery, Exact<{
5483
+ input: ConvsReportInput;
5484
+ }>>;
5485
+ export declare function useConvsReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvsReportQuery, ConvsReportQueryVariables>): Apollo.LazyQueryResultTuple<ConvsReportQuery, Exact<{
5486
+ input: ConvsReportInput;
5487
+ }>>;
5488
+ export declare function useConvsReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvsReportQuery, ConvsReportQueryVariables>): Apollo.UseSuspenseQueryResult<ConvsReportQuery | undefined, Exact<{
5489
+ input: ConvsReportInput;
5490
+ }>>;
5491
+ export type ConvsReportQueryHookResult = ReturnType<typeof useConvsReportQuery>;
5492
+ export type ConvsReportLazyQueryHookResult = ReturnType<typeof useConvsReportLazyQuery>;
5493
+ export type ConvsReportSuspenseQueryHookResult = ReturnType<typeof useConvsReportSuspenseQuery>;
5494
+ export type ConvsReportQueryResult = Apollo.QueryResult<ConvsReportQuery, ConvsReportQueryVariables>;
5495
+ export declare function refetchConvsReportQuery(variables: ConvsReportQueryVariables): {
5496
+ query: Apollo.DocumentNode;
5497
+ variables: Exact<{
5498
+ input: ConvsReportInput;
5499
+ }>;
5500
+ };
5501
+ export declare const UploadSignatureDocument: Apollo.DocumentNode;
5502
+ /**
5503
+ * __useUploadSignatureQuery__
5504
+ *
5505
+ * To run a query within a React component, call `useUploadSignatureQuery` and pass it any options that fit your needs.
5506
+ * When your component renders, `useUploadSignatureQuery` returns an object from Apollo Client that contains loading, error, and data properties
5507
+ * you can use to render your UI.
5508
+ *
5509
+ * @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;
5510
+ *
5511
+ * @example
5512
+ * const { data, loading, error } = useUploadSignatureQuery({
5513
+ * variables: {
5514
+ * input: // value for 'input'
5515
+ * },
5516
+ * });
5517
+ */
5518
+ export declare function useUploadSignatureQuery(baseOptions: Apollo.QueryHookOptions<UploadSignatureQuery, UploadSignatureQueryVariables> & ({
5519
+ variables: UploadSignatureQueryVariables;
4857
5520
  skip?: boolean;
4858
5521
  } | {
4859
5522
  skip: boolean;
4860
- })): Apollo.QueryResult<TokenUsageTotalQuery, Exact<{
4861
- input: TokenUsageTotalInput;
5523
+ })): Apollo.QueryResult<UploadSignatureQuery, Exact<{
5524
+ input: InputUploadSignature;
4862
5525
  }>>;
4863
- export declare function useTokenUsageTotalLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.LazyQueryResultTuple<TokenUsageTotalQuery, Exact<{
4864
- input: TokenUsageTotalInput;
5526
+ export declare function useUploadSignatureLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UploadSignatureQuery, UploadSignatureQueryVariables>): Apollo.LazyQueryResultTuple<UploadSignatureQuery, Exact<{
5527
+ input: InputUploadSignature;
4865
5528
  }>>;
4866
- export declare function useTokenUsageTotalSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>): Apollo.UseSuspenseQueryResult<TokenUsageTotalQuery | undefined, Exact<{
4867
- input: TokenUsageTotalInput;
5529
+ export declare function useUploadSignatureSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<UploadSignatureQuery, UploadSignatureQueryVariables>): Apollo.UseSuspenseQueryResult<UploadSignatureQuery | undefined, Exact<{
5530
+ input: InputUploadSignature;
4868
5531
  }>>;
4869
- export type TokenUsageTotalQueryHookResult = ReturnType<typeof useTokenUsageTotalQuery>;
4870
- export type TokenUsageTotalLazyQueryHookResult = ReturnType<typeof useTokenUsageTotalLazyQuery>;
4871
- export type TokenUsageTotalSuspenseQueryHookResult = ReturnType<typeof useTokenUsageTotalSuspenseQuery>;
4872
- export type TokenUsageTotalQueryResult = Apollo.QueryResult<TokenUsageTotalQuery, TokenUsageTotalQueryVariables>;
4873
- export declare function refetchTokenUsageTotalQuery(variables: TokenUsageTotalQueryVariables): {
5532
+ export type UploadSignatureQueryHookResult = ReturnType<typeof useUploadSignatureQuery>;
5533
+ export type UploadSignatureLazyQueryHookResult = ReturnType<typeof useUploadSignatureLazyQuery>;
5534
+ export type UploadSignatureSuspenseQueryHookResult = ReturnType<typeof useUploadSignatureSuspenseQuery>;
5535
+ export type UploadSignatureQueryResult = Apollo.QueryResult<UploadSignatureQuery, UploadSignatureQueryVariables>;
5536
+ export declare function refetchUploadSignatureQuery(variables: UploadSignatureQueryVariables): {
4874
5537
  query: Apollo.DocumentNode;
4875
5538
  variables: Exact<{
4876
- input: TokenUsageTotalInput;
5539
+ input: InputUploadSignature;
4877
5540
  }>;
4878
5541
  };
4879
- export declare const AssignOwnerDocument: Apollo.DocumentNode;
4880
- export type AssignOwnerMutationFn = Apollo.MutationFunction<AssignOwnerMutation, AssignOwnerMutationVariables>;
5542
+ export declare const AddMessageDocument: Apollo.DocumentNode;
5543
+ export type AddMessageMutationFn = Apollo.MutationFunction<AddMessageMutation, AddMessageMutationVariables>;
4881
5544
  /**
4882
- * __useAssignOwnerMutation__
5545
+ * __useAddMessageMutation__
4883
5546
  *
4884
- * To run a mutation, you first call `useAssignOwnerMutation` within a React component and pass it any options that fit your needs.
4885
- * When your component renders, `useAssignOwnerMutation` returns a tuple that includes:
5547
+ * To run a mutation, you first call `useAddMessageMutation` within a React component and pass it any options that fit your needs.
5548
+ * When your component renders, `useAddMessageMutation` returns a tuple that includes:
4886
5549
  * - A mutate function that you can call at any time to execute the mutation
4887
5550
  * - An object with fields that represent the current status of the mutation's execution
4888
5551
  *
4889
5552
  * @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;
4890
5553
  *
4891
5554
  * @example
4892
- * const [assignOwnerMutation, { data, loading, error }] = useAssignOwnerMutation({
5555
+ * const [addMessageMutation, { data, loading, error }] = useAddMessageMutation({
4893
5556
  * variables: {
4894
5557
  * input: // value for 'input'
4895
5558
  * },
4896
5559
  * });
4897
5560
  */
4898
- export declare function useAssignOwnerMutation(baseOptions?: Apollo.MutationHookOptions<AssignOwnerMutation, AssignOwnerMutationVariables>): Apollo.MutationTuple<AssignOwnerMutation, Exact<{
4899
- input: InputAssignUserOwner;
5561
+ export declare function useAddMessageMutation(baseOptions?: Apollo.MutationHookOptions<AddMessageMutation, AddMessageMutationVariables>): Apollo.MutationTuple<AddMessageMutation, Exact<{
5562
+ input: MessageInput;
4900
5563
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
4901
- export type AssignOwnerMutationHookResult = ReturnType<typeof useAssignOwnerMutation>;
4902
- export type AssignOwnerMutationResult = Apollo.MutationResult<AssignOwnerMutation>;
4903
- export type AssignOwnerMutationOptions = Apollo.BaseMutationOptions<AssignOwnerMutation, AssignOwnerMutationVariables>;
4904
- export declare const AssignUserRoleDocument: Apollo.DocumentNode;
4905
- export type AssignUserRoleMutationFn = Apollo.MutationFunction<AssignUserRoleMutation, AssignUserRoleMutationVariables>;
5564
+ export type AddMessageMutationHookResult = ReturnType<typeof useAddMessageMutation>;
5565
+ export type AddMessageMutationResult = Apollo.MutationResult<AddMessageMutation>;
5566
+ export type AddMessageMutationOptions = Apollo.BaseMutationOptions<AddMessageMutation, AddMessageMutationVariables>;
5567
+ export declare const AgentDocument: Apollo.DocumentNode;
4906
5568
  /**
4907
- * __useAssignUserRoleMutation__
5569
+ * __useAgentQuery__
4908
5570
  *
4909
- * To run a mutation, you first call `useAssignUserRoleMutation` within a React component and pass it any options that fit your needs.
4910
- * When your component renders, `useAssignUserRoleMutation` returns a tuple that includes:
4911
- * - A mutate function that you can call at any time to execute the mutation
4912
- * - An object with fields that represent the current status of the mutation's execution
5571
+ * To run a query within a React component, call `useAgentQuery` and pass it any options that fit your needs.
5572
+ * When your component renders, `useAgentQuery` returns an object from Apollo Client that contains loading, error, and data properties
5573
+ * you can use to render your UI.
4913
5574
  *
4914
- * @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;
5575
+ * @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;
4915
5576
  *
4916
5577
  * @example
4917
- * const [assignUserRoleMutation, { data, loading, error }] = useAssignUserRoleMutation({
5578
+ * const { data, loading, error } = useAgentQuery({
4918
5579
  * variables: {
4919
5580
  * input: // value for 'input'
4920
5581
  * },
4921
5582
  * });
4922
5583
  */
4923
- export declare function useAssignUserRoleMutation(baseOptions?: Apollo.MutationHookOptions<AssignUserRoleMutation, AssignUserRoleMutationVariables>): Apollo.MutationTuple<AssignUserRoleMutation, Exact<{
4924
- input: InputAssignUserRole;
4925
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
4926
- export type AssignUserRoleMutationHookResult = ReturnType<typeof useAssignUserRoleMutation>;
4927
- export type AssignUserRoleMutationResult = Apollo.MutationResult<AssignUserRoleMutation>;
4928
- export type AssignUserRoleMutationOptions = Apollo.BaseMutationOptions<AssignUserRoleMutation, AssignUserRoleMutationVariables>;
4929
- export declare const CurrentUserDocument: Apollo.DocumentNode;
5584
+ export declare function useAgentQuery(baseOptions: Apollo.QueryHookOptions<AgentQuery, AgentQueryVariables> & ({
5585
+ variables: AgentQueryVariables;
5586
+ skip?: boolean;
5587
+ } | {
5588
+ skip: boolean;
5589
+ })): Apollo.QueryResult<AgentQuery, Exact<{
5590
+ input: AgentInput;
5591
+ }>>;
5592
+ export declare function useAgentLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AgentQuery, AgentQueryVariables>): Apollo.LazyQueryResultTuple<AgentQuery, Exact<{
5593
+ input: AgentInput;
5594
+ }>>;
5595
+ export declare function useAgentSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AgentQuery, AgentQueryVariables>): Apollo.UseSuspenseQueryResult<AgentQuery | undefined, Exact<{
5596
+ input: AgentInput;
5597
+ }>>;
5598
+ export type AgentQueryHookResult = ReturnType<typeof useAgentQuery>;
5599
+ export type AgentLazyQueryHookResult = ReturnType<typeof useAgentLazyQuery>;
5600
+ export type AgentSuspenseQueryHookResult = ReturnType<typeof useAgentSuspenseQuery>;
5601
+ export type AgentQueryResult = Apollo.QueryResult<AgentQuery, AgentQueryVariables>;
5602
+ export declare function refetchAgentQuery(variables: AgentQueryVariables): {
5603
+ query: Apollo.DocumentNode;
5604
+ variables: Exact<{
5605
+ input: AgentInput;
5606
+ }>;
5607
+ };
5608
+ export declare const AgentsDocument: Apollo.DocumentNode;
4930
5609
  /**
4931
- * __useCurrentUserQuery__
5610
+ * __useAgentsQuery__
4932
5611
  *
4933
- * To run a query within a React component, call `useCurrentUserQuery` and pass it any options that fit your needs.
4934
- * When your component renders, `useCurrentUserQuery` returns an object from Apollo Client that contains loading, error, and data properties
5612
+ * To run a query within a React component, call `useAgentsQuery` and pass it any options that fit your needs.
5613
+ * When your component renders, `useAgentsQuery` returns an object from Apollo Client that contains loading, error, and data properties
4935
5614
  * you can use to render your UI.
4936
5615
  *
4937
5616
  * @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;
4938
5617
  *
4939
5618
  * @example
4940
- * const { data, loading, error } = useCurrentUserQuery({
5619
+ * const { data, loading, error } = useAgentsQuery({
4941
5620
  * variables: {
5621
+ * input: // value for 'input'
5622
+ * pageInfo: // value for 'pageInfo'
4942
5623
  * },
4943
5624
  * });
4944
5625
  */
4945
- export declare function useCurrentUserQuery(baseOptions?: Apollo.QueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.QueryResult<CurrentUserQuery, Exact<{
4946
- [key: string]: never;
5626
+ export declare function useAgentsQuery(baseOptions: Apollo.QueryHookOptions<AgentsQuery, AgentsQueryVariables> & ({
5627
+ variables: AgentsQueryVariables;
5628
+ skip?: boolean;
5629
+ } | {
5630
+ skip: boolean;
5631
+ })): Apollo.QueryResult<AgentsQuery, Exact<{
5632
+ input: AgentsInput;
5633
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
4947
5634
  }>>;
4948
- export declare function useCurrentUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.LazyQueryResultTuple<CurrentUserQuery, Exact<{
4949
- [key: string]: never;
5635
+ export declare function useAgentsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AgentsQuery, AgentsQueryVariables>): Apollo.LazyQueryResultTuple<AgentsQuery, Exact<{
5636
+ input: AgentsInput;
5637
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
4950
5638
  }>>;
4951
- export declare function useCurrentUserSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>): Apollo.UseSuspenseQueryResult<CurrentUserQuery | undefined, Exact<{
4952
- [key: string]: never;
5639
+ export declare function useAgentsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AgentsQuery, AgentsQueryVariables>): Apollo.UseSuspenseQueryResult<AgentsQuery | undefined, Exact<{
5640
+ input: AgentsInput;
5641
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
4953
5642
  }>>;
4954
- export type CurrentUserQueryHookResult = ReturnType<typeof useCurrentUserQuery>;
4955
- export type CurrentUserLazyQueryHookResult = ReturnType<typeof useCurrentUserLazyQuery>;
4956
- export type CurrentUserSuspenseQueryHookResult = ReturnType<typeof useCurrentUserSuspenseQuery>;
4957
- export type CurrentUserQueryResult = Apollo.QueryResult<CurrentUserQuery, CurrentUserQueryVariables>;
4958
- export declare function refetchCurrentUserQuery(variables?: CurrentUserQueryVariables): {
5643
+ export type AgentsQueryHookResult = ReturnType<typeof useAgentsQuery>;
5644
+ export type AgentsLazyQueryHookResult = ReturnType<typeof useAgentsLazyQuery>;
5645
+ export type AgentsSuspenseQueryHookResult = ReturnType<typeof useAgentsSuspenseQuery>;
5646
+ export type AgentsQueryResult = Apollo.QueryResult<AgentsQuery, AgentsQueryVariables>;
5647
+ export declare function refetchAgentsQuery(variables: AgentsQueryVariables): {
4959
5648
  query: Apollo.DocumentNode;
4960
5649
  variables: Exact<{
4961
- [key: string]: never;
4962
- }> | undefined;
5650
+ input: AgentsInput;
5651
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5652
+ }>;
4963
5653
  };
4964
- export declare const InitWorkspaceDocument: Apollo.DocumentNode;
4965
- export type InitWorkspaceMutationFn = Apollo.MutationFunction<InitWorkspaceMutation, InitWorkspaceMutationVariables>;
5654
+ export declare const AssignConvDocument: Apollo.DocumentNode;
5655
+ export type AssignConvMutationFn = Apollo.MutationFunction<AssignConvMutation, AssignConvMutationVariables>;
4966
5656
  /**
4967
- * __useInitWorkspaceMutation__
5657
+ * __useAssignConvMutation__
4968
5658
  *
4969
- * To run a mutation, you first call `useInitWorkspaceMutation` within a React component and pass it any options that fit your needs.
4970
- * When your component renders, `useInitWorkspaceMutation` returns a tuple that includes:
5659
+ * To run a mutation, you first call `useAssignConvMutation` within a React component and pass it any options that fit your needs.
5660
+ * When your component renders, `useAssignConvMutation` returns a tuple that includes:
4971
5661
  * - A mutate function that you can call at any time to execute the mutation
4972
5662
  * - An object with fields that represent the current status of the mutation's execution
4973
5663
  *
4974
5664
  * @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;
4975
5665
  *
4976
5666
  * @example
4977
- * const [initWorkspaceMutation, { data, loading, error }] = useInitWorkspaceMutation({
5667
+ * const [assignConvMutation, { data, loading, error }] = useAssignConvMutation({
4978
5668
  * variables: {
4979
5669
  * input: // value for 'input'
4980
5670
  * },
4981
5671
  * });
4982
5672
  */
4983
- export declare function useInitWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions<InitWorkspaceMutation, InitWorkspaceMutationVariables>): Apollo.MutationTuple<InitWorkspaceMutation, Exact<{
4984
- input: InputInitWorkspace;
5673
+ export declare function useAssignConvMutation(baseOptions?: Apollo.MutationHookOptions<AssignConvMutation, AssignConvMutationVariables>): Apollo.MutationTuple<AssignConvMutation, Exact<{
5674
+ input: ConvAssignInput;
4985
5675
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
4986
- export type InitWorkspaceMutationHookResult = ReturnType<typeof useInitWorkspaceMutation>;
4987
- export type InitWorkspaceMutationResult = Apollo.MutationResult<InitWorkspaceMutation>;
4988
- export type InitWorkspaceMutationOptions = Apollo.BaseMutationOptions<InitWorkspaceMutation, InitWorkspaceMutationVariables>;
4989
- export declare const MeDocument: Apollo.DocumentNode;
5676
+ export type AssignConvMutationHookResult = ReturnType<typeof useAssignConvMutation>;
5677
+ export type AssignConvMutationResult = Apollo.MutationResult<AssignConvMutation>;
5678
+ export type AssignConvMutationOptions = Apollo.BaseMutationOptions<AssignConvMutation, AssignConvMutationVariables>;
5679
+ export declare const BroadcastDocument: Apollo.DocumentNode;
4990
5680
  /**
4991
- * __useMeQuery__
5681
+ * __useBroadcastQuery__
4992
5682
  *
4993
- * To run a query within a React component, call `useMeQuery` and pass it any options that fit your needs.
4994
- * When your component renders, `useMeQuery` returns an object from Apollo Client that contains loading, error, and data properties
5683
+ * To run a query within a React component, call `useBroadcastQuery` and pass it any options that fit your needs.
5684
+ * When your component renders, `useBroadcastQuery` returns an object from Apollo Client that contains loading, error, and data properties
4995
5685
  * you can use to render your UI.
4996
5686
  *
4997
5687
  * @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;
4998
5688
  *
4999
5689
  * @example
5000
- * const { data, loading, error } = useMeQuery({
5690
+ * const { data, loading, error } = useBroadcastQuery({
5001
5691
  * variables: {
5002
5692
  * input: // value for 'input'
5003
5693
  * },
5004
5694
  * });
5005
5695
  */
5006
- export declare function useMeQuery(baseOptions: Apollo.QueryHookOptions<MeQuery, MeQueryVariables> & ({
5007
- variables: MeQueryVariables;
5696
+ export declare function useBroadcastQuery(baseOptions: Apollo.QueryHookOptions<BroadcastQuery, BroadcastQueryVariables> & ({
5697
+ variables: BroadcastQueryVariables;
5008
5698
  skip?: boolean;
5009
5699
  } | {
5010
5700
  skip: boolean;
5011
- })): Apollo.QueryResult<MeQuery, Exact<{
5012
- input: InputInitWorkspace;
5701
+ })): Apollo.QueryResult<BroadcastQuery, Exact<{
5702
+ input: BroadcastInput;
5013
5703
  }>>;
5014
- export declare function useMeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MeQuery, MeQueryVariables>): Apollo.LazyQueryResultTuple<MeQuery, Exact<{
5015
- input: InputInitWorkspace;
5704
+ export declare function useBroadcastLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastQuery, BroadcastQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastQuery, Exact<{
5705
+ input: BroadcastInput;
5016
5706
  }>>;
5017
- export declare function useMeSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MeQuery, MeQueryVariables>): Apollo.UseSuspenseQueryResult<MeQuery | undefined, Exact<{
5018
- input: InputInitWorkspace;
5707
+ export declare function useBroadcastSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastQuery, BroadcastQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastQuery | undefined, Exact<{
5708
+ input: BroadcastInput;
5019
5709
  }>>;
5020
- export type MeQueryHookResult = ReturnType<typeof useMeQuery>;
5021
- export type MeLazyQueryHookResult = ReturnType<typeof useMeLazyQuery>;
5022
- export type MeSuspenseQueryHookResult = ReturnType<typeof useMeSuspenseQuery>;
5023
- export type MeQueryResult = Apollo.QueryResult<MeQuery, MeQueryVariables>;
5024
- export declare function refetchMeQuery(variables: MeQueryVariables): {
5710
+ export type BroadcastQueryHookResult = ReturnType<typeof useBroadcastQuery>;
5711
+ export type BroadcastLazyQueryHookResult = ReturnType<typeof useBroadcastLazyQuery>;
5712
+ export type BroadcastSuspenseQueryHookResult = ReturnType<typeof useBroadcastSuspenseQuery>;
5713
+ export type BroadcastQueryResult = Apollo.QueryResult<BroadcastQuery, BroadcastQueryVariables>;
5714
+ export declare function refetchBroadcastQuery(variables: BroadcastQueryVariables): {
5025
5715
  query: Apollo.DocumentNode;
5026
5716
  variables: Exact<{
5027
- input: InputInitWorkspace;
5717
+ input: BroadcastInput;
5028
5718
  }>;
5029
5719
  };
5030
- export declare const UsersRolesDocument: Apollo.DocumentNode;
5720
+ export declare const BroadcastDeliveryReportDocument: Apollo.DocumentNode;
5031
5721
  /**
5032
- * __useUsersRolesQuery__
5722
+ * __useBroadcastDeliveryReportQuery__
5033
5723
  *
5034
- * To run a query within a React component, call `useUsersRolesQuery` and pass it any options that fit your needs.
5035
- * When your component renders, `useUsersRolesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5724
+ * To run a query within a React component, call `useBroadcastDeliveryReportQuery` and pass it any options that fit your needs.
5725
+ * When your component renders, `useBroadcastDeliveryReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
5036
5726
  * you can use to render your UI.
5037
5727
  *
5038
5728
  * @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;
5039
5729
  *
5040
5730
  * @example
5041
- * const { data, loading, error } = useUsersRolesQuery({
5731
+ * const { data, loading, error } = useBroadcastDeliveryReportQuery({
5042
5732
  * variables: {
5043
5733
  * input: // value for 'input'
5044
5734
  * },
5045
5735
  * });
5046
5736
  */
5047
- export declare function useUsersRolesQuery(baseOptions: Apollo.QueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables> & ({
5048
- variables: UsersRolesQueryVariables;
5737
+ export declare function useBroadcastDeliveryReportQuery(baseOptions: Apollo.QueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables> & ({
5738
+ variables: BroadcastDeliveryReportQueryVariables;
5049
5739
  skip?: boolean;
5050
5740
  } | {
5051
5741
  skip: boolean;
5052
- })): Apollo.QueryResult<UsersRolesQuery, Exact<{
5053
- input: InputUsersRoles;
5742
+ })): Apollo.QueryResult<BroadcastDeliveryReportQuery, Exact<{
5743
+ input: BroadcastDeliveryReportInput;
5054
5744
  }>>;
5055
- export declare function useUsersRolesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables>): Apollo.LazyQueryResultTuple<UsersRolesQuery, Exact<{
5056
- input: InputUsersRoles;
5745
+ export declare function useBroadcastDeliveryReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastDeliveryReportQuery, Exact<{
5746
+ input: BroadcastDeliveryReportInput;
5057
5747
  }>>;
5058
- export declare function useUsersRolesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<UsersRolesQuery, UsersRolesQueryVariables>): Apollo.UseSuspenseQueryResult<UsersRolesQuery | undefined, Exact<{
5059
- input: InputUsersRoles;
5748
+ export declare function useBroadcastDeliveryReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastDeliveryReportQuery | undefined, Exact<{
5749
+ input: BroadcastDeliveryReportInput;
5060
5750
  }>>;
5061
- export type UsersRolesQueryHookResult = ReturnType<typeof useUsersRolesQuery>;
5062
- export type UsersRolesLazyQueryHookResult = ReturnType<typeof useUsersRolesLazyQuery>;
5063
- export type UsersRolesSuspenseQueryHookResult = ReturnType<typeof useUsersRolesSuspenseQuery>;
5064
- export type UsersRolesQueryResult = Apollo.QueryResult<UsersRolesQuery, UsersRolesQueryVariables>;
5065
- export declare function refetchUsersRolesQuery(variables: UsersRolesQueryVariables): {
5751
+ export type BroadcastDeliveryReportQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportQuery>;
5752
+ export type BroadcastDeliveryReportLazyQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportLazyQuery>;
5753
+ export type BroadcastDeliveryReportSuspenseQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportSuspenseQuery>;
5754
+ export type BroadcastDeliveryReportQueryResult = Apollo.QueryResult<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>;
5755
+ export declare function refetchBroadcastDeliveryReportQuery(variables: BroadcastDeliveryReportQueryVariables): {
5066
5756
  query: Apollo.DocumentNode;
5067
5757
  variables: Exact<{
5068
- input: InputUsersRoles;
5758
+ input: BroadcastDeliveryReportInput;
5069
5759
  }>;
5070
5760
  };
5071
- export declare const AgentsReportDocument: Apollo.DocumentNode;
5761
+ export declare const BroadcastMessageStatusesDocument: Apollo.DocumentNode;
5072
5762
  /**
5073
- * __useAgentsReportQuery__
5763
+ * __useBroadcastMessageStatusesQuery__
5074
5764
  *
5075
- * To run a query within a React component, call `useAgentsReportQuery` and pass it any options that fit your needs.
5076
- * When your component renders, `useAgentsReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
5765
+ * To run a query within a React component, call `useBroadcastMessageStatusesQuery` and pass it any options that fit your needs.
5766
+ * When your component renders, `useBroadcastMessageStatusesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5077
5767
  * you can use to render your UI.
5078
5768
  *
5079
5769
  * @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;
5080
5770
  *
5081
5771
  * @example
5082
- * const { data, loading, error } = useAgentsReportQuery({
5772
+ * const { data, loading, error } = useBroadcastMessageStatusesQuery({
5083
5773
  * variables: {
5084
5774
  * input: // value for 'input'
5775
+ * pageInfo: // value for 'pageInfo'
5085
5776
  * },
5086
5777
  * });
5087
5778
  */
5088
- export declare function useAgentsReportQuery(baseOptions: Apollo.QueryHookOptions<AgentsReportQuery, AgentsReportQueryVariables> & ({
5089
- variables: AgentsReportQueryVariables;
5779
+ export declare function useBroadcastMessageStatusesQuery(baseOptions: Apollo.QueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables> & ({
5780
+ variables: BroadcastMessageStatusesQueryVariables;
5090
5781
  skip?: boolean;
5091
5782
  } | {
5092
5783
  skip: boolean;
5093
- })): Apollo.QueryResult<AgentsReportQuery, Exact<{
5094
- input: AgentsReportInput;
5784
+ })): Apollo.QueryResult<BroadcastMessageStatusesQuery, Exact<{
5785
+ input: BroadcastMessageStatusesInput;
5786
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5095
5787
  }>>;
5096
- export declare function useAgentsReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AgentsReportQuery, AgentsReportQueryVariables>): Apollo.LazyQueryResultTuple<AgentsReportQuery, Exact<{
5097
- input: AgentsReportInput;
5788
+ export declare function useBroadcastMessageStatusesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastMessageStatusesQuery, Exact<{
5789
+ input: BroadcastMessageStatusesInput;
5790
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5098
5791
  }>>;
5099
- export declare function useAgentsReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AgentsReportQuery, AgentsReportQueryVariables>): Apollo.UseSuspenseQueryResult<AgentsReportQuery | undefined, Exact<{
5100
- input: AgentsReportInput;
5792
+ export declare function useBroadcastMessageStatusesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastMessageStatusesQuery | undefined, Exact<{
5793
+ input: BroadcastMessageStatusesInput;
5794
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5101
5795
  }>>;
5102
- export type AgentsReportQueryHookResult = ReturnType<typeof useAgentsReportQuery>;
5103
- export type AgentsReportLazyQueryHookResult = ReturnType<typeof useAgentsReportLazyQuery>;
5104
- export type AgentsReportSuspenseQueryHookResult = ReturnType<typeof useAgentsReportSuspenseQuery>;
5105
- export type AgentsReportQueryResult = Apollo.QueryResult<AgentsReportQuery, AgentsReportQueryVariables>;
5106
- export declare function refetchAgentsReportQuery(variables: AgentsReportQueryVariables): {
5796
+ export type BroadcastMessageStatusesQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesQuery>;
5797
+ export type BroadcastMessageStatusesLazyQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesLazyQuery>;
5798
+ export type BroadcastMessageStatusesSuspenseQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesSuspenseQuery>;
5799
+ export type BroadcastMessageStatusesQueryResult = Apollo.QueryResult<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>;
5800
+ export declare function refetchBroadcastMessageStatusesQuery(variables: BroadcastMessageStatusesQueryVariables): {
5107
5801
  query: Apollo.DocumentNode;
5108
5802
  variables: Exact<{
5109
- input: AgentsReportInput;
5803
+ input: BroadcastMessageStatusesInput;
5804
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5110
5805
  }>;
5111
5806
  };
5112
- export declare const ConvsReportDocument: Apollo.DocumentNode;
5807
+ export declare const BroadcastStateCountsDocument: Apollo.DocumentNode;
5113
5808
  /**
5114
- * __useConvsReportQuery__
5809
+ * __useBroadcastStateCountsQuery__
5115
5810
  *
5116
- * To run a query within a React component, call `useConvsReportQuery` and pass it any options that fit your needs.
5117
- * When your component renders, `useConvsReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
5811
+ * To run a query within a React component, call `useBroadcastStateCountsQuery` and pass it any options that fit your needs.
5812
+ * When your component renders, `useBroadcastStateCountsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5118
5813
  * you can use to render your UI.
5119
5814
  *
5120
5815
  * @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;
5121
5816
  *
5122
5817
  * @example
5123
- * const { data, loading, error } = useConvsReportQuery({
5818
+ * const { data, loading, error } = useBroadcastStateCountsQuery({
5124
5819
  * variables: {
5125
5820
  * input: // value for 'input'
5126
5821
  * },
5127
5822
  * });
5128
5823
  */
5129
- export declare function useConvsReportQuery(baseOptions: Apollo.QueryHookOptions<ConvsReportQuery, ConvsReportQueryVariables> & ({
5130
- variables: ConvsReportQueryVariables;
5824
+ export declare function useBroadcastStateCountsQuery(baseOptions: Apollo.QueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables> & ({
5825
+ variables: BroadcastStateCountsQueryVariables;
5131
5826
  skip?: boolean;
5132
5827
  } | {
5133
5828
  skip: boolean;
5134
- })): Apollo.QueryResult<ConvsReportQuery, Exact<{
5135
- input: ConvsReportInput;
5829
+ })): Apollo.QueryResult<BroadcastStateCountsQuery, Exact<{
5830
+ input: BroadcastsInput;
5136
5831
  }>>;
5137
- export declare function useConvsReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvsReportQuery, ConvsReportQueryVariables>): Apollo.LazyQueryResultTuple<ConvsReportQuery, Exact<{
5138
- input: ConvsReportInput;
5832
+ export declare function useBroadcastStateCountsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastStateCountsQuery, Exact<{
5833
+ input: BroadcastsInput;
5139
5834
  }>>;
5140
- export declare function useConvsReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvsReportQuery, ConvsReportQueryVariables>): Apollo.UseSuspenseQueryResult<ConvsReportQuery | undefined, Exact<{
5141
- input: ConvsReportInput;
5835
+ export declare function useBroadcastStateCountsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastStateCountsQuery | undefined, Exact<{
5836
+ input: BroadcastsInput;
5142
5837
  }>>;
5143
- export type ConvsReportQueryHookResult = ReturnType<typeof useConvsReportQuery>;
5144
- export type ConvsReportLazyQueryHookResult = ReturnType<typeof useConvsReportLazyQuery>;
5145
- export type ConvsReportSuspenseQueryHookResult = ReturnType<typeof useConvsReportSuspenseQuery>;
5146
- export type ConvsReportQueryResult = Apollo.QueryResult<ConvsReportQuery, ConvsReportQueryVariables>;
5147
- export declare function refetchConvsReportQuery(variables: ConvsReportQueryVariables): {
5838
+ export type BroadcastStateCountsQueryHookResult = ReturnType<typeof useBroadcastStateCountsQuery>;
5839
+ export type BroadcastStateCountsLazyQueryHookResult = ReturnType<typeof useBroadcastStateCountsLazyQuery>;
5840
+ export type BroadcastStateCountsSuspenseQueryHookResult = ReturnType<typeof useBroadcastStateCountsSuspenseQuery>;
5841
+ export type BroadcastStateCountsQueryResult = Apollo.QueryResult<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>;
5842
+ export declare function refetchBroadcastStateCountsQuery(variables: BroadcastStateCountsQueryVariables): {
5148
5843
  query: Apollo.DocumentNode;
5149
5844
  variables: Exact<{
5150
- input: ConvsReportInput;
5845
+ input: BroadcastsInput;
5151
5846
  }>;
5152
5847
  };
5153
- export declare const UploadSignatureDocument: Apollo.DocumentNode;
5848
+ export declare const BroadcastsDocument: Apollo.DocumentNode;
5154
5849
  /**
5155
- * __useUploadSignatureQuery__
5850
+ * __useBroadcastsQuery__
5156
5851
  *
5157
- * To run a query within a React component, call `useUploadSignatureQuery` and pass it any options that fit your needs.
5158
- * When your component renders, `useUploadSignatureQuery` returns an object from Apollo Client that contains loading, error, and data properties
5852
+ * To run a query within a React component, call `useBroadcastsQuery` and pass it any options that fit your needs.
5853
+ * When your component renders, `useBroadcastsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5159
5854
  * you can use to render your UI.
5160
5855
  *
5161
5856
  * @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;
5162
5857
  *
5163
5858
  * @example
5164
- * const { data, loading, error } = useUploadSignatureQuery({
5859
+ * const { data, loading, error } = useBroadcastsQuery({
5165
5860
  * variables: {
5166
5861
  * input: // value for 'input'
5862
+ * pageInfo: // value for 'pageInfo'
5167
5863
  * },
5168
5864
  * });
5169
5865
  */
5170
- export declare function useUploadSignatureQuery(baseOptions: Apollo.QueryHookOptions<UploadSignatureQuery, UploadSignatureQueryVariables> & ({
5171
- variables: UploadSignatureQueryVariables;
5866
+ export declare function useBroadcastsQuery(baseOptions: Apollo.QueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables> & ({
5867
+ variables: BroadcastsQueryVariables;
5172
5868
  skip?: boolean;
5173
5869
  } | {
5174
5870
  skip: boolean;
5175
- })): Apollo.QueryResult<UploadSignatureQuery, Exact<{
5176
- input: InputUploadSignature;
5871
+ })): Apollo.QueryResult<BroadcastsQuery, Exact<{
5872
+ input: BroadcastsInput;
5873
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5177
5874
  }>>;
5178
- export declare function useUploadSignatureLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<UploadSignatureQuery, UploadSignatureQueryVariables>): Apollo.LazyQueryResultTuple<UploadSignatureQuery, Exact<{
5179
- input: InputUploadSignature;
5875
+ export declare function useBroadcastsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastsQuery, Exact<{
5876
+ input: BroadcastsInput;
5877
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5180
5878
  }>>;
5181
- export declare function useUploadSignatureSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<UploadSignatureQuery, UploadSignatureQueryVariables>): Apollo.UseSuspenseQueryResult<UploadSignatureQuery | undefined, Exact<{
5182
- input: InputUploadSignature;
5879
+ export declare function useBroadcastsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastsQuery | undefined, Exact<{
5880
+ input: BroadcastsInput;
5881
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5183
5882
  }>>;
5184
- export type UploadSignatureQueryHookResult = ReturnType<typeof useUploadSignatureQuery>;
5185
- export type UploadSignatureLazyQueryHookResult = ReturnType<typeof useUploadSignatureLazyQuery>;
5186
- export type UploadSignatureSuspenseQueryHookResult = ReturnType<typeof useUploadSignatureSuspenseQuery>;
5187
- export type UploadSignatureQueryResult = Apollo.QueryResult<UploadSignatureQuery, UploadSignatureQueryVariables>;
5188
- export declare function refetchUploadSignatureQuery(variables: UploadSignatureQueryVariables): {
5883
+ export type BroadcastsQueryHookResult = ReturnType<typeof useBroadcastsQuery>;
5884
+ export type BroadcastsLazyQueryHookResult = ReturnType<typeof useBroadcastsLazyQuery>;
5885
+ export type BroadcastsSuspenseQueryHookResult = ReturnType<typeof useBroadcastsSuspenseQuery>;
5886
+ export type BroadcastsQueryResult = Apollo.QueryResult<BroadcastsQuery, BroadcastsQueryVariables>;
5887
+ export declare function refetchBroadcastsQuery(variables: BroadcastsQueryVariables): {
5189
5888
  query: Apollo.DocumentNode;
5190
5889
  variables: Exact<{
5191
- input: InputUploadSignature;
5890
+ input: BroadcastsInput;
5891
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5192
5892
  }>;
5193
5893
  };
5194
- export declare const AddMessageDocument: Apollo.DocumentNode;
5195
- export type AddMessageMutationFn = Apollo.MutationFunction<AddMessageMutation, AddMessageMutationVariables>;
5894
+ export declare const CancelBroadcastDocument: Apollo.DocumentNode;
5895
+ export type CancelBroadcastMutationFn = Apollo.MutationFunction<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
5196
5896
  /**
5197
- * __useAddMessageMutation__
5897
+ * __useCancelBroadcastMutation__
5198
5898
  *
5199
- * To run a mutation, you first call `useAddMessageMutation` within a React component and pass it any options that fit your needs.
5200
- * When your component renders, `useAddMessageMutation` returns a tuple that includes:
5899
+ * To run a mutation, you first call `useCancelBroadcastMutation` within a React component and pass it any options that fit your needs.
5900
+ * When your component renders, `useCancelBroadcastMutation` returns a tuple that includes:
5201
5901
  * - A mutate function that you can call at any time to execute the mutation
5202
5902
  * - An object with fields that represent the current status of the mutation's execution
5203
5903
  *
5204
5904
  * @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;
5205
5905
  *
5206
5906
  * @example
5207
- * const [addMessageMutation, { data, loading, error }] = useAddMessageMutation({
5907
+ * const [cancelBroadcastMutation, { data, loading, error }] = useCancelBroadcastMutation({
5208
5908
  * variables: {
5209
5909
  * input: // value for 'input'
5210
5910
  * },
5211
5911
  * });
5212
5912
  */
5213
- export declare function useAddMessageMutation(baseOptions?: Apollo.MutationHookOptions<AddMessageMutation, AddMessageMutationVariables>): Apollo.MutationTuple<AddMessageMutation, Exact<{
5214
- input: MessageInput;
5913
+ export declare function useCancelBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>): Apollo.MutationTuple<CancelBroadcastMutation, Exact<{
5914
+ input: BroadcastCancelInput;
5215
5915
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5216
- export type AddMessageMutationHookResult = ReturnType<typeof useAddMessageMutation>;
5217
- export type AddMessageMutationResult = Apollo.MutationResult<AddMessageMutation>;
5218
- export type AddMessageMutationOptions = Apollo.BaseMutationOptions<AddMessageMutation, AddMessageMutationVariables>;
5219
- export declare const AgentDocument: Apollo.DocumentNode;
5916
+ export type CancelBroadcastMutationHookResult = ReturnType<typeof useCancelBroadcastMutation>;
5917
+ export type CancelBroadcastMutationResult = Apollo.MutationResult<CancelBroadcastMutation>;
5918
+ export type CancelBroadcastMutationOptions = Apollo.BaseMutationOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
5919
+ export declare const ConvsDocument: Apollo.DocumentNode;
5220
5920
  /**
5221
- * __useAgentQuery__
5921
+ * __useConvsQuery__
5222
5922
  *
5223
- * To run a query within a React component, call `useAgentQuery` and pass it any options that fit your needs.
5224
- * When your component renders, `useAgentQuery` returns an object from Apollo Client that contains loading, error, and data properties
5923
+ * To run a query within a React component, call `useConvsQuery` and pass it any options that fit your needs.
5924
+ * When your component renders, `useConvsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5225
5925
  * you can use to render your UI.
5226
5926
  *
5227
5927
  * @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;
5228
5928
  *
5229
5929
  * @example
5230
- * const { data, loading, error } = useAgentQuery({
5930
+ * const { data, loading, error } = useConvsQuery({
5231
5931
  * variables: {
5232
5932
  * input: // value for 'input'
5933
+ * pageInfo: // value for 'pageInfo'
5233
5934
  * },
5234
5935
  * });
5235
5936
  */
5236
- export declare function useAgentQuery(baseOptions: Apollo.QueryHookOptions<AgentQuery, AgentQueryVariables> & ({
5237
- variables: AgentQueryVariables;
5937
+ export declare function useConvsQuery(baseOptions: Apollo.QueryHookOptions<ConvsQuery, ConvsQueryVariables> & ({
5938
+ variables: ConvsQueryVariables;
5238
5939
  skip?: boolean;
5239
5940
  } | {
5240
5941
  skip: boolean;
5241
- })): Apollo.QueryResult<AgentQuery, Exact<{
5242
- input: AgentInput;
5942
+ })): Apollo.QueryResult<ConvsQuery, Exact<{
5943
+ input: ConvsInput;
5944
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5243
5945
  }>>;
5244
- export declare function useAgentLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AgentQuery, AgentQueryVariables>): Apollo.LazyQueryResultTuple<AgentQuery, Exact<{
5245
- input: AgentInput;
5946
+ export declare function useConvsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvsQuery, ConvsQueryVariables>): Apollo.LazyQueryResultTuple<ConvsQuery, Exact<{
5947
+ input: ConvsInput;
5948
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5246
5949
  }>>;
5247
- export declare function useAgentSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AgentQuery, AgentQueryVariables>): Apollo.UseSuspenseQueryResult<AgentQuery | undefined, Exact<{
5248
- input: AgentInput;
5950
+ export declare function useConvsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvsQuery, ConvsQueryVariables>): Apollo.UseSuspenseQueryResult<ConvsQuery | undefined, Exact<{
5951
+ input: ConvsInput;
5952
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5249
5953
  }>>;
5250
- export type AgentQueryHookResult = ReturnType<typeof useAgentQuery>;
5251
- export type AgentLazyQueryHookResult = ReturnType<typeof useAgentLazyQuery>;
5252
- export type AgentSuspenseQueryHookResult = ReturnType<typeof useAgentSuspenseQuery>;
5253
- export type AgentQueryResult = Apollo.QueryResult<AgentQuery, AgentQueryVariables>;
5254
- export declare function refetchAgentQuery(variables: AgentQueryVariables): {
5954
+ export type ConvsQueryHookResult = ReturnType<typeof useConvsQuery>;
5955
+ export type ConvsLazyQueryHookResult = ReturnType<typeof useConvsLazyQuery>;
5956
+ export type ConvsSuspenseQueryHookResult = ReturnType<typeof useConvsSuspenseQuery>;
5957
+ export type ConvsQueryResult = Apollo.QueryResult<ConvsQuery, ConvsQueryVariables>;
5958
+ export declare function refetchConvsQuery(variables: ConvsQueryVariables): {
5255
5959
  query: Apollo.DocumentNode;
5256
5960
  variables: Exact<{
5257
- input: AgentInput;
5961
+ input: ConvsInput;
5962
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
5258
5963
  }>;
5259
5964
  };
5260
- export declare const AgentsDocument: Apollo.DocumentNode;
5965
+ export declare const CreateAgentDocument: Apollo.DocumentNode;
5966
+ export type CreateAgentMutationFn = Apollo.MutationFunction<CreateAgentMutation, CreateAgentMutationVariables>;
5261
5967
  /**
5262
- * __useAgentsQuery__
5968
+ * __useCreateAgentMutation__
5263
5969
  *
5264
- * To run a query within a React component, call `useAgentsQuery` and pass it any options that fit your needs.
5265
- * When your component renders, `useAgentsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5266
- * you can use to render your UI.
5970
+ * To run a mutation, you first call `useCreateAgentMutation` within a React component and pass it any options that fit your needs.
5971
+ * When your component renders, `useCreateAgentMutation` returns a tuple that includes:
5972
+ * - A mutate function that you can call at any time to execute the mutation
5973
+ * - An object with fields that represent the current status of the mutation's execution
5267
5974
  *
5268
- * @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;
5975
+ * @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;
5269
5976
  *
5270
5977
  * @example
5271
- * const { data, loading, error } = useAgentsQuery({
5978
+ * const [createAgentMutation, { data, loading, error }] = useCreateAgentMutation({
5272
5979
  * variables: {
5273
5980
  * input: // value for 'input'
5274
- * pageInfo: // value for 'pageInfo'
5275
5981
  * },
5276
5982
  * });
5277
5983
  */
5278
- export declare function useAgentsQuery(baseOptions: Apollo.QueryHookOptions<AgentsQuery, AgentsQueryVariables> & ({
5279
- variables: AgentsQueryVariables;
5280
- skip?: boolean;
5281
- } | {
5282
- skip: boolean;
5283
- })): Apollo.QueryResult<AgentsQuery, Exact<{
5284
- input: AgentsInput;
5285
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5286
- }>>;
5287
- export declare function useAgentsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<AgentsQuery, AgentsQueryVariables>): Apollo.LazyQueryResultTuple<AgentsQuery, Exact<{
5288
- input: AgentsInput;
5289
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5290
- }>>;
5291
- export declare function useAgentsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<AgentsQuery, AgentsQueryVariables>): Apollo.UseSuspenseQueryResult<AgentsQuery | undefined, Exact<{
5292
- input: AgentsInput;
5293
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5294
- }>>;
5295
- export type AgentsQueryHookResult = ReturnType<typeof useAgentsQuery>;
5296
- export type AgentsLazyQueryHookResult = ReturnType<typeof useAgentsLazyQuery>;
5297
- export type AgentsSuspenseQueryHookResult = ReturnType<typeof useAgentsSuspenseQuery>;
5298
- export type AgentsQueryResult = Apollo.QueryResult<AgentsQuery, AgentsQueryVariables>;
5299
- export declare function refetchAgentsQuery(variables: AgentsQueryVariables): {
5300
- query: Apollo.DocumentNode;
5301
- variables: Exact<{
5302
- input: AgentsInput;
5303
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5304
- }>;
5305
- };
5306
- export declare const AssignConvDocument: Apollo.DocumentNode;
5307
- export type AssignConvMutationFn = Apollo.MutationFunction<AssignConvMutation, AssignConvMutationVariables>;
5984
+ export declare function useCreateAgentMutation(baseOptions?: Apollo.MutationHookOptions<CreateAgentMutation, CreateAgentMutationVariables>): Apollo.MutationTuple<CreateAgentMutation, Exact<{
5985
+ input: AgentCreateInput;
5986
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5987
+ export type CreateAgentMutationHookResult = ReturnType<typeof useCreateAgentMutation>;
5988
+ export type CreateAgentMutationResult = Apollo.MutationResult<CreateAgentMutation>;
5989
+ export type CreateAgentMutationOptions = Apollo.BaseMutationOptions<CreateAgentMutation, CreateAgentMutationVariables>;
5990
+ export declare const CreateBroadcastDocument: Apollo.DocumentNode;
5991
+ export type CreateBroadcastMutationFn = Apollo.MutationFunction<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
5308
5992
  /**
5309
- * __useAssignConvMutation__
5993
+ * __useCreateBroadcastMutation__
5310
5994
  *
5311
- * To run a mutation, you first call `useAssignConvMutation` within a React component and pass it any options that fit your needs.
5312
- * When your component renders, `useAssignConvMutation` returns a tuple that includes:
5995
+ * To run a mutation, you first call `useCreateBroadcastMutation` within a React component and pass it any options that fit your needs.
5996
+ * When your component renders, `useCreateBroadcastMutation` returns a tuple that includes:
5997
+ * - A mutate function that you can call at any time to execute the mutation
5998
+ * - An object with fields that represent the current status of the mutation's execution
5999
+ *
6000
+ * @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;
6001
+ *
6002
+ * @example
6003
+ * const [createBroadcastMutation, { data, loading, error }] = useCreateBroadcastMutation({
6004
+ * variables: {
6005
+ * input: // value for 'input'
6006
+ * },
6007
+ * });
6008
+ */
6009
+ export declare function useCreateBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>): Apollo.MutationTuple<CreateBroadcastMutation, Exact<{
6010
+ input: BroadcastCreateInput;
6011
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6012
+ export type CreateBroadcastMutationHookResult = ReturnType<typeof useCreateBroadcastMutation>;
6013
+ export type CreateBroadcastMutationResult = Apollo.MutationResult<CreateBroadcastMutation>;
6014
+ export type CreateBroadcastMutationOptions = Apollo.BaseMutationOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
6015
+ export declare const DeleteAgentDocument: Apollo.DocumentNode;
6016
+ export type DeleteAgentMutationFn = Apollo.MutationFunction<DeleteAgentMutation, DeleteAgentMutationVariables>;
6017
+ /**
6018
+ * __useDeleteAgentMutation__
6019
+ *
6020
+ * To run a mutation, you first call `useDeleteAgentMutation` within a React component and pass it any options that fit your needs.
6021
+ * When your component renders, `useDeleteAgentMutation` returns a tuple that includes:
5313
6022
  * - A mutate function that you can call at any time to execute the mutation
5314
6023
  * - An object with fields that represent the current status of the mutation's execution
5315
6024
  *
5316
6025
  * @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;
5317
6026
  *
5318
6027
  * @example
5319
- * const [assignConvMutation, { data, loading, error }] = useAssignConvMutation({
6028
+ * const [deleteAgentMutation, { data, loading, error }] = useDeleteAgentMutation({
5320
6029
  * variables: {
5321
6030
  * input: // value for 'input'
5322
6031
  * },
5323
6032
  * });
5324
6033
  */
5325
- export declare function useAssignConvMutation(baseOptions?: Apollo.MutationHookOptions<AssignConvMutation, AssignConvMutationVariables>): Apollo.MutationTuple<AssignConvMutation, Exact<{
5326
- input: ConvAssignInput;
6034
+ export declare function useDeleteAgentMutation(baseOptions?: Apollo.MutationHookOptions<DeleteAgentMutation, DeleteAgentMutationVariables>): Apollo.MutationTuple<DeleteAgentMutation, Exact<{
6035
+ input: AgentInput;
5327
6036
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5328
- export type AssignConvMutationHookResult = ReturnType<typeof useAssignConvMutation>;
5329
- export type AssignConvMutationResult = Apollo.MutationResult<AssignConvMutation>;
5330
- export type AssignConvMutationOptions = Apollo.BaseMutationOptions<AssignConvMutation, AssignConvMutationVariables>;
5331
- export declare const BroadcastDocument: Apollo.DocumentNode;
6037
+ export type DeleteAgentMutationHookResult = ReturnType<typeof useDeleteAgentMutation>;
6038
+ export type DeleteAgentMutationResult = Apollo.MutationResult<DeleteAgentMutation>;
6039
+ export type DeleteAgentMutationOptions = Apollo.BaseMutationOptions<DeleteAgentMutation, DeleteAgentMutationVariables>;
6040
+ export declare const DeleteBroadcastDocument: Apollo.DocumentNode;
6041
+ export type DeleteBroadcastMutationFn = Apollo.MutationFunction<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
5332
6042
  /**
5333
- * __useBroadcastQuery__
6043
+ * __useDeleteBroadcastMutation__
5334
6044
  *
5335
- * To run a query within a React component, call `useBroadcastQuery` and pass it any options that fit your needs.
5336
- * When your component renders, `useBroadcastQuery` returns an object from Apollo Client that contains loading, error, and data properties
5337
- * you can use to render your UI.
6045
+ * To run a mutation, you first call `useDeleteBroadcastMutation` within a React component and pass it any options that fit your needs.
6046
+ * When your component renders, `useDeleteBroadcastMutation` returns a tuple that includes:
6047
+ * - A mutate function that you can call at any time to execute the mutation
6048
+ * - An object with fields that represent the current status of the mutation's execution
5338
6049
  *
5339
- * @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
+ * @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;
5340
6051
  *
5341
6052
  * @example
5342
- * const { data, loading, error } = useBroadcastQuery({
6053
+ * const [deleteBroadcastMutation, { data, loading, error }] = useDeleteBroadcastMutation({
5343
6054
  * variables: {
5344
6055
  * input: // value for 'input'
5345
6056
  * },
5346
6057
  * });
5347
6058
  */
5348
- export declare function useBroadcastQuery(baseOptions: Apollo.QueryHookOptions<BroadcastQuery, BroadcastQueryVariables> & ({
5349
- variables: BroadcastQueryVariables;
5350
- skip?: boolean;
5351
- } | {
5352
- skip: boolean;
5353
- })): Apollo.QueryResult<BroadcastQuery, Exact<{
5354
- input: BroadcastInput;
5355
- }>>;
5356
- export declare function useBroadcastLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastQuery, BroadcastQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastQuery, Exact<{
5357
- input: BroadcastInput;
5358
- }>>;
5359
- export declare function useBroadcastSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastQuery, BroadcastQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastQuery | undefined, Exact<{
5360
- input: BroadcastInput;
5361
- }>>;
5362
- export type BroadcastQueryHookResult = ReturnType<typeof useBroadcastQuery>;
5363
- export type BroadcastLazyQueryHookResult = ReturnType<typeof useBroadcastLazyQuery>;
5364
- export type BroadcastSuspenseQueryHookResult = ReturnType<typeof useBroadcastSuspenseQuery>;
5365
- export type BroadcastQueryResult = Apollo.QueryResult<BroadcastQuery, BroadcastQueryVariables>;
5366
- export declare function refetchBroadcastQuery(variables: BroadcastQueryVariables): {
5367
- query: Apollo.DocumentNode;
5368
- variables: Exact<{
5369
- input: BroadcastInput;
5370
- }>;
5371
- };
5372
- export declare const BroadcastDeliveryReportDocument: Apollo.DocumentNode;
6059
+ export declare function useDeleteBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>): Apollo.MutationTuple<DeleteBroadcastMutation, Exact<{
6060
+ input: BroadcastDeleteInput;
6061
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6062
+ export type DeleteBroadcastMutationHookResult = ReturnType<typeof useDeleteBroadcastMutation>;
6063
+ export type DeleteBroadcastMutationResult = Apollo.MutationResult<DeleteBroadcastMutation>;
6064
+ export type DeleteBroadcastMutationOptions = Apollo.BaseMutationOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
6065
+ export declare const EndConvDocument: Apollo.DocumentNode;
6066
+ export type EndConvMutationFn = Apollo.MutationFunction<EndConvMutation, EndConvMutationVariables>;
5373
6067
  /**
5374
- * __useBroadcastDeliveryReportQuery__
6068
+ * __useEndConvMutation__
5375
6069
  *
5376
- * To run a query within a React component, call `useBroadcastDeliveryReportQuery` and pass it any options that fit your needs.
5377
- * When your component renders, `useBroadcastDeliveryReportQuery` returns an object from Apollo Client that contains loading, error, and data properties
5378
- * you can use to render your UI.
6070
+ * To run a mutation, you first call `useEndConvMutation` within a React component and pass it any options that fit your needs.
6071
+ * When your component renders, `useEndConvMutation` returns a tuple that includes:
6072
+ * - A mutate function that you can call at any time to execute the mutation
6073
+ * - An object with fields that represent the current status of the mutation's execution
5379
6074
  *
5380
- * @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;
6075
+ * @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;
5381
6076
  *
5382
6077
  * @example
5383
- * const { data, loading, error } = useBroadcastDeliveryReportQuery({
6078
+ * const [endConvMutation, { data, loading, error }] = useEndConvMutation({
5384
6079
  * variables: {
5385
6080
  * input: // value for 'input'
5386
6081
  * },
5387
6082
  * });
5388
6083
  */
5389
- export declare function useBroadcastDeliveryReportQuery(baseOptions: Apollo.QueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables> & ({
5390
- variables: BroadcastDeliveryReportQueryVariables;
5391
- skip?: boolean;
5392
- } | {
5393
- skip: boolean;
5394
- })): Apollo.QueryResult<BroadcastDeliveryReportQuery, Exact<{
5395
- input: BroadcastDeliveryReportInput;
5396
- }>>;
5397
- export declare function useBroadcastDeliveryReportLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastDeliveryReportQuery, Exact<{
5398
- input: BroadcastDeliveryReportInput;
5399
- }>>;
5400
- export declare function useBroadcastDeliveryReportSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastDeliveryReportQuery | undefined, Exact<{
5401
- input: BroadcastDeliveryReportInput;
5402
- }>>;
5403
- export type BroadcastDeliveryReportQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportQuery>;
5404
- export type BroadcastDeliveryReportLazyQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportLazyQuery>;
5405
- export type BroadcastDeliveryReportSuspenseQueryHookResult = ReturnType<typeof useBroadcastDeliveryReportSuspenseQuery>;
5406
- export type BroadcastDeliveryReportQueryResult = Apollo.QueryResult<BroadcastDeliveryReportQuery, BroadcastDeliveryReportQueryVariables>;
5407
- export declare function refetchBroadcastDeliveryReportQuery(variables: BroadcastDeliveryReportQueryVariables): {
5408
- query: Apollo.DocumentNode;
5409
- variables: Exact<{
5410
- input: BroadcastDeliveryReportInput;
5411
- }>;
5412
- };
5413
- export declare const BroadcastMessageStatusesDocument: Apollo.DocumentNode;
6084
+ export declare function useEndConvMutation(baseOptions?: Apollo.MutationHookOptions<EndConvMutation, EndConvMutationVariables>): Apollo.MutationTuple<EndConvMutation, Exact<{
6085
+ input: ConvEndInput;
6086
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6087
+ export type EndConvMutationHookResult = ReturnType<typeof useEndConvMutation>;
6088
+ export type EndConvMutationResult = Apollo.MutationResult<EndConvMutation>;
6089
+ export type EndConvMutationOptions = Apollo.BaseMutationOptions<EndConvMutation, EndConvMutationVariables>;
6090
+ export declare const HandoverConvDocument: Apollo.DocumentNode;
6091
+ export type HandoverConvMutationFn = Apollo.MutationFunction<HandoverConvMutation, HandoverConvMutationVariables>;
5414
6092
  /**
5415
- * __useBroadcastMessageStatusesQuery__
6093
+ * __useHandoverConvMutation__
5416
6094
  *
5417
- * To run a query within a React component, call `useBroadcastMessageStatusesQuery` and pass it any options that fit your needs.
5418
- * When your component renders, `useBroadcastMessageStatusesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5419
- * you can use to render your UI.
6095
+ * To run a mutation, you first call `useHandoverConvMutation` within a React component and pass it any options that fit your needs.
6096
+ * When your component renders, `useHandoverConvMutation` returns a tuple that includes:
6097
+ * - A mutate function that you can call at any time to execute the mutation
6098
+ * - An object with fields that represent the current status of the mutation's execution
5420
6099
  *
5421
- * @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;
6100
+ * @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;
5422
6101
  *
5423
6102
  * @example
5424
- * const { data, loading, error } = useBroadcastMessageStatusesQuery({
6103
+ * const [handoverConvMutation, { data, loading, error }] = useHandoverConvMutation({
5425
6104
  * variables: {
5426
6105
  * input: // value for 'input'
5427
- * pageInfo: // value for 'pageInfo'
5428
6106
  * },
5429
6107
  * });
5430
6108
  */
5431
- export declare function useBroadcastMessageStatusesQuery(baseOptions: Apollo.QueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables> & ({
5432
- variables: BroadcastMessageStatusesQueryVariables;
5433
- skip?: boolean;
5434
- } | {
5435
- skip: boolean;
5436
- })): Apollo.QueryResult<BroadcastMessageStatusesQuery, Exact<{
5437
- input: BroadcastMessageStatusesInput;
5438
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5439
- }>>;
5440
- export declare function useBroadcastMessageStatusesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastMessageStatusesQuery, Exact<{
5441
- input: BroadcastMessageStatusesInput;
5442
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5443
- }>>;
5444
- export declare function useBroadcastMessageStatusesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastMessageStatusesQuery | undefined, Exact<{
5445
- input: BroadcastMessageStatusesInput;
5446
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5447
- }>>;
5448
- export type BroadcastMessageStatusesQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesQuery>;
5449
- export type BroadcastMessageStatusesLazyQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesLazyQuery>;
5450
- export type BroadcastMessageStatusesSuspenseQueryHookResult = ReturnType<typeof useBroadcastMessageStatusesSuspenseQuery>;
5451
- export type BroadcastMessageStatusesQueryResult = Apollo.QueryResult<BroadcastMessageStatusesQuery, BroadcastMessageStatusesQueryVariables>;
5452
- export declare function refetchBroadcastMessageStatusesQuery(variables: BroadcastMessageStatusesQueryVariables): {
5453
- query: Apollo.DocumentNode;
5454
- variables: Exact<{
5455
- input: BroadcastMessageStatusesInput;
5456
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5457
- }>;
5458
- };
5459
- export declare const BroadcastStateCountsDocument: Apollo.DocumentNode;
6109
+ export declare function useHandoverConvMutation(baseOptions?: Apollo.MutationHookOptions<HandoverConvMutation, HandoverConvMutationVariables>): Apollo.MutationTuple<HandoverConvMutation, Exact<{
6110
+ input: ConvHandoverInput;
6111
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6112
+ export type HandoverConvMutationHookResult = ReturnType<typeof useHandoverConvMutation>;
6113
+ export type HandoverConvMutationResult = Apollo.MutationResult<HandoverConvMutation>;
6114
+ export type HandoverConvMutationOptions = Apollo.BaseMutationOptions<HandoverConvMutation, HandoverConvMutationVariables>;
6115
+ export declare const LaunchBroadcastDocument: Apollo.DocumentNode;
6116
+ export type LaunchBroadcastMutationFn = Apollo.MutationFunction<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
5460
6117
  /**
5461
- * __useBroadcastStateCountsQuery__
6118
+ * __useLaunchBroadcastMutation__
5462
6119
  *
5463
- * To run a query within a React component, call `useBroadcastStateCountsQuery` and pass it any options that fit your needs.
5464
- * When your component renders, `useBroadcastStateCountsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5465
- * you can use to render your UI.
6120
+ * To run a mutation, you first call `useLaunchBroadcastMutation` within a React component and pass it any options that fit your needs.
6121
+ * When your component renders, `useLaunchBroadcastMutation` returns a tuple that includes:
6122
+ * - A mutate function that you can call at any time to execute the mutation
6123
+ * - An object with fields that represent the current status of the mutation's execution
5466
6124
  *
5467
- * @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;
6125
+ * @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;
5468
6126
  *
5469
6127
  * @example
5470
- * const { data, loading, error } = useBroadcastStateCountsQuery({
6128
+ * const [launchBroadcastMutation, { data, loading, error }] = useLaunchBroadcastMutation({
5471
6129
  * variables: {
5472
6130
  * input: // value for 'input'
5473
6131
  * },
5474
6132
  * });
5475
6133
  */
5476
- export declare function useBroadcastStateCountsQuery(baseOptions: Apollo.QueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables> & ({
5477
- variables: BroadcastStateCountsQueryVariables;
5478
- skip?: boolean;
5479
- } | {
5480
- skip: boolean;
5481
- })): Apollo.QueryResult<BroadcastStateCountsQuery, Exact<{
5482
- input: BroadcastsInput;
5483
- }>>;
5484
- export declare function useBroadcastStateCountsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastStateCountsQuery, Exact<{
5485
- input: BroadcastsInput;
5486
- }>>;
5487
- export declare function useBroadcastStateCountsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastStateCountsQuery | undefined, Exact<{
5488
- input: BroadcastsInput;
5489
- }>>;
5490
- export type BroadcastStateCountsQueryHookResult = ReturnType<typeof useBroadcastStateCountsQuery>;
5491
- export type BroadcastStateCountsLazyQueryHookResult = ReturnType<typeof useBroadcastStateCountsLazyQuery>;
5492
- export type BroadcastStateCountsSuspenseQueryHookResult = ReturnType<typeof useBroadcastStateCountsSuspenseQuery>;
5493
- export type BroadcastStateCountsQueryResult = Apollo.QueryResult<BroadcastStateCountsQuery, BroadcastStateCountsQueryVariables>;
5494
- export declare function refetchBroadcastStateCountsQuery(variables: BroadcastStateCountsQueryVariables): {
5495
- query: Apollo.DocumentNode;
5496
- variables: Exact<{
5497
- input: BroadcastsInput;
5498
- }>;
5499
- };
5500
- export declare const BroadcastsDocument: Apollo.DocumentNode;
6134
+ export declare function useLaunchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>): Apollo.MutationTuple<LaunchBroadcastMutation, Exact<{
6135
+ input: BroadcastLaunchInput;
6136
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6137
+ export type LaunchBroadcastMutationHookResult = ReturnType<typeof useLaunchBroadcastMutation>;
6138
+ export type LaunchBroadcastMutationResult = Apollo.MutationResult<LaunchBroadcastMutation>;
6139
+ export type LaunchBroadcastMutationOptions = Apollo.BaseMutationOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
6140
+ export declare const MessagesDocument: Apollo.DocumentNode;
5501
6141
  /**
5502
- * __useBroadcastsQuery__
6142
+ * __useMessagesQuery__
5503
6143
  *
5504
- * To run a query within a React component, call `useBroadcastsQuery` and pass it any options that fit your needs.
5505
- * When your component renders, `useBroadcastsQuery` returns an object from Apollo Client that contains loading, error, and data properties
6144
+ * To run a query within a React component, call `useMessagesQuery` and pass it any options that fit your needs.
6145
+ * When your component renders, `useMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties
5506
6146
  * you can use to render your UI.
5507
6147
  *
5508
6148
  * @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;
5509
6149
  *
5510
6150
  * @example
5511
- * const { data, loading, error } = useBroadcastsQuery({
6151
+ * const { data, loading, error } = useMessagesQuery({
5512
6152
  * variables: {
5513
6153
  * input: // value for 'input'
5514
6154
  * pageInfo: // value for 'pageInfo'
5515
6155
  * },
5516
6156
  * });
5517
6157
  */
5518
- export declare function useBroadcastsQuery(baseOptions: Apollo.QueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables> & ({
5519
- variables: BroadcastsQueryVariables;
6158
+ export declare function useMessagesQuery(baseOptions: Apollo.QueryHookOptions<MessagesQuery, MessagesQueryVariables> & ({
6159
+ variables: MessagesQueryVariables;
5520
6160
  skip?: boolean;
5521
6161
  } | {
5522
6162
  skip: boolean;
5523
- })): Apollo.QueryResult<BroadcastsQuery, Exact<{
5524
- input: BroadcastsInput;
6163
+ })): Apollo.QueryResult<MessagesQuery, Exact<{
6164
+ input: MessagesInput;
5525
6165
  pageInfo?: InputMaybe<PageInfoInput> | undefined;
5526
6166
  }>>;
5527
- export declare function useBroadcastsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables>): Apollo.LazyQueryResultTuple<BroadcastsQuery, Exact<{
5528
- input: BroadcastsInput;
6167
+ export declare function useMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MessagesQuery, MessagesQueryVariables>): Apollo.LazyQueryResultTuple<MessagesQuery, Exact<{
6168
+ input: MessagesInput;
5529
6169
  pageInfo?: InputMaybe<PageInfoInput> | undefined;
5530
6170
  }>>;
5531
- export declare function useBroadcastsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BroadcastsQuery, BroadcastsQueryVariables>): Apollo.UseSuspenseQueryResult<BroadcastsQuery | undefined, Exact<{
5532
- input: BroadcastsInput;
6171
+ export declare function useMessagesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MessagesQuery, MessagesQueryVariables>): Apollo.UseSuspenseQueryResult<MessagesQuery | undefined, Exact<{
6172
+ input: MessagesInput;
5533
6173
  pageInfo?: InputMaybe<PageInfoInput> | undefined;
5534
6174
  }>>;
5535
- export type BroadcastsQueryHookResult = ReturnType<typeof useBroadcastsQuery>;
5536
- export type BroadcastsLazyQueryHookResult = ReturnType<typeof useBroadcastsLazyQuery>;
5537
- export type BroadcastsSuspenseQueryHookResult = ReturnType<typeof useBroadcastsSuspenseQuery>;
5538
- export type BroadcastsQueryResult = Apollo.QueryResult<BroadcastsQuery, BroadcastsQueryVariables>;
5539
- export declare function refetchBroadcastsQuery(variables: BroadcastsQueryVariables): {
5540
- query: Apollo.DocumentNode;
5541
- variables: Exact<{
5542
- input: BroadcastsInput;
5543
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5544
- }>;
5545
- };
5546
- export declare const BulkImportContactsDocument: Apollo.DocumentNode;
5547
- export type BulkImportContactsMutationFn = Apollo.MutationFunction<BulkImportContactsMutation, BulkImportContactsMutationVariables>;
5548
- /**
5549
- * __useBulkImportContactsMutation__
5550
- *
5551
- * To run a mutation, you first call `useBulkImportContactsMutation` within a React component and pass it any options that fit your needs.
5552
- * When your component renders, `useBulkImportContactsMutation` returns a tuple that includes:
5553
- * - A mutate function that you can call at any time to execute the mutation
5554
- * - An object with fields that represent the current status of the mutation's execution
5555
- *
5556
- * @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
- *
5558
- * @example
5559
- * const [bulkImportContactsMutation, { data, loading, error }] = useBulkImportContactsMutation({
5560
- * variables: {
5561
- * input: // value for 'input'
5562
- * },
5563
- * });
5564
- */
5565
- export declare function useBulkImportContactsMutation(baseOptions?: Apollo.MutationHookOptions<BulkImportContactsMutation, BulkImportContactsMutationVariables>): Apollo.MutationTuple<BulkImportContactsMutation, Exact<{
5566
- input: BulkImportContactsInput;
5567
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5568
- export type BulkImportContactsMutationHookResult = ReturnType<typeof useBulkImportContactsMutation>;
5569
- export type BulkImportContactsMutationResult = Apollo.MutationResult<BulkImportContactsMutation>;
5570
- export type BulkImportContactsMutationOptions = Apollo.BaseMutationOptions<BulkImportContactsMutation, BulkImportContactsMutationVariables>;
5571
- export declare const BulkImportContactsJobStatusDocument: Apollo.DocumentNode;
6175
+ export type MessagesQueryHookResult = ReturnType<typeof useMessagesQuery>;
6176
+ export type MessagesLazyQueryHookResult = ReturnType<typeof useMessagesLazyQuery>;
6177
+ export type MessagesSuspenseQueryHookResult = ReturnType<typeof useMessagesSuspenseQuery>;
6178
+ export type MessagesQueryResult = Apollo.QueryResult<MessagesQuery, MessagesQueryVariables>;
6179
+ export declare function refetchMessagesQuery(variables: MessagesQueryVariables): {
6180
+ query: Apollo.DocumentNode;
6181
+ variables: Exact<{
6182
+ input: MessagesInput;
6183
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6184
+ }>;
6185
+ };
6186
+ export declare const OpenConversationsNeedResponseCountDocument: Apollo.DocumentNode;
5572
6187
  /**
5573
- * __useBulkImportContactsJobStatusQuery__
6188
+ * __useOpenConversationsNeedResponseCountQuery__
5574
6189
  *
5575
- * To run a query within a React component, call `useBulkImportContactsJobStatusQuery` and pass it any options that fit your needs.
5576
- * When your component renders, `useBulkImportContactsJobStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
6190
+ * To run a query within a React component, call `useOpenConversationsNeedResponseCountQuery` and pass it any options that fit your needs.
6191
+ * When your component renders, `useOpenConversationsNeedResponseCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
5577
6192
  * you can use to render your UI.
5578
6193
  *
5579
6194
  * @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;
5580
6195
  *
5581
6196
  * @example
5582
- * const { data, loading, error } = useBulkImportContactsJobStatusQuery({
6197
+ * const { data, loading, error } = useOpenConversationsNeedResponseCountQuery({
5583
6198
  * variables: {
5584
6199
  * input: // value for 'input'
5585
6200
  * },
5586
6201
  * });
5587
6202
  */
5588
- export declare function useBulkImportContactsJobStatusQuery(baseOptions: Apollo.QueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables> & ({
5589
- variables: BulkImportContactsJobStatusQueryVariables;
6203
+ export declare function useOpenConversationsNeedResponseCountQuery(baseOptions: Apollo.QueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables> & ({
6204
+ variables: OpenConversationsNeedResponseCountQueryVariables;
5590
6205
  skip?: boolean;
5591
6206
  } | {
5592
6207
  skip: boolean;
5593
- })): Apollo.QueryResult<BulkImportContactsJobStatusQuery, Exact<{
5594
- input: BulkImportContactsJobStatusInput;
6208
+ })): Apollo.QueryResult<OpenConversationsNeedResponseCountQuery, Exact<{
6209
+ input: OpenConversationsNeedResponseInput;
5595
6210
  }>>;
5596
- export declare function useBulkImportContactsJobStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>): Apollo.LazyQueryResultTuple<BulkImportContactsJobStatusQuery, Exact<{
5597
- input: BulkImportContactsJobStatusInput;
6211
+ export declare function useOpenConversationsNeedResponseCountLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>): Apollo.LazyQueryResultTuple<OpenConversationsNeedResponseCountQuery, Exact<{
6212
+ input: OpenConversationsNeedResponseInput;
5598
6213
  }>>;
5599
- export declare function useBulkImportContactsJobStatusSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>): Apollo.UseSuspenseQueryResult<BulkImportContactsJobStatusQuery | undefined, Exact<{
5600
- input: BulkImportContactsJobStatusInput;
6214
+ export declare function useOpenConversationsNeedResponseCountSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>): Apollo.UseSuspenseQueryResult<OpenConversationsNeedResponseCountQuery | undefined, Exact<{
6215
+ input: OpenConversationsNeedResponseInput;
5601
6216
  }>>;
5602
- export type BulkImportContactsJobStatusQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusQuery>;
5603
- export type BulkImportContactsJobStatusLazyQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusLazyQuery>;
5604
- export type BulkImportContactsJobStatusSuspenseQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusSuspenseQuery>;
5605
- export type BulkImportContactsJobStatusQueryResult = Apollo.QueryResult<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>;
5606
- export declare function refetchBulkImportContactsJobStatusQuery(variables: BulkImportContactsJobStatusQueryVariables): {
6217
+ export type OpenConversationsNeedResponseCountQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountQuery>;
6218
+ export type OpenConversationsNeedResponseCountLazyQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountLazyQuery>;
6219
+ export type OpenConversationsNeedResponseCountSuspenseQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountSuspenseQuery>;
6220
+ export type OpenConversationsNeedResponseCountQueryResult = Apollo.QueryResult<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>;
6221
+ export declare function refetchOpenConversationsNeedResponseCountQuery(variables: OpenConversationsNeedResponseCountQueryVariables): {
5607
6222
  query: Apollo.DocumentNode;
5608
6223
  variables: Exact<{
5609
- input: BulkImportContactsJobStatusInput;
6224
+ input: OpenConversationsNeedResponseInput;
5610
6225
  }>;
5611
6226
  };
5612
- export declare const BulkPermanentDeleteClientsDocument: Apollo.DocumentNode;
5613
- export type BulkPermanentDeleteClientsMutationFn = Apollo.MutationFunction<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>;
6227
+ export declare const PatchAgentDocument: Apollo.DocumentNode;
6228
+ export type PatchAgentMutationFn = Apollo.MutationFunction<PatchAgentMutation, PatchAgentMutationVariables>;
5614
6229
  /**
5615
- * __useBulkPermanentDeleteClientsMutation__
6230
+ * __usePatchAgentMutation__
5616
6231
  *
5617
- * To run a mutation, you first call `useBulkPermanentDeleteClientsMutation` within a React component and pass it any options that fit your needs.
5618
- * When your component renders, `useBulkPermanentDeleteClientsMutation` returns a tuple that includes:
6232
+ * To run a mutation, you first call `usePatchAgentMutation` within a React component and pass it any options that fit your needs.
6233
+ * When your component renders, `usePatchAgentMutation` returns a tuple that includes:
5619
6234
  * - A mutate function that you can call at any time to execute the mutation
5620
6235
  * - An object with fields that represent the current status of the mutation's execution
5621
6236
  *
5622
6237
  * @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;
5623
6238
  *
5624
6239
  * @example
5625
- * const [bulkPermanentDeleteClientsMutation, { data, loading, error }] = useBulkPermanentDeleteClientsMutation({
6240
+ * const [patchAgentMutation, { data, loading, error }] = usePatchAgentMutation({
5626
6241
  * variables: {
5627
6242
  * input: // value for 'input'
5628
6243
  * },
5629
6244
  * });
5630
6245
  */
5631
- export declare function useBulkPermanentDeleteClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>): Apollo.MutationTuple<BulkPermanentDeleteClientsMutation, Exact<{
5632
- input: BulkPermanentDeleteClientsInput;
6246
+ export declare function usePatchAgentMutation(baseOptions?: Apollo.MutationHookOptions<PatchAgentMutation, PatchAgentMutationVariables>): Apollo.MutationTuple<PatchAgentMutation, Exact<{
6247
+ input: AgentPatchInput;
5633
6248
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5634
- export type BulkPermanentDeleteClientsMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsMutation>;
5635
- export type BulkPermanentDeleteClientsMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsMutation>;
5636
- export type BulkPermanentDeleteClientsMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>;
5637
- export declare const BulkPermanentDeleteClientsByFilterDocument: Apollo.DocumentNode;
5638
- export type BulkPermanentDeleteClientsByFilterMutationFn = Apollo.MutationFunction<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
6249
+ export type PatchAgentMutationHookResult = ReturnType<typeof usePatchAgentMutation>;
6250
+ export type PatchAgentMutationResult = Apollo.MutationResult<PatchAgentMutation>;
6251
+ export type PatchAgentMutationOptions = Apollo.BaseMutationOptions<PatchAgentMutation, PatchAgentMutationVariables>;
6252
+ export declare const PatchBroadcastDocument: Apollo.DocumentNode;
6253
+ export type PatchBroadcastMutationFn = Apollo.MutationFunction<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
5639
6254
  /**
5640
- * __useBulkPermanentDeleteClientsByFilterMutation__
6255
+ * __usePatchBroadcastMutation__
5641
6256
  *
5642
- * To run a mutation, you first call `useBulkPermanentDeleteClientsByFilterMutation` within a React component and pass it any options that fit your needs.
5643
- * When your component renders, `useBulkPermanentDeleteClientsByFilterMutation` returns a tuple that includes:
6257
+ * To run a mutation, you first call `usePatchBroadcastMutation` within a React component and pass it any options that fit your needs.
6258
+ * When your component renders, `usePatchBroadcastMutation` returns a tuple that includes:
5644
6259
  * - A mutate function that you can call at any time to execute the mutation
5645
6260
  * - An object with fields that represent the current status of the mutation's execution
5646
6261
  *
5647
6262
  * @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;
5648
6263
  *
5649
6264
  * @example
5650
- * const [bulkPermanentDeleteClientsByFilterMutation, { data, loading, error }] = useBulkPermanentDeleteClientsByFilterMutation({
6265
+ * const [patchBroadcastMutation, { data, loading, error }] = usePatchBroadcastMutation({
5651
6266
  * variables: {
5652
6267
  * input: // value for 'input'
5653
6268
  * },
5654
6269
  * });
5655
6270
  */
5656
- export declare function useBulkPermanentDeleteClientsByFilterMutation(baseOptions?: Apollo.MutationHookOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>): Apollo.MutationTuple<BulkPermanentDeleteClientsByFilterMutation, Exact<{
5657
- input: BulkPermanentDeleteClientsByFilterInput;
6271
+ export declare function usePatchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>): Apollo.MutationTuple<PatchBroadcastMutation, Exact<{
6272
+ input: BroadcastPatchInput;
5658
6273
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5659
- export type BulkPermanentDeleteClientsByFilterMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsByFilterMutation>;
5660
- export type BulkPermanentDeleteClientsByFilterMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsByFilterMutation>;
5661
- export type BulkPermanentDeleteClientsByFilterMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
5662
- export declare const CancelBroadcastDocument: Apollo.DocumentNode;
5663
- export type CancelBroadcastMutationFn = Apollo.MutationFunction<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
6274
+ export type PatchBroadcastMutationHookResult = ReturnType<typeof usePatchBroadcastMutation>;
6275
+ export type PatchBroadcastMutationResult = Apollo.MutationResult<PatchBroadcastMutation>;
6276
+ export type PatchBroadcastMutationOptions = Apollo.BaseMutationOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
6277
+ export declare const PatchConvDocument: Apollo.DocumentNode;
6278
+ export type PatchConvMutationFn = Apollo.MutationFunction<PatchConvMutation, PatchConvMutationVariables>;
5664
6279
  /**
5665
- * __useCancelBroadcastMutation__
6280
+ * __usePatchConvMutation__
5666
6281
  *
5667
- * To run a mutation, you first call `useCancelBroadcastMutation` within a React component and pass it any options that fit your needs.
5668
- * When your component renders, `useCancelBroadcastMutation` returns a tuple that includes:
6282
+ * To run a mutation, you first call `usePatchConvMutation` within a React component and pass it any options that fit your needs.
6283
+ * When your component renders, `usePatchConvMutation` returns a tuple that includes:
5669
6284
  * - A mutate function that you can call at any time to execute the mutation
5670
6285
  * - An object with fields that represent the current status of the mutation's execution
5671
6286
  *
5672
6287
  * @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;
5673
6288
  *
5674
6289
  * @example
5675
- * const [cancelBroadcastMutation, { data, loading, error }] = useCancelBroadcastMutation({
6290
+ * const [patchConvMutation, { data, loading, error }] = usePatchConvMutation({
5676
6291
  * variables: {
5677
6292
  * input: // value for 'input'
5678
6293
  * },
5679
6294
  * });
5680
6295
  */
5681
- export declare function useCancelBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>): Apollo.MutationTuple<CancelBroadcastMutation, Exact<{
5682
- input: BroadcastCancelInput;
6296
+ export declare function usePatchConvMutation(baseOptions?: Apollo.MutationHookOptions<PatchConvMutation, PatchConvMutationVariables>): Apollo.MutationTuple<PatchConvMutation, Exact<{
6297
+ input: ConvPatchInput;
5683
6298
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5684
- export type CancelBroadcastMutationHookResult = ReturnType<typeof useCancelBroadcastMutation>;
5685
- export type CancelBroadcastMutationResult = Apollo.MutationResult<CancelBroadcastMutation>;
5686
- export type CancelBroadcastMutationOptions = Apollo.BaseMutationOptions<CancelBroadcastMutation, CancelBroadcastMutationVariables>;
5687
- export declare const ClientDocument: Apollo.DocumentNode;
6299
+ export type PatchConvMutationHookResult = ReturnType<typeof usePatchConvMutation>;
6300
+ export type PatchConvMutationResult = Apollo.MutationResult<PatchConvMutation>;
6301
+ export type PatchConvMutationOptions = Apollo.BaseMutationOptions<PatchConvMutation, PatchConvMutationVariables>;
6302
+ export declare const StartConvDocument: Apollo.DocumentNode;
6303
+ export type StartConvMutationFn = Apollo.MutationFunction<StartConvMutation, StartConvMutationVariables>;
5688
6304
  /**
5689
- * __useClientQuery__
6305
+ * __useStartConvMutation__
5690
6306
  *
5691
- * To run a query within a React component, call `useClientQuery` and pass it any options that fit your needs.
5692
- * When your component renders, `useClientQuery` returns an object from Apollo Client that contains loading, error, and data properties
5693
- * you can use to render your UI.
6307
+ * To run a mutation, you first call `useStartConvMutation` within a React component and pass it any options that fit your needs.
6308
+ * When your component renders, `useStartConvMutation` returns a tuple that includes:
6309
+ * - A mutate function that you can call at any time to execute the mutation
6310
+ * - An object with fields that represent the current status of the mutation's execution
5694
6311
  *
5695
- * @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;
6312
+ * @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;
5696
6313
  *
5697
6314
  * @example
5698
- * const { data, loading, error } = useClientQuery({
6315
+ * const [startConvMutation, { data, loading, error }] = useStartConvMutation({
5699
6316
  * variables: {
5700
6317
  * input: // value for 'input'
5701
6318
  * },
5702
6319
  * });
5703
6320
  */
5704
- export declare function useClientQuery(baseOptions: Apollo.QueryHookOptions<ClientQuery, ClientQueryVariables> & ({
5705
- variables: ClientQueryVariables;
5706
- skip?: boolean;
5707
- } | {
5708
- skip: boolean;
5709
- })): Apollo.QueryResult<ClientQuery, Exact<{
5710
- input: ClientInput;
5711
- }>>;
5712
- export declare function useClientLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientQuery, ClientQueryVariables>): Apollo.LazyQueryResultTuple<ClientQuery, Exact<{
5713
- input: ClientInput;
5714
- }>>;
5715
- export declare function useClientSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientQuery, ClientQueryVariables>): Apollo.UseSuspenseQueryResult<ClientQuery | undefined, Exact<{
5716
- input: ClientInput;
5717
- }>>;
5718
- export type ClientQueryHookResult = ReturnType<typeof useClientQuery>;
5719
- export type ClientLazyQueryHookResult = ReturnType<typeof useClientLazyQuery>;
5720
- export type ClientSuspenseQueryHookResult = ReturnType<typeof useClientSuspenseQuery>;
5721
- export type ClientQueryResult = Apollo.QueryResult<ClientQuery, ClientQueryVariables>;
5722
- export declare function refetchClientQuery(variables: ClientQueryVariables): {
5723
- query: Apollo.DocumentNode;
5724
- variables: Exact<{
5725
- input: ClientInput;
5726
- }>;
5727
- };
5728
- export declare const ClientByPhoneDocument: Apollo.DocumentNode;
6321
+ export declare function useStartConvMutation(baseOptions?: Apollo.MutationHookOptions<StartConvMutation, StartConvMutationVariables>): Apollo.MutationTuple<StartConvMutation, Exact<{
6322
+ input: ConvStartInput;
6323
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6324
+ export type StartConvMutationHookResult = ReturnType<typeof useStartConvMutation>;
6325
+ export type StartConvMutationResult = Apollo.MutationResult<StartConvMutation>;
6326
+ export type StartConvMutationOptions = Apollo.BaseMutationOptions<StartConvMutation, StartConvMutationVariables>;
6327
+ export declare const TagClientDocument: Apollo.DocumentNode;
6328
+ export type TagClientMutationFn = Apollo.MutationFunction<TagClientMutation, TagClientMutationVariables>;
5729
6329
  /**
5730
- * __useClientByPhoneQuery__
6330
+ * __useTagClientMutation__
5731
6331
  *
5732
- * To run a query within a React component, call `useClientByPhoneQuery` and pass it any options that fit your needs.
5733
- * When your component renders, `useClientByPhoneQuery` returns an object from Apollo Client that contains loading, error, and data properties
5734
- * you can use to render your UI.
6332
+ * To run a mutation, you first call `useTagClientMutation` within a React component and pass it any options that fit your needs.
6333
+ * When your component renders, `useTagClientMutation` returns a tuple that includes:
6334
+ * - A mutate function that you can call at any time to execute the mutation
6335
+ * - An object with fields that represent the current status of the mutation's execution
5735
6336
  *
5736
- * @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;
6337
+ * @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;
5737
6338
  *
5738
6339
  * @example
5739
- * const { data, loading, error } = useClientByPhoneQuery({
6340
+ * const [tagClientMutation, { data, loading, error }] = useTagClientMutation({
5740
6341
  * variables: {
5741
6342
  * input: // value for 'input'
5742
6343
  * },
5743
6344
  * });
5744
6345
  */
5745
- export declare function useClientByPhoneQuery(baseOptions: Apollo.QueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables> & ({
5746
- variables: ClientByPhoneQueryVariables;
5747
- skip?: boolean;
5748
- } | {
5749
- skip: boolean;
5750
- })): Apollo.QueryResult<ClientByPhoneQuery, Exact<{
5751
- input: ClientByPhoneInput;
5752
- }>>;
5753
- export declare function useClientByPhoneLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables>): Apollo.LazyQueryResultTuple<ClientByPhoneQuery, Exact<{
5754
- input: ClientByPhoneInput;
5755
- }>>;
5756
- export declare function useClientByPhoneSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables>): Apollo.UseSuspenseQueryResult<ClientByPhoneQuery | undefined, Exact<{
5757
- input: ClientByPhoneInput;
5758
- }>>;
5759
- export type ClientByPhoneQueryHookResult = ReturnType<typeof useClientByPhoneQuery>;
5760
- export type ClientByPhoneLazyQueryHookResult = ReturnType<typeof useClientByPhoneLazyQuery>;
5761
- export type ClientByPhoneSuspenseQueryHookResult = ReturnType<typeof useClientByPhoneSuspenseQuery>;
5762
- export type ClientByPhoneQueryResult = Apollo.QueryResult<ClientByPhoneQuery, ClientByPhoneQueryVariables>;
5763
- export declare function refetchClientByPhoneQuery(variables: ClientByPhoneQueryVariables): {
5764
- query: Apollo.DocumentNode;
5765
- variables: Exact<{
5766
- input: ClientByPhoneInput;
5767
- }>;
5768
- };
5769
- export declare const ClientsDocument: Apollo.DocumentNode;
6346
+ export declare function useTagClientMutation(baseOptions?: Apollo.MutationHookOptions<TagClientMutation, TagClientMutationVariables>): Apollo.MutationTuple<TagClientMutation, Exact<{
6347
+ input: ClientTagInput;
6348
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6349
+ export type TagClientMutationHookResult = ReturnType<typeof useTagClientMutation>;
6350
+ export type TagClientMutationResult = Apollo.MutationResult<TagClientMutation>;
6351
+ export type TagClientMutationOptions = Apollo.BaseMutationOptions<TagClientMutation, TagClientMutationVariables>;
6352
+ export declare const TagConvDocument: Apollo.DocumentNode;
6353
+ export type TagConvMutationFn = Apollo.MutationFunction<TagConvMutation, TagConvMutationVariables>;
5770
6354
  /**
5771
- * __useClientsQuery__
5772
- *
5773
- * To run a query within a React component, call `useClientsQuery` and pass it any options that fit your needs.
5774
- * When your component renders, `useClientsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5775
- * you can use to render your UI.
5776
- *
5777
- * @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;
6355
+ * __useTagConvMutation__
5778
6356
  *
5779
- * @example
5780
- * const { data, loading, error } = useClientsQuery({
5781
- * variables: {
5782
- * input: // value for 'input'
5783
- * pageInfo: // value for 'pageInfo'
5784
- * },
5785
- * });
5786
- */
5787
- export declare function useClientsQuery(baseOptions: Apollo.QueryHookOptions<ClientsQuery, ClientsQueryVariables> & ({
5788
- variables: ClientsQueryVariables;
5789
- skip?: boolean;
5790
- } | {
5791
- skip: boolean;
5792
- })): Apollo.QueryResult<ClientsQuery, Exact<{
5793
- input: ClientsInput;
5794
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5795
- }>>;
5796
- export declare function useClientsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientsQuery, ClientsQueryVariables>): Apollo.LazyQueryResultTuple<ClientsQuery, Exact<{
5797
- input: ClientsInput;
5798
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5799
- }>>;
5800
- export declare function useClientsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientsQuery, ClientsQueryVariables>): Apollo.UseSuspenseQueryResult<ClientsQuery | undefined, Exact<{
5801
- input: ClientsInput;
5802
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5803
- }>>;
5804
- export type ClientsQueryHookResult = ReturnType<typeof useClientsQuery>;
5805
- export type ClientsLazyQueryHookResult = ReturnType<typeof useClientsLazyQuery>;
5806
- export type ClientsSuspenseQueryHookResult = ReturnType<typeof useClientsSuspenseQuery>;
5807
- export type ClientsQueryResult = Apollo.QueryResult<ClientsQuery, ClientsQueryVariables>;
5808
- export declare function refetchClientsQuery(variables: ClientsQueryVariables): {
5809
- query: Apollo.DocumentNode;
5810
- variables: Exact<{
5811
- input: ClientsInput;
5812
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
5813
- }>;
5814
- };
5815
- export declare const ConvsDocument: Apollo.DocumentNode;
6357
+ * To run a mutation, you first call `useTagConvMutation` within a React component and pass it any options that fit your needs.
6358
+ * When your component renders, `useTagConvMutation` returns a tuple that includes:
6359
+ * - A mutate function that you can call at any time to execute the mutation
6360
+ * - An object with fields that represent the current status of the mutation's execution
6361
+ *
6362
+ * @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;
6363
+ *
6364
+ * @example
6365
+ * const [tagConvMutation, { data, loading, error }] = useTagConvMutation({
6366
+ * variables: {
6367
+ * input: // value for 'input'
6368
+ * },
6369
+ * });
6370
+ */
6371
+ export declare function useTagConvMutation(baseOptions?: Apollo.MutationHookOptions<TagConvMutation, TagConvMutationVariables>): Apollo.MutationTuple<TagConvMutation, Exact<{
6372
+ input: ConvTagInput;
6373
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6374
+ export type TagConvMutationHookResult = ReturnType<typeof useTagConvMutation>;
6375
+ export type TagConvMutationResult = Apollo.MutationResult<TagConvMutation>;
6376
+ export type TagConvMutationOptions = Apollo.BaseMutationOptions<TagConvMutation, TagConvMutationVariables>;
6377
+ export declare const TagsDocument: Apollo.DocumentNode;
5816
6378
  /**
5817
- * __useConvsQuery__
6379
+ * __useTagsQuery__
5818
6380
  *
5819
- * To run a query within a React component, call `useConvsQuery` and pass it any options that fit your needs.
5820
- * When your component renders, `useConvsQuery` returns an object from Apollo Client that contains loading, error, and data properties
6381
+ * To run a query within a React component, call `useTagsQuery` and pass it any options that fit your needs.
6382
+ * When your component renders, `useTagsQuery` returns an object from Apollo Client that contains loading, error, and data properties
5821
6383
  * you can use to render your UI.
5822
6384
  *
5823
6385
  * @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;
5824
6386
  *
5825
6387
  * @example
5826
- * const { data, loading, error } = useConvsQuery({
6388
+ * const { data, loading, error } = useTagsQuery({
5827
6389
  * variables: {
5828
6390
  * input: // value for 'input'
5829
- * pageInfo: // value for 'pageInfo'
5830
6391
  * },
5831
6392
  * });
5832
6393
  */
5833
- export declare function useConvsQuery(baseOptions: Apollo.QueryHookOptions<ConvsQuery, ConvsQueryVariables> & ({
5834
- variables: ConvsQueryVariables;
6394
+ export declare function useTagsQuery(baseOptions: Apollo.QueryHookOptions<TagsQuery, TagsQueryVariables> & ({
6395
+ variables: TagsQueryVariables;
5835
6396
  skip?: boolean;
5836
6397
  } | {
5837
6398
  skip: boolean;
5838
- })): Apollo.QueryResult<ConvsQuery, Exact<{
5839
- input: ConvsInput;
5840
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6399
+ })): Apollo.QueryResult<TagsQuery, Exact<{
6400
+ input: TagsInput;
5841
6401
  }>>;
5842
- export declare function useConvsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConvsQuery, ConvsQueryVariables>): Apollo.LazyQueryResultTuple<ConvsQuery, Exact<{
5843
- input: ConvsInput;
5844
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6402
+ export declare function useTagsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TagsQuery, TagsQueryVariables>): Apollo.LazyQueryResultTuple<TagsQuery, Exact<{
6403
+ input: TagsInput;
5845
6404
  }>>;
5846
- export declare function useConvsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConvsQuery, ConvsQueryVariables>): Apollo.UseSuspenseQueryResult<ConvsQuery | undefined, Exact<{
5847
- input: ConvsInput;
5848
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6405
+ export declare function useTagsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TagsQuery, TagsQueryVariables>): Apollo.UseSuspenseQueryResult<TagsQuery | undefined, Exact<{
6406
+ input: TagsInput;
5849
6407
  }>>;
5850
- export type ConvsQueryHookResult = ReturnType<typeof useConvsQuery>;
5851
- export type ConvsLazyQueryHookResult = ReturnType<typeof useConvsLazyQuery>;
5852
- export type ConvsSuspenseQueryHookResult = ReturnType<typeof useConvsSuspenseQuery>;
5853
- export type ConvsQueryResult = Apollo.QueryResult<ConvsQuery, ConvsQueryVariables>;
5854
- export declare function refetchConvsQuery(variables: ConvsQueryVariables): {
6408
+ export type TagsQueryHookResult = ReturnType<typeof useTagsQuery>;
6409
+ export type TagsLazyQueryHookResult = ReturnType<typeof useTagsLazyQuery>;
6410
+ export type TagsSuspenseQueryHookResult = ReturnType<typeof useTagsSuspenseQuery>;
6411
+ export type TagsQueryResult = Apollo.QueryResult<TagsQuery, TagsQueryVariables>;
6412
+ export declare function refetchTagsQuery(variables: TagsQueryVariables): {
5855
6413
  query: Apollo.DocumentNode;
5856
6414
  variables: Exact<{
5857
- input: ConvsInput;
5858
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6415
+ input: TagsInput;
5859
6416
  }>;
5860
6417
  };
5861
- export declare const CreateAgentDocument: Apollo.DocumentNode;
5862
- export type CreateAgentMutationFn = Apollo.MutationFunction<CreateAgentMutation, CreateAgentMutationVariables>;
6418
+ export declare const UntagClientDocument: Apollo.DocumentNode;
6419
+ export type UntagClientMutationFn = Apollo.MutationFunction<UntagClientMutation, UntagClientMutationVariables>;
5863
6420
  /**
5864
- * __useCreateAgentMutation__
6421
+ * __useUntagClientMutation__
5865
6422
  *
5866
- * To run a mutation, you first call `useCreateAgentMutation` within a React component and pass it any options that fit your needs.
5867
- * When your component renders, `useCreateAgentMutation` returns a tuple that includes:
6423
+ * To run a mutation, you first call `useUntagClientMutation` within a React component and pass it any options that fit your needs.
6424
+ * When your component renders, `useUntagClientMutation` returns a tuple that includes:
5868
6425
  * - A mutate function that you can call at any time to execute the mutation
5869
6426
  * - An object with fields that represent the current status of the mutation's execution
5870
6427
  *
5871
6428
  * @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;
5872
6429
  *
5873
6430
  * @example
5874
- * const [createAgentMutation, { data, loading, error }] = useCreateAgentMutation({
6431
+ * const [untagClientMutation, { data, loading, error }] = useUntagClientMutation({
5875
6432
  * variables: {
5876
6433
  * input: // value for 'input'
5877
6434
  * },
5878
6435
  * });
5879
6436
  */
5880
- export declare function useCreateAgentMutation(baseOptions?: Apollo.MutationHookOptions<CreateAgentMutation, CreateAgentMutationVariables>): Apollo.MutationTuple<CreateAgentMutation, Exact<{
5881
- input: AgentCreateInput;
6437
+ export declare function useUntagClientMutation(baseOptions?: Apollo.MutationHookOptions<UntagClientMutation, UntagClientMutationVariables>): Apollo.MutationTuple<UntagClientMutation, Exact<{
6438
+ input: ClientTagInput;
5882
6439
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5883
- export type CreateAgentMutationHookResult = ReturnType<typeof useCreateAgentMutation>;
5884
- export type CreateAgentMutationResult = Apollo.MutationResult<CreateAgentMutation>;
5885
- export type CreateAgentMutationOptions = Apollo.BaseMutationOptions<CreateAgentMutation, CreateAgentMutationVariables>;
5886
- export declare const CreateBroadcastDocument: Apollo.DocumentNode;
5887
- export type CreateBroadcastMutationFn = Apollo.MutationFunction<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
6440
+ export type UntagClientMutationHookResult = ReturnType<typeof useUntagClientMutation>;
6441
+ export type UntagClientMutationResult = Apollo.MutationResult<UntagClientMutation>;
6442
+ export type UntagClientMutationOptions = Apollo.BaseMutationOptions<UntagClientMutation, UntagClientMutationVariables>;
6443
+ export declare const UntagConvDocument: Apollo.DocumentNode;
6444
+ export type UntagConvMutationFn = Apollo.MutationFunction<UntagConvMutation, UntagConvMutationVariables>;
5888
6445
  /**
5889
- * __useCreateBroadcastMutation__
6446
+ * __useUntagConvMutation__
5890
6447
  *
5891
- * To run a mutation, you first call `useCreateBroadcastMutation` within a React component and pass it any options that fit your needs.
5892
- * When your component renders, `useCreateBroadcastMutation` returns a tuple that includes:
6448
+ * To run a mutation, you first call `useUntagConvMutation` within a React component and pass it any options that fit your needs.
6449
+ * When your component renders, `useUntagConvMutation` returns a tuple that includes:
5893
6450
  * - A mutate function that you can call at any time to execute the mutation
5894
6451
  * - An object with fields that represent the current status of the mutation's execution
5895
6452
  *
5896
6453
  * @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;
5897
6454
  *
5898
6455
  * @example
5899
- * const [createBroadcastMutation, { data, loading, error }] = useCreateBroadcastMutation({
6456
+ * const [untagConvMutation, { data, loading, error }] = useUntagConvMutation({
5900
6457
  * variables: {
5901
6458
  * input: // value for 'input'
5902
6459
  * },
5903
6460
  * });
5904
6461
  */
5905
- export declare function useCreateBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>): Apollo.MutationTuple<CreateBroadcastMutation, Exact<{
5906
- input: BroadcastCreateInput;
6462
+ export declare function useUntagConvMutation(baseOptions?: Apollo.MutationHookOptions<UntagConvMutation, UntagConvMutationVariables>): Apollo.MutationTuple<UntagConvMutation, Exact<{
6463
+ input: ConvTagInput;
5907
6464
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5908
- export type CreateBroadcastMutationHookResult = ReturnType<typeof useCreateBroadcastMutation>;
5909
- export type CreateBroadcastMutationResult = Apollo.MutationResult<CreateBroadcastMutation>;
5910
- export type CreateBroadcastMutationOptions = Apollo.BaseMutationOptions<CreateBroadcastMutation, CreateBroadcastMutationVariables>;
5911
- export declare const CreateClientDocument: Apollo.DocumentNode;
5912
- export type CreateClientMutationFn = Apollo.MutationFunction<CreateClientMutation, CreateClientMutationVariables>;
6465
+ export type UntagConvMutationHookResult = ReturnType<typeof useUntagConvMutation>;
6466
+ export type UntagConvMutationResult = Apollo.MutationResult<UntagConvMutation>;
6467
+ export type UntagConvMutationOptions = Apollo.BaseMutationOptions<UntagConvMutation, UntagConvMutationVariables>;
6468
+ export declare const WabaMessageTemplateDetailsDocument: Apollo.DocumentNode;
5913
6469
  /**
5914
- * __useCreateClientMutation__
6470
+ * __useWabaMessageTemplateDetailsQuery__
5915
6471
  *
5916
- * To run a mutation, you first call `useCreateClientMutation` within a React component and pass it any options that fit your needs.
5917
- * When your component renders, `useCreateClientMutation` returns a tuple that includes:
5918
- * - A mutate function that you can call at any time to execute the mutation
5919
- * - An object with fields that represent the current status of the mutation's execution
6472
+ * To run a query within a React component, call `useWabaMessageTemplateDetailsQuery` and pass it any options that fit your needs.
6473
+ * When your component renders, `useWabaMessageTemplateDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
6474
+ * you can use to render your UI.
5920
6475
  *
5921
- * @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;
6476
+ * @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;
5922
6477
  *
5923
6478
  * @example
5924
- * const [createClientMutation, { data, loading, error }] = useCreateClientMutation({
6479
+ * const { data, loading, error } = useWabaMessageTemplateDetailsQuery({
5925
6480
  * variables: {
5926
6481
  * input: // value for 'input'
5927
6482
  * },
5928
6483
  * });
5929
6484
  */
5930
- export declare function useCreateClientMutation(baseOptions?: Apollo.MutationHookOptions<CreateClientMutation, CreateClientMutationVariables>): Apollo.MutationTuple<CreateClientMutation, Exact<{
5931
- input: ClientCreateInput;
5932
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5933
- export type CreateClientMutationHookResult = ReturnType<typeof useCreateClientMutation>;
5934
- export type CreateClientMutationResult = Apollo.MutationResult<CreateClientMutation>;
5935
- export type CreateClientMutationOptions = Apollo.BaseMutationOptions<CreateClientMutation, CreateClientMutationVariables>;
5936
- export declare const DeleteAgentDocument: Apollo.DocumentNode;
5937
- export type DeleteAgentMutationFn = Apollo.MutationFunction<DeleteAgentMutation, DeleteAgentMutationVariables>;
6485
+ export declare function useWabaMessageTemplateDetailsQuery(baseOptions: Apollo.QueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables> & ({
6486
+ variables: WabaMessageTemplateDetailsQueryVariables;
6487
+ skip?: boolean;
6488
+ } | {
6489
+ skip: boolean;
6490
+ })): Apollo.QueryResult<WabaMessageTemplateDetailsQuery, Exact<{
6491
+ input: WabaMessageTemplateDetailsInput;
6492
+ }>>;
6493
+ export declare function useWabaMessageTemplateDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.LazyQueryResultTuple<WabaMessageTemplateDetailsQuery, Exact<{
6494
+ input: WabaMessageTemplateDetailsInput;
6495
+ }>>;
6496
+ export declare function useWabaMessageTemplateDetailsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.UseSuspenseQueryResult<WabaMessageTemplateDetailsQuery | undefined, Exact<{
6497
+ input: WabaMessageTemplateDetailsInput;
6498
+ }>>;
6499
+ export type WabaMessageTemplateDetailsQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsQuery>;
6500
+ export type WabaMessageTemplateDetailsLazyQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsLazyQuery>;
6501
+ export type WabaMessageTemplateDetailsSuspenseQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsSuspenseQuery>;
6502
+ export type WabaMessageTemplateDetailsQueryResult = Apollo.QueryResult<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>;
6503
+ export declare function refetchWabaMessageTemplateDetailsQuery(variables: WabaMessageTemplateDetailsQueryVariables): {
6504
+ query: Apollo.DocumentNode;
6505
+ variables: Exact<{
6506
+ input: WabaMessageTemplateDetailsInput;
6507
+ }>;
6508
+ };
6509
+ export declare const WabaMessageTemplatesDocument: Apollo.DocumentNode;
5938
6510
  /**
5939
- * __useDeleteAgentMutation__
6511
+ * __useWabaMessageTemplatesQuery__
5940
6512
  *
5941
- * To run a mutation, you first call `useDeleteAgentMutation` within a React component and pass it any options that fit your needs.
5942
- * When your component renders, `useDeleteAgentMutation` returns a tuple that includes:
5943
- * - A mutate function that you can call at any time to execute the mutation
5944
- * - An object with fields that represent the current status of the mutation's execution
6513
+ * To run a query within a React component, call `useWabaMessageTemplatesQuery` and pass it any options that fit your needs.
6514
+ * When your component renders, `useWabaMessageTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6515
+ * you can use to render your UI.
5945
6516
  *
5946
- * @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;
6517
+ * @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;
5947
6518
  *
5948
6519
  * @example
5949
- * const [deleteAgentMutation, { data, loading, error }] = useDeleteAgentMutation({
6520
+ * const { data, loading, error } = useWabaMessageTemplatesQuery({
5950
6521
  * variables: {
5951
6522
  * input: // value for 'input'
5952
6523
  * },
5953
6524
  * });
5954
6525
  */
5955
- export declare function useDeleteAgentMutation(baseOptions?: Apollo.MutationHookOptions<DeleteAgentMutation, DeleteAgentMutationVariables>): Apollo.MutationTuple<DeleteAgentMutation, Exact<{
5956
- input: AgentInput;
5957
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5958
- export type DeleteAgentMutationHookResult = ReturnType<typeof useDeleteAgentMutation>;
5959
- export type DeleteAgentMutationResult = Apollo.MutationResult<DeleteAgentMutation>;
5960
- export type DeleteAgentMutationOptions = Apollo.BaseMutationOptions<DeleteAgentMutation, DeleteAgentMutationVariables>;
5961
- export declare const DeleteBroadcastDocument: Apollo.DocumentNode;
5962
- export type DeleteBroadcastMutationFn = Apollo.MutationFunction<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
6526
+ export declare function useWabaMessageTemplatesQuery(baseOptions: Apollo.QueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables> & ({
6527
+ variables: WabaMessageTemplatesQueryVariables;
6528
+ skip?: boolean;
6529
+ } | {
6530
+ skip: boolean;
6531
+ })): Apollo.QueryResult<WabaMessageTemplatesQuery, Exact<{
6532
+ input: WabaMessageTemplatesInput;
6533
+ }>>;
6534
+ export declare function useWabaMessageTemplatesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>): Apollo.LazyQueryResultTuple<WabaMessageTemplatesQuery, Exact<{
6535
+ input: WabaMessageTemplatesInput;
6536
+ }>>;
6537
+ export declare function useWabaMessageTemplatesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>): Apollo.UseSuspenseQueryResult<WabaMessageTemplatesQuery | undefined, Exact<{
6538
+ input: WabaMessageTemplatesInput;
6539
+ }>>;
6540
+ export type WabaMessageTemplatesQueryHookResult = ReturnType<typeof useWabaMessageTemplatesQuery>;
6541
+ export type WabaMessageTemplatesLazyQueryHookResult = ReturnType<typeof useWabaMessageTemplatesLazyQuery>;
6542
+ export type WabaMessageTemplatesSuspenseQueryHookResult = ReturnType<typeof useWabaMessageTemplatesSuspenseQuery>;
6543
+ export type WabaMessageTemplatesQueryResult = Apollo.QueryResult<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>;
6544
+ export declare function refetchWabaMessageTemplatesQuery(variables: WabaMessageTemplatesQueryVariables): {
6545
+ query: Apollo.DocumentNode;
6546
+ variables: Exact<{
6547
+ input: WabaMessageTemplatesInput;
6548
+ }>;
6549
+ };
6550
+ export declare const BulkDeleteClientsDocument: Apollo.DocumentNode;
6551
+ export type BulkDeleteClientsMutationFn = Apollo.MutationFunction<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>;
5963
6552
  /**
5964
- * __useDeleteBroadcastMutation__
6553
+ * __useBulkDeleteClientsMutation__
5965
6554
  *
5966
- * To run a mutation, you first call `useDeleteBroadcastMutation` within a React component and pass it any options that fit your needs.
5967
- * When your component renders, `useDeleteBroadcastMutation` returns a tuple that includes:
6555
+ * To run a mutation, you first call `useBulkDeleteClientsMutation` within a React component and pass it any options that fit your needs.
6556
+ * When your component renders, `useBulkDeleteClientsMutation` returns a tuple that includes:
5968
6557
  * - A mutate function that you can call at any time to execute the mutation
5969
6558
  * - An object with fields that represent the current status of the mutation's execution
5970
6559
  *
5971
6560
  * @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;
5972
6561
  *
5973
6562
  * @example
5974
- * const [deleteBroadcastMutation, { data, loading, error }] = useDeleteBroadcastMutation({
6563
+ * const [bulkDeleteClientsMutation, { data, loading, error }] = useBulkDeleteClientsMutation({
5975
6564
  * variables: {
5976
6565
  * input: // value for 'input'
5977
6566
  * },
5978
6567
  * });
5979
6568
  */
5980
- export declare function useDeleteBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>): Apollo.MutationTuple<DeleteBroadcastMutation, Exact<{
5981
- input: BroadcastDeleteInput;
6569
+ export declare function useBulkDeleteClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>): Apollo.MutationTuple<BulkDeleteClientsMutation, Exact<{
6570
+ input: BulkPermanentDeleteClientsInput;
5982
6571
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
5983
- export type DeleteBroadcastMutationHookResult = ReturnType<typeof useDeleteBroadcastMutation>;
5984
- export type DeleteBroadcastMutationResult = Apollo.MutationResult<DeleteBroadcastMutation>;
5985
- export type DeleteBroadcastMutationOptions = Apollo.BaseMutationOptions<DeleteBroadcastMutation, DeleteBroadcastMutationVariables>;
5986
- export declare const DeleteClientDocument: Apollo.DocumentNode;
5987
- export type DeleteClientMutationFn = Apollo.MutationFunction<DeleteClientMutation, DeleteClientMutationVariables>;
6572
+ export type BulkDeleteClientsMutationHookResult = ReturnType<typeof useBulkDeleteClientsMutation>;
6573
+ export type BulkDeleteClientsMutationResult = Apollo.MutationResult<BulkDeleteClientsMutation>;
6574
+ export type BulkDeleteClientsMutationOptions = Apollo.BaseMutationOptions<BulkDeleteClientsMutation, BulkDeleteClientsMutationVariables>;
6575
+ export declare const BulkImportContactsDocument: Apollo.DocumentNode;
6576
+ export type BulkImportContactsMutationFn = Apollo.MutationFunction<BulkImportContactsMutation, BulkImportContactsMutationVariables>;
5988
6577
  /**
5989
- * __useDeleteClientMutation__
6578
+ * __useBulkImportContactsMutation__
5990
6579
  *
5991
- * To run a mutation, you first call `useDeleteClientMutation` within a React component and pass it any options that fit your needs.
5992
- * When your component renders, `useDeleteClientMutation` returns a tuple that includes:
6580
+ * To run a mutation, you first call `useBulkImportContactsMutation` within a React component and pass it any options that fit your needs.
6581
+ * When your component renders, `useBulkImportContactsMutation` returns a tuple that includes:
5993
6582
  * - A mutate function that you can call at any time to execute the mutation
5994
6583
  * - An object with fields that represent the current status of the mutation's execution
5995
6584
  *
5996
6585
  * @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;
5997
6586
  *
5998
6587
  * @example
5999
- * const [deleteClientMutation, { data, loading, error }] = useDeleteClientMutation({
6588
+ * const [bulkImportContactsMutation, { data, loading, error }] = useBulkImportContactsMutation({
6000
6589
  * variables: {
6001
6590
  * input: // value for 'input'
6002
6591
  * },
6003
6592
  * });
6004
6593
  */
6005
- export declare function useDeleteClientMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientMutation, DeleteClientMutationVariables>): Apollo.MutationTuple<DeleteClientMutation, Exact<{
6006
- input: ClientInput;
6594
+ export declare function useBulkImportContactsMutation(baseOptions?: Apollo.MutationHookOptions<BulkImportContactsMutation, BulkImportContactsMutationVariables>): Apollo.MutationTuple<BulkImportContactsMutation, Exact<{
6595
+ input: BulkImportContactsInput;
6007
6596
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6008
- export type DeleteClientMutationHookResult = ReturnType<typeof useDeleteClientMutation>;
6009
- export type DeleteClientMutationResult = Apollo.MutationResult<DeleteClientMutation>;
6010
- export type DeleteClientMutationOptions = Apollo.BaseMutationOptions<DeleteClientMutation, DeleteClientMutationVariables>;
6011
- export declare const DeleteClientByExternalIdDocument: Apollo.DocumentNode;
6012
- export type DeleteClientByExternalIdMutationFn = Apollo.MutationFunction<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
6597
+ export type BulkImportContactsMutationHookResult = ReturnType<typeof useBulkImportContactsMutation>;
6598
+ export type BulkImportContactsMutationResult = Apollo.MutationResult<BulkImportContactsMutation>;
6599
+ export type BulkImportContactsMutationOptions = Apollo.BaseMutationOptions<BulkImportContactsMutation, BulkImportContactsMutationVariables>;
6600
+ export declare const BulkImportContactsJobStatusDocument: Apollo.DocumentNode;
6601
+ /**
6602
+ * __useBulkImportContactsJobStatusQuery__
6603
+ *
6604
+ * To run a query within a React component, call `useBulkImportContactsJobStatusQuery` and pass it any options that fit your needs.
6605
+ * When your component renders, `useBulkImportContactsJobStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
6606
+ * you can use to render your UI.
6607
+ *
6608
+ * @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;
6609
+ *
6610
+ * @example
6611
+ * const { data, loading, error } = useBulkImportContactsJobStatusQuery({
6612
+ * variables: {
6613
+ * input: // value for 'input'
6614
+ * },
6615
+ * });
6616
+ */
6617
+ export declare function useBulkImportContactsJobStatusQuery(baseOptions: Apollo.QueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables> & ({
6618
+ variables: BulkImportContactsJobStatusQueryVariables;
6619
+ skip?: boolean;
6620
+ } | {
6621
+ skip: boolean;
6622
+ })): Apollo.QueryResult<BulkImportContactsJobStatusQuery, Exact<{
6623
+ input: BulkImportContactsJobStatusInput;
6624
+ }>>;
6625
+ export declare function useBulkImportContactsJobStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>): Apollo.LazyQueryResultTuple<BulkImportContactsJobStatusQuery, Exact<{
6626
+ input: BulkImportContactsJobStatusInput;
6627
+ }>>;
6628
+ export declare function useBulkImportContactsJobStatusSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>): Apollo.UseSuspenseQueryResult<BulkImportContactsJobStatusQuery | undefined, Exact<{
6629
+ input: BulkImportContactsJobStatusInput;
6630
+ }>>;
6631
+ export type BulkImportContactsJobStatusQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusQuery>;
6632
+ export type BulkImportContactsJobStatusLazyQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusLazyQuery>;
6633
+ export type BulkImportContactsJobStatusSuspenseQueryHookResult = ReturnType<typeof useBulkImportContactsJobStatusSuspenseQuery>;
6634
+ export type BulkImportContactsJobStatusQueryResult = Apollo.QueryResult<BulkImportContactsJobStatusQuery, BulkImportContactsJobStatusQueryVariables>;
6635
+ export declare function refetchBulkImportContactsJobStatusQuery(variables: BulkImportContactsJobStatusQueryVariables): {
6636
+ query: Apollo.DocumentNode;
6637
+ variables: Exact<{
6638
+ input: BulkImportContactsJobStatusInput;
6639
+ }>;
6640
+ };
6641
+ export declare const BulkPermanentDeleteClientsDocument: Apollo.DocumentNode;
6642
+ export type BulkPermanentDeleteClientsMutationFn = Apollo.MutationFunction<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>;
6013
6643
  /**
6014
- * __useDeleteClientByExternalIdMutation__
6644
+ * __useBulkPermanentDeleteClientsMutation__
6015
6645
  *
6016
- * To run a mutation, you first call `useDeleteClientByExternalIdMutation` within a React component and pass it any options that fit your needs.
6017
- * When your component renders, `useDeleteClientByExternalIdMutation` returns a tuple that includes:
6646
+ * To run a mutation, you first call `useBulkPermanentDeleteClientsMutation` within a React component and pass it any options that fit your needs.
6647
+ * When your component renders, `useBulkPermanentDeleteClientsMutation` returns a tuple that includes:
6018
6648
  * - A mutate function that you can call at any time to execute the mutation
6019
6649
  * - An object with fields that represent the current status of the mutation's execution
6020
6650
  *
6021
6651
  * @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;
6022
6652
  *
6023
6653
  * @example
6024
- * const [deleteClientByExternalIdMutation, { data, loading, error }] = useDeleteClientByExternalIdMutation({
6654
+ * const [bulkPermanentDeleteClientsMutation, { data, loading, error }] = useBulkPermanentDeleteClientsMutation({
6025
6655
  * variables: {
6026
6656
  * input: // value for 'input'
6027
6657
  * },
6028
6658
  * });
6029
6659
  */
6030
- export declare function useDeleteClientByExternalIdMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>): Apollo.MutationTuple<DeleteClientByExternalIdMutation, Exact<{
6031
- input: ClientDeleteByExternalIdInput;
6660
+ export declare function useBulkPermanentDeleteClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>): Apollo.MutationTuple<BulkPermanentDeleteClientsMutation, Exact<{
6661
+ input: BulkPermanentDeleteClientsInput;
6032
6662
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6033
- export type DeleteClientByExternalIdMutationHookResult = ReturnType<typeof useDeleteClientByExternalIdMutation>;
6034
- export type DeleteClientByExternalIdMutationResult = Apollo.MutationResult<DeleteClientByExternalIdMutation>;
6035
- export type DeleteClientByExternalIdMutationOptions = Apollo.BaseMutationOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
6036
- export declare const EndConvDocument: Apollo.DocumentNode;
6037
- export type EndConvMutationFn = Apollo.MutationFunction<EndConvMutation, EndConvMutationVariables>;
6663
+ export type BulkPermanentDeleteClientsMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsMutation>;
6664
+ export type BulkPermanentDeleteClientsMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsMutation>;
6665
+ export type BulkPermanentDeleteClientsMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsMutation, BulkPermanentDeleteClientsMutationVariables>;
6666
+ export declare const BulkPermanentDeleteClientsByFilterDocument: Apollo.DocumentNode;
6667
+ export type BulkPermanentDeleteClientsByFilterMutationFn = Apollo.MutationFunction<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
6038
6668
  /**
6039
- * __useEndConvMutation__
6669
+ * __useBulkPermanentDeleteClientsByFilterMutation__
6040
6670
  *
6041
- * To run a mutation, you first call `useEndConvMutation` within a React component and pass it any options that fit your needs.
6042
- * When your component renders, `useEndConvMutation` returns a tuple that includes:
6671
+ * To run a mutation, you first call `useBulkPermanentDeleteClientsByFilterMutation` within a React component and pass it any options that fit your needs.
6672
+ * When your component renders, `useBulkPermanentDeleteClientsByFilterMutation` returns a tuple that includes:
6043
6673
  * - A mutate function that you can call at any time to execute the mutation
6044
6674
  * - An object with fields that represent the current status of the mutation's execution
6045
6675
  *
6046
6676
  * @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;
6047
6677
  *
6048
6678
  * @example
6049
- * const [endConvMutation, { data, loading, error }] = useEndConvMutation({
6679
+ * const [bulkPermanentDeleteClientsByFilterMutation, { data, loading, error }] = useBulkPermanentDeleteClientsByFilterMutation({
6050
6680
  * variables: {
6051
6681
  * input: // value for 'input'
6052
6682
  * },
6053
6683
  * });
6054
6684
  */
6055
- export declare function useEndConvMutation(baseOptions?: Apollo.MutationHookOptions<EndConvMutation, EndConvMutationVariables>): Apollo.MutationTuple<EndConvMutation, Exact<{
6056
- input: ConvEndInput;
6685
+ export declare function useBulkPermanentDeleteClientsByFilterMutation(baseOptions?: Apollo.MutationHookOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>): Apollo.MutationTuple<BulkPermanentDeleteClientsByFilterMutation, Exact<{
6686
+ input: BulkPermanentDeleteClientsByFilterInput;
6057
6687
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6058
- export type EndConvMutationHookResult = ReturnType<typeof useEndConvMutation>;
6059
- export type EndConvMutationResult = Apollo.MutationResult<EndConvMutation>;
6060
- export type EndConvMutationOptions = Apollo.BaseMutationOptions<EndConvMutation, EndConvMutationVariables>;
6061
- export declare const LaunchBroadcastDocument: Apollo.DocumentNode;
6062
- export type LaunchBroadcastMutationFn = Apollo.MutationFunction<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
6688
+ export type BulkPermanentDeleteClientsByFilterMutationHookResult = ReturnType<typeof useBulkPermanentDeleteClientsByFilterMutation>;
6689
+ export type BulkPermanentDeleteClientsByFilterMutationResult = Apollo.MutationResult<BulkPermanentDeleteClientsByFilterMutation>;
6690
+ export type BulkPermanentDeleteClientsByFilterMutationOptions = Apollo.BaseMutationOptions<BulkPermanentDeleteClientsByFilterMutation, BulkPermanentDeleteClientsByFilterMutationVariables>;
6691
+ export declare const BulkUndeleteClientsDocument: Apollo.DocumentNode;
6692
+ export type BulkUndeleteClientsMutationFn = Apollo.MutationFunction<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>;
6063
6693
  /**
6064
- * __useLaunchBroadcastMutation__
6694
+ * __useBulkUndeleteClientsMutation__
6065
6695
  *
6066
- * To run a mutation, you first call `useLaunchBroadcastMutation` within a React component and pass it any options that fit your needs.
6067
- * When your component renders, `useLaunchBroadcastMutation` returns a tuple that includes:
6696
+ * To run a mutation, you first call `useBulkUndeleteClientsMutation` within a React component and pass it any options that fit your needs.
6697
+ * When your component renders, `useBulkUndeleteClientsMutation` returns a tuple that includes:
6068
6698
  * - A mutate function that you can call at any time to execute the mutation
6069
6699
  * - An object with fields that represent the current status of the mutation's execution
6070
6700
  *
6071
6701
  * @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;
6072
6702
  *
6073
6703
  * @example
6074
- * const [launchBroadcastMutation, { data, loading, error }] = useLaunchBroadcastMutation({
6704
+ * const [bulkUndeleteClientsMutation, { data, loading, error }] = useBulkUndeleteClientsMutation({
6075
6705
  * variables: {
6076
6706
  * input: // value for 'input'
6077
6707
  * },
6078
6708
  * });
6079
6709
  */
6080
- export declare function useLaunchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>): Apollo.MutationTuple<LaunchBroadcastMutation, Exact<{
6081
- input: BroadcastLaunchInput;
6710
+ export declare function useBulkUndeleteClientsMutation(baseOptions?: Apollo.MutationHookOptions<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>): Apollo.MutationTuple<BulkUndeleteClientsMutation, Exact<{
6711
+ input: BulkPermanentDeleteClientsInput;
6082
6712
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6083
- export type LaunchBroadcastMutationHookResult = ReturnType<typeof useLaunchBroadcastMutation>;
6084
- export type LaunchBroadcastMutationResult = Apollo.MutationResult<LaunchBroadcastMutation>;
6085
- export type LaunchBroadcastMutationOptions = Apollo.BaseMutationOptions<LaunchBroadcastMutation, LaunchBroadcastMutationVariables>;
6086
- export declare const MessagesDocument: Apollo.DocumentNode;
6713
+ export type BulkUndeleteClientsMutationHookResult = ReturnType<typeof useBulkUndeleteClientsMutation>;
6714
+ export type BulkUndeleteClientsMutationResult = Apollo.MutationResult<BulkUndeleteClientsMutation>;
6715
+ export type BulkUndeleteClientsMutationOptions = Apollo.BaseMutationOptions<BulkUndeleteClientsMutation, BulkUndeleteClientsMutationVariables>;
6716
+ export declare const ClientDocument: Apollo.DocumentNode;
6087
6717
  /**
6088
- * __useMessagesQuery__
6718
+ * __useClientQuery__
6089
6719
  *
6090
- * To run a query within a React component, call `useMessagesQuery` and pass it any options that fit your needs.
6091
- * When your component renders, `useMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6720
+ * To run a query within a React component, call `useClientQuery` and pass it any options that fit your needs.
6721
+ * When your component renders, `useClientQuery` returns an object from Apollo Client that contains loading, error, and data properties
6092
6722
  * you can use to render your UI.
6093
6723
  *
6094
6724
  * @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;
6095
6725
  *
6096
6726
  * @example
6097
- * const { data, loading, error } = useMessagesQuery({
6727
+ * const { data, loading, error } = useClientQuery({
6098
6728
  * variables: {
6099
6729
  * input: // value for 'input'
6100
- * pageInfo: // value for 'pageInfo'
6101
6730
  * },
6102
6731
  * });
6103
6732
  */
6104
- export declare function useMessagesQuery(baseOptions: Apollo.QueryHookOptions<MessagesQuery, MessagesQueryVariables> & ({
6105
- variables: MessagesQueryVariables;
6733
+ export declare function useClientQuery(baseOptions: Apollo.QueryHookOptions<ClientQuery, ClientQueryVariables> & ({
6734
+ variables: ClientQueryVariables;
6106
6735
  skip?: boolean;
6107
6736
  } | {
6108
6737
  skip: boolean;
6109
- })): Apollo.QueryResult<MessagesQuery, Exact<{
6110
- input: MessagesInput;
6111
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6738
+ })): Apollo.QueryResult<ClientQuery, Exact<{
6739
+ input: ClientInput;
6112
6740
  }>>;
6113
- export declare function useMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<MessagesQuery, MessagesQueryVariables>): Apollo.LazyQueryResultTuple<MessagesQuery, Exact<{
6114
- input: MessagesInput;
6115
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6741
+ export declare function useClientLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientQuery, ClientQueryVariables>): Apollo.LazyQueryResultTuple<ClientQuery, Exact<{
6742
+ input: ClientInput;
6116
6743
  }>>;
6117
- export declare function useMessagesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<MessagesQuery, MessagesQueryVariables>): Apollo.UseSuspenseQueryResult<MessagesQuery | undefined, Exact<{
6118
- input: MessagesInput;
6119
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6744
+ export declare function useClientSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientQuery, ClientQueryVariables>): Apollo.UseSuspenseQueryResult<ClientQuery | undefined, Exact<{
6745
+ input: ClientInput;
6120
6746
  }>>;
6121
- export type MessagesQueryHookResult = ReturnType<typeof useMessagesQuery>;
6122
- export type MessagesLazyQueryHookResult = ReturnType<typeof useMessagesLazyQuery>;
6123
- export type MessagesSuspenseQueryHookResult = ReturnType<typeof useMessagesSuspenseQuery>;
6124
- export type MessagesQueryResult = Apollo.QueryResult<MessagesQuery, MessagesQueryVariables>;
6125
- export declare function refetchMessagesQuery(variables: MessagesQueryVariables): {
6747
+ export type ClientQueryHookResult = ReturnType<typeof useClientQuery>;
6748
+ export type ClientLazyQueryHookResult = ReturnType<typeof useClientLazyQuery>;
6749
+ export type ClientSuspenseQueryHookResult = ReturnType<typeof useClientSuspenseQuery>;
6750
+ export type ClientQueryResult = Apollo.QueryResult<ClientQuery, ClientQueryVariables>;
6751
+ export declare function refetchClientQuery(variables: ClientQueryVariables): {
6126
6752
  query: Apollo.DocumentNode;
6127
6753
  variables: Exact<{
6128
- input: MessagesInput;
6129
- pageInfo?: InputMaybe<PageInfoInput> | undefined;
6754
+ input: ClientInput;
6130
6755
  }>;
6131
6756
  };
6132
- export declare const OpenConversationsNeedResponseCountDocument: Apollo.DocumentNode;
6757
+ export declare const ClientByPhoneDocument: Apollo.DocumentNode;
6133
6758
  /**
6134
- * __useOpenConversationsNeedResponseCountQuery__
6759
+ * __useClientByPhoneQuery__
6135
6760
  *
6136
- * To run a query within a React component, call `useOpenConversationsNeedResponseCountQuery` and pass it any options that fit your needs.
6137
- * When your component renders, `useOpenConversationsNeedResponseCountQuery` returns an object from Apollo Client that contains loading, error, and data properties
6761
+ * To run a query within a React component, call `useClientByPhoneQuery` and pass it any options that fit your needs.
6762
+ * When your component renders, `useClientByPhoneQuery` returns an object from Apollo Client that contains loading, error, and data properties
6138
6763
  * you can use to render your UI.
6139
6764
  *
6140
6765
  * @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;
6141
6766
  *
6142
6767
  * @example
6143
- * const { data, loading, error } = useOpenConversationsNeedResponseCountQuery({
6768
+ * const { data, loading, error } = useClientByPhoneQuery({
6144
6769
  * variables: {
6145
6770
  * input: // value for 'input'
6146
6771
  * },
6147
6772
  * });
6148
6773
  */
6149
- export declare function useOpenConversationsNeedResponseCountQuery(baseOptions: Apollo.QueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables> & ({
6150
- variables: OpenConversationsNeedResponseCountQueryVariables;
6774
+ export declare function useClientByPhoneQuery(baseOptions: Apollo.QueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables> & ({
6775
+ variables: ClientByPhoneQueryVariables;
6151
6776
  skip?: boolean;
6152
6777
  } | {
6153
6778
  skip: boolean;
6154
- })): Apollo.QueryResult<OpenConversationsNeedResponseCountQuery, Exact<{
6155
- input: OpenConversationsNeedResponseInput;
6779
+ })): Apollo.QueryResult<ClientByPhoneQuery, Exact<{
6780
+ input: ClientByPhoneInput;
6156
6781
  }>>;
6157
- export declare function useOpenConversationsNeedResponseCountLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>): Apollo.LazyQueryResultTuple<OpenConversationsNeedResponseCountQuery, Exact<{
6158
- input: OpenConversationsNeedResponseInput;
6782
+ export declare function useClientByPhoneLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables>): Apollo.LazyQueryResultTuple<ClientByPhoneQuery, Exact<{
6783
+ input: ClientByPhoneInput;
6159
6784
  }>>;
6160
- export declare function useOpenConversationsNeedResponseCountSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>): Apollo.UseSuspenseQueryResult<OpenConversationsNeedResponseCountQuery | undefined, Exact<{
6161
- input: OpenConversationsNeedResponseInput;
6785
+ export declare function useClientByPhoneSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientByPhoneQuery, ClientByPhoneQueryVariables>): Apollo.UseSuspenseQueryResult<ClientByPhoneQuery | undefined, Exact<{
6786
+ input: ClientByPhoneInput;
6162
6787
  }>>;
6163
- export type OpenConversationsNeedResponseCountQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountQuery>;
6164
- export type OpenConversationsNeedResponseCountLazyQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountLazyQuery>;
6165
- export type OpenConversationsNeedResponseCountSuspenseQueryHookResult = ReturnType<typeof useOpenConversationsNeedResponseCountSuspenseQuery>;
6166
- export type OpenConversationsNeedResponseCountQueryResult = Apollo.QueryResult<OpenConversationsNeedResponseCountQuery, OpenConversationsNeedResponseCountQueryVariables>;
6167
- export declare function refetchOpenConversationsNeedResponseCountQuery(variables: OpenConversationsNeedResponseCountQueryVariables): {
6788
+ export type ClientByPhoneQueryHookResult = ReturnType<typeof useClientByPhoneQuery>;
6789
+ export type ClientByPhoneLazyQueryHookResult = ReturnType<typeof useClientByPhoneLazyQuery>;
6790
+ export type ClientByPhoneSuspenseQueryHookResult = ReturnType<typeof useClientByPhoneSuspenseQuery>;
6791
+ export type ClientByPhoneQueryResult = Apollo.QueryResult<ClientByPhoneQuery, ClientByPhoneQueryVariables>;
6792
+ export declare function refetchClientByPhoneQuery(variables: ClientByPhoneQueryVariables): {
6168
6793
  query: Apollo.DocumentNode;
6169
6794
  variables: Exact<{
6170
- input: OpenConversationsNeedResponseInput;
6795
+ input: ClientByPhoneInput;
6171
6796
  }>;
6172
6797
  };
6173
- export declare const PatchAgentDocument: Apollo.DocumentNode;
6174
- export type PatchAgentMutationFn = Apollo.MutationFunction<PatchAgentMutation, PatchAgentMutationVariables>;
6175
- /**
6176
- * __usePatchAgentMutation__
6177
- *
6178
- * To run a mutation, you first call `usePatchAgentMutation` within a React component and pass it any options that fit your needs.
6179
- * When your component renders, `usePatchAgentMutation` returns a tuple that includes:
6180
- * - A mutate function that you can call at any time to execute the mutation
6181
- * - An object with fields that represent the current status of the mutation's execution
6182
- *
6183
- * @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;
6184
- *
6185
- * @example
6186
- * const [patchAgentMutation, { data, loading, error }] = usePatchAgentMutation({
6187
- * variables: {
6188
- * input: // value for 'input'
6189
- * },
6190
- * });
6191
- */
6192
- export declare function usePatchAgentMutation(baseOptions?: Apollo.MutationHookOptions<PatchAgentMutation, PatchAgentMutationVariables>): Apollo.MutationTuple<PatchAgentMutation, Exact<{
6193
- input: AgentPatchInput;
6194
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6195
- export type PatchAgentMutationHookResult = ReturnType<typeof usePatchAgentMutation>;
6196
- export type PatchAgentMutationResult = Apollo.MutationResult<PatchAgentMutation>;
6197
- export type PatchAgentMutationOptions = Apollo.BaseMutationOptions<PatchAgentMutation, PatchAgentMutationVariables>;
6198
- export declare const PatchBroadcastDocument: Apollo.DocumentNode;
6199
- export type PatchBroadcastMutationFn = Apollo.MutationFunction<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
6200
- /**
6201
- * __usePatchBroadcastMutation__
6202
- *
6203
- * To run a mutation, you first call `usePatchBroadcastMutation` within a React component and pass it any options that fit your needs.
6204
- * When your component renders, `usePatchBroadcastMutation` returns a tuple that includes:
6205
- * - A mutate function that you can call at any time to execute the mutation
6206
- * - An object with fields that represent the current status of the mutation's execution
6207
- *
6208
- * @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;
6209
- *
6210
- * @example
6211
- * const [patchBroadcastMutation, { data, loading, error }] = usePatchBroadcastMutation({
6212
- * variables: {
6213
- * input: // value for 'input'
6214
- * },
6215
- * });
6216
- */
6217
- export declare function usePatchBroadcastMutation(baseOptions?: Apollo.MutationHookOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>): Apollo.MutationTuple<PatchBroadcastMutation, Exact<{
6218
- input: BroadcastPatchInput;
6219
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6220
- export type PatchBroadcastMutationHookResult = ReturnType<typeof usePatchBroadcastMutation>;
6221
- export type PatchBroadcastMutationResult = Apollo.MutationResult<PatchBroadcastMutation>;
6222
- export type PatchBroadcastMutationOptions = Apollo.BaseMutationOptions<PatchBroadcastMutation, PatchBroadcastMutationVariables>;
6223
- export declare const PatchClientDocument: Apollo.DocumentNode;
6224
- export type PatchClientMutationFn = Apollo.MutationFunction<PatchClientMutation, PatchClientMutationVariables>;
6798
+ export declare const ClientsDocument: Apollo.DocumentNode;
6225
6799
  /**
6226
- * __usePatchClientMutation__
6800
+ * __useClientsQuery__
6227
6801
  *
6228
- * To run a mutation, you first call `usePatchClientMutation` within a React component and pass it any options that fit your needs.
6229
- * When your component renders, `usePatchClientMutation` returns a tuple that includes:
6230
- * - A mutate function that you can call at any time to execute the mutation
6231
- * - An object with fields that represent the current status of the mutation's execution
6802
+ * To run a query within a React component, call `useClientsQuery` and pass it any options that fit your needs.
6803
+ * When your component renders, `useClientsQuery` returns an object from Apollo Client that contains loading, error, and data properties
6804
+ * you can use to render your UI.
6232
6805
  *
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;
6806
+ * @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;
6234
6807
  *
6235
6808
  * @example
6236
- * const [patchClientMutation, { data, loading, error }] = usePatchClientMutation({
6809
+ * const { data, loading, error } = useClientsQuery({
6237
6810
  * variables: {
6238
6811
  * input: // value for 'input'
6812
+ * pageInfo: // value for 'pageInfo'
6239
6813
  * },
6240
6814
  * });
6241
6815
  */
6242
- export declare function usePatchClientMutation(baseOptions?: Apollo.MutationHookOptions<PatchClientMutation, PatchClientMutationVariables>): Apollo.MutationTuple<PatchClientMutation, Exact<{
6243
- input: ClientPatchInput;
6244
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6245
- export type PatchClientMutationHookResult = ReturnType<typeof usePatchClientMutation>;
6246
- export type PatchClientMutationResult = Apollo.MutationResult<PatchClientMutation>;
6247
- export type PatchClientMutationOptions = Apollo.BaseMutationOptions<PatchClientMutation, PatchClientMutationVariables>;
6248
- export declare const PatchConvDocument: Apollo.DocumentNode;
6249
- export type PatchConvMutationFn = Apollo.MutationFunction<PatchConvMutation, PatchConvMutationVariables>;
6816
+ export declare function useClientsQuery(baseOptions: Apollo.QueryHookOptions<ClientsQuery, ClientsQueryVariables> & ({
6817
+ variables: ClientsQueryVariables;
6818
+ skip?: boolean;
6819
+ } | {
6820
+ skip: boolean;
6821
+ })): Apollo.QueryResult<ClientsQuery, Exact<{
6822
+ input: ClientsInput;
6823
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6824
+ }>>;
6825
+ export declare function useClientsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ClientsQuery, ClientsQueryVariables>): Apollo.LazyQueryResultTuple<ClientsQuery, Exact<{
6826
+ input: ClientsInput;
6827
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6828
+ }>>;
6829
+ export declare function useClientsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ClientsQuery, ClientsQueryVariables>): Apollo.UseSuspenseQueryResult<ClientsQuery | undefined, Exact<{
6830
+ input: ClientsInput;
6831
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6832
+ }>>;
6833
+ export type ClientsQueryHookResult = ReturnType<typeof useClientsQuery>;
6834
+ export type ClientsLazyQueryHookResult = ReturnType<typeof useClientsLazyQuery>;
6835
+ export type ClientsSuspenseQueryHookResult = ReturnType<typeof useClientsSuspenseQuery>;
6836
+ export type ClientsQueryResult = Apollo.QueryResult<ClientsQuery, ClientsQueryVariables>;
6837
+ export declare function refetchClientsQuery(variables: ClientsQueryVariables): {
6838
+ query: Apollo.DocumentNode;
6839
+ variables: Exact<{
6840
+ input: ClientsInput;
6841
+ pageInfo?: InputMaybe<PageInfoInput> | undefined;
6842
+ }>;
6843
+ };
6844
+ export declare const CreateClientDocument: Apollo.DocumentNode;
6845
+ export type CreateClientMutationFn = Apollo.MutationFunction<CreateClientMutation, CreateClientMutationVariables>;
6250
6846
  /**
6251
- * __usePatchConvMutation__
6847
+ * __useCreateClientMutation__
6252
6848
  *
6253
- * To run a mutation, you first call `usePatchConvMutation` within a React component and pass it any options that fit your needs.
6254
- * When your component renders, `usePatchConvMutation` returns a tuple that includes:
6849
+ * To run a mutation, you first call `useCreateClientMutation` within a React component and pass it any options that fit your needs.
6850
+ * When your component renders, `useCreateClientMutation` returns a tuple that includes:
6255
6851
  * - A mutate function that you can call at any time to execute the mutation
6256
6852
  * - An object with fields that represent the current status of the mutation's execution
6257
6853
  *
6258
6854
  * @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;
6259
6855
  *
6260
6856
  * @example
6261
- * const [patchConvMutation, { data, loading, error }] = usePatchConvMutation({
6857
+ * const [createClientMutation, { data, loading, error }] = useCreateClientMutation({
6262
6858
  * variables: {
6263
6859
  * input: // value for 'input'
6264
6860
  * },
6265
6861
  * });
6266
6862
  */
6267
- export declare function usePatchConvMutation(baseOptions?: Apollo.MutationHookOptions<PatchConvMutation, PatchConvMutationVariables>): Apollo.MutationTuple<PatchConvMutation, Exact<{
6268
- input: ConvPatchInput;
6863
+ export declare function useCreateClientMutation(baseOptions?: Apollo.MutationHookOptions<CreateClientMutation, CreateClientMutationVariables>): Apollo.MutationTuple<CreateClientMutation, Exact<{
6864
+ input: ClientCreateInput;
6269
6865
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6270
- export type PatchConvMutationHookResult = ReturnType<typeof usePatchConvMutation>;
6271
- export type PatchConvMutationResult = Apollo.MutationResult<PatchConvMutation>;
6272
- export type PatchConvMutationOptions = Apollo.BaseMutationOptions<PatchConvMutation, PatchConvMutationVariables>;
6273
- export declare const StartConvDocument: Apollo.DocumentNode;
6274
- export type StartConvMutationFn = Apollo.MutationFunction<StartConvMutation, StartConvMutationVariables>;
6866
+ export type CreateClientMutationHookResult = ReturnType<typeof useCreateClientMutation>;
6867
+ export type CreateClientMutationResult = Apollo.MutationResult<CreateClientMutation>;
6868
+ export type CreateClientMutationOptions = Apollo.BaseMutationOptions<CreateClientMutation, CreateClientMutationVariables>;
6869
+ export declare const DeleteClientDocument: Apollo.DocumentNode;
6870
+ export type DeleteClientMutationFn = Apollo.MutationFunction<DeleteClientMutation, DeleteClientMutationVariables>;
6275
6871
  /**
6276
- * __useStartConvMutation__
6872
+ * __useDeleteClientMutation__
6277
6873
  *
6278
- * To run a mutation, you first call `useStartConvMutation` within a React component and pass it any options that fit your needs.
6279
- * When your component renders, `useStartConvMutation` returns a tuple that includes:
6874
+ * To run a mutation, you first call `useDeleteClientMutation` within a React component and pass it any options that fit your needs.
6875
+ * When your component renders, `useDeleteClientMutation` returns a tuple that includes:
6280
6876
  * - A mutate function that you can call at any time to execute the mutation
6281
6877
  * - An object with fields that represent the current status of the mutation's execution
6282
6878
  *
6283
6879
  * @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;
6284
6880
  *
6285
6881
  * @example
6286
- * const [startConvMutation, { data, loading, error }] = useStartConvMutation({
6882
+ * const [deleteClientMutation, { data, loading, error }] = useDeleteClientMutation({
6287
6883
  * variables: {
6288
6884
  * input: // value for 'input'
6289
6885
  * },
6290
6886
  * });
6291
6887
  */
6292
- export declare function useStartConvMutation(baseOptions?: Apollo.MutationHookOptions<StartConvMutation, StartConvMutationVariables>): Apollo.MutationTuple<StartConvMutation, Exact<{
6293
- input: ConvStartInput;
6888
+ export declare function useDeleteClientMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientMutation, DeleteClientMutationVariables>): Apollo.MutationTuple<DeleteClientMutation, Exact<{
6889
+ input: ClientInput;
6294
6890
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6295
- export type StartConvMutationHookResult = ReturnType<typeof useStartConvMutation>;
6296
- export type StartConvMutationResult = Apollo.MutationResult<StartConvMutation>;
6297
- export type StartConvMutationOptions = Apollo.BaseMutationOptions<StartConvMutation, StartConvMutationVariables>;
6298
- export declare const TagClientDocument: Apollo.DocumentNode;
6299
- export type TagClientMutationFn = Apollo.MutationFunction<TagClientMutation, TagClientMutationVariables>;
6891
+ export type DeleteClientMutationHookResult = ReturnType<typeof useDeleteClientMutation>;
6892
+ export type DeleteClientMutationResult = Apollo.MutationResult<DeleteClientMutation>;
6893
+ export type DeleteClientMutationOptions = Apollo.BaseMutationOptions<DeleteClientMutation, DeleteClientMutationVariables>;
6894
+ export declare const DeleteClientByExternalIdDocument: Apollo.DocumentNode;
6895
+ export type DeleteClientByExternalIdMutationFn = Apollo.MutationFunction<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
6300
6896
  /**
6301
- * __useTagClientMutation__
6897
+ * __useDeleteClientByExternalIdMutation__
6302
6898
  *
6303
- * To run a mutation, you first call `useTagClientMutation` within a React component and pass it any options that fit your needs.
6304
- * When your component renders, `useTagClientMutation` returns a tuple that includes:
6899
+ * To run a mutation, you first call `useDeleteClientByExternalIdMutation` within a React component and pass it any options that fit your needs.
6900
+ * When your component renders, `useDeleteClientByExternalIdMutation` returns a tuple that includes:
6305
6901
  * - A mutate function that you can call at any time to execute the mutation
6306
6902
  * - An object with fields that represent the current status of the mutation's execution
6307
6903
  *
6308
6904
  * @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;
6309
6905
  *
6310
6906
  * @example
6311
- * const [tagClientMutation, { data, loading, error }] = useTagClientMutation({
6907
+ * const [deleteClientByExternalIdMutation, { data, loading, error }] = useDeleteClientByExternalIdMutation({
6312
6908
  * variables: {
6313
6909
  * input: // value for 'input'
6314
6910
  * },
6315
6911
  * });
6316
6912
  */
6317
- export declare function useTagClientMutation(baseOptions?: Apollo.MutationHookOptions<TagClientMutation, TagClientMutationVariables>): Apollo.MutationTuple<TagClientMutation, Exact<{
6318
- input: ClientTagInput;
6913
+ export declare function useDeleteClientByExternalIdMutation(baseOptions?: Apollo.MutationHookOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>): Apollo.MutationTuple<DeleteClientByExternalIdMutation, Exact<{
6914
+ input: ClientDeleteByExternalIdInput;
6319
6915
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6320
- export type TagClientMutationHookResult = ReturnType<typeof useTagClientMutation>;
6321
- export type TagClientMutationResult = Apollo.MutationResult<TagClientMutation>;
6322
- export type TagClientMutationOptions = Apollo.BaseMutationOptions<TagClientMutation, TagClientMutationVariables>;
6323
- export declare const TagConvDocument: Apollo.DocumentNode;
6324
- export type TagConvMutationFn = Apollo.MutationFunction<TagConvMutation, TagConvMutationVariables>;
6916
+ export type DeleteClientByExternalIdMutationHookResult = ReturnType<typeof useDeleteClientByExternalIdMutation>;
6917
+ export type DeleteClientByExternalIdMutationResult = Apollo.MutationResult<DeleteClientByExternalIdMutation>;
6918
+ export type DeleteClientByExternalIdMutationOptions = Apollo.BaseMutationOptions<DeleteClientByExternalIdMutation, DeleteClientByExternalIdMutationVariables>;
6919
+ export declare const PatchClientDocument: Apollo.DocumentNode;
6920
+ export type PatchClientMutationFn = Apollo.MutationFunction<PatchClientMutation, PatchClientMutationVariables>;
6325
6921
  /**
6326
- * __useTagConvMutation__
6922
+ * __usePatchClientMutation__
6327
6923
  *
6328
- * To run a mutation, you first call `useTagConvMutation` within a React component and pass it any options that fit your needs.
6329
- * When your component renders, `useTagConvMutation` returns a tuple that includes:
6924
+ * To run a mutation, you first call `usePatchClientMutation` within a React component and pass it any options that fit your needs.
6925
+ * When your component renders, `usePatchClientMutation` returns a tuple that includes:
6330
6926
  * - A mutate function that you can call at any time to execute the mutation
6331
6927
  * - An object with fields that represent the current status of the mutation's execution
6332
6928
  *
6333
6929
  * @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;
6334
6930
  *
6335
6931
  * @example
6336
- * const [tagConvMutation, { data, loading, error }] = useTagConvMutation({
6932
+ * const [patchClientMutation, { data, loading, error }] = usePatchClientMutation({
6337
6933
  * variables: {
6338
6934
  * input: // value for 'input'
6339
6935
  * },
6340
6936
  * });
6341
6937
  */
6342
- export declare function useTagConvMutation(baseOptions?: Apollo.MutationHookOptions<TagConvMutation, TagConvMutationVariables>): Apollo.MutationTuple<TagConvMutation, Exact<{
6343
- input: ConvTagInput;
6938
+ export declare function usePatchClientMutation(baseOptions?: Apollo.MutationHookOptions<PatchClientMutation, PatchClientMutationVariables>): Apollo.MutationTuple<PatchClientMutation, Exact<{
6939
+ input: ClientPatchInput;
6344
6940
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6345
- export type TagConvMutationHookResult = ReturnType<typeof useTagConvMutation>;
6346
- export type TagConvMutationResult = Apollo.MutationResult<TagConvMutation>;
6347
- export type TagConvMutationOptions = Apollo.BaseMutationOptions<TagConvMutation, TagConvMutationVariables>;
6348
- export declare const TagsDocument: Apollo.DocumentNode;
6349
- /**
6350
- * __useTagsQuery__
6351
- *
6352
- * To run a query within a React component, call `useTagsQuery` and pass it any options that fit your needs.
6353
- * When your component renders, `useTagsQuery` returns an object from Apollo Client that contains loading, error, and data properties
6354
- * you can use to render your UI.
6355
- *
6356
- * @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;
6357
- *
6358
- * @example
6359
- * const { data, loading, error } = useTagsQuery({
6360
- * variables: {
6361
- * input: // value for 'input'
6362
- * },
6363
- * });
6364
- */
6365
- export declare function useTagsQuery(baseOptions: Apollo.QueryHookOptions<TagsQuery, TagsQueryVariables> & ({
6366
- variables: TagsQueryVariables;
6367
- skip?: boolean;
6368
- } | {
6369
- skip: boolean;
6370
- })): Apollo.QueryResult<TagsQuery, Exact<{
6371
- input: TagsInput;
6372
- }>>;
6373
- export declare function useTagsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<TagsQuery, TagsQueryVariables>): Apollo.LazyQueryResultTuple<TagsQuery, Exact<{
6374
- input: TagsInput;
6375
- }>>;
6376
- export declare function useTagsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<TagsQuery, TagsQueryVariables>): Apollo.UseSuspenseQueryResult<TagsQuery | undefined, Exact<{
6377
- input: TagsInput;
6378
- }>>;
6379
- export type TagsQueryHookResult = ReturnType<typeof useTagsQuery>;
6380
- export type TagsLazyQueryHookResult = ReturnType<typeof useTagsLazyQuery>;
6381
- export type TagsSuspenseQueryHookResult = ReturnType<typeof useTagsSuspenseQuery>;
6382
- export type TagsQueryResult = Apollo.QueryResult<TagsQuery, TagsQueryVariables>;
6383
- export declare function refetchTagsQuery(variables: TagsQueryVariables): {
6384
- query: Apollo.DocumentNode;
6385
- variables: Exact<{
6386
- input: TagsInput;
6387
- }>;
6388
- };
6941
+ export type PatchClientMutationHookResult = ReturnType<typeof usePatchClientMutation>;
6942
+ export type PatchClientMutationResult = Apollo.MutationResult<PatchClientMutation>;
6943
+ export type PatchClientMutationOptions = Apollo.BaseMutationOptions<PatchClientMutation, PatchClientMutationVariables>;
6389
6944
  export declare const UndeleteClientDocument: Apollo.DocumentNode;
6390
6945
  export type UndeleteClientMutationFn = Apollo.MutationFunction<UndeleteClientMutation, UndeleteClientMutationVariables>;
6391
6946
  /**
@@ -6436,56 +6991,6 @@ export declare function useUndeleteClientByExternalIdMutation(baseOptions?: Apol
6436
6991
  export type UndeleteClientByExternalIdMutationHookResult = ReturnType<typeof useUndeleteClientByExternalIdMutation>;
6437
6992
  export type UndeleteClientByExternalIdMutationResult = Apollo.MutationResult<UndeleteClientByExternalIdMutation>;
6438
6993
  export type UndeleteClientByExternalIdMutationOptions = Apollo.BaseMutationOptions<UndeleteClientByExternalIdMutation, UndeleteClientByExternalIdMutationVariables>;
6439
- export declare const UntagClientDocument: Apollo.DocumentNode;
6440
- export type UntagClientMutationFn = Apollo.MutationFunction<UntagClientMutation, UntagClientMutationVariables>;
6441
- /**
6442
- * __useUntagClientMutation__
6443
- *
6444
- * To run a mutation, you first call `useUntagClientMutation` within a React component and pass it any options that fit your needs.
6445
- * When your component renders, `useUntagClientMutation` returns a tuple that includes:
6446
- * - A mutate function that you can call at any time to execute the mutation
6447
- * - An object with fields that represent the current status of the mutation's execution
6448
- *
6449
- * @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;
6450
- *
6451
- * @example
6452
- * const [untagClientMutation, { data, loading, error }] = useUntagClientMutation({
6453
- * variables: {
6454
- * input: // value for 'input'
6455
- * },
6456
- * });
6457
- */
6458
- export declare function useUntagClientMutation(baseOptions?: Apollo.MutationHookOptions<UntagClientMutation, UntagClientMutationVariables>): Apollo.MutationTuple<UntagClientMutation, Exact<{
6459
- input: ClientTagInput;
6460
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6461
- export type UntagClientMutationHookResult = ReturnType<typeof useUntagClientMutation>;
6462
- export type UntagClientMutationResult = Apollo.MutationResult<UntagClientMutation>;
6463
- export type UntagClientMutationOptions = Apollo.BaseMutationOptions<UntagClientMutation, UntagClientMutationVariables>;
6464
- export declare const UntagConvDocument: Apollo.DocumentNode;
6465
- export type UntagConvMutationFn = Apollo.MutationFunction<UntagConvMutation, UntagConvMutationVariables>;
6466
- /**
6467
- * __useUntagConvMutation__
6468
- *
6469
- * To run a mutation, you first call `useUntagConvMutation` within a React component and pass it any options that fit your needs.
6470
- * When your component renders, `useUntagConvMutation` returns a tuple that includes:
6471
- * - A mutate function that you can call at any time to execute the mutation
6472
- * - An object with fields that represent the current status of the mutation's execution
6473
- *
6474
- * @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;
6475
- *
6476
- * @example
6477
- * const [untagConvMutation, { data, loading, error }] = useUntagConvMutation({
6478
- * variables: {
6479
- * input: // value for 'input'
6480
- * },
6481
- * });
6482
- */
6483
- export declare function useUntagConvMutation(baseOptions?: Apollo.MutationHookOptions<UntagConvMutation, UntagConvMutationVariables>): Apollo.MutationTuple<UntagConvMutation, Exact<{
6484
- input: ConvTagInput;
6485
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
6486
- export type UntagConvMutationHookResult = ReturnType<typeof useUntagConvMutation>;
6487
- export type UntagConvMutationResult = Apollo.MutationResult<UntagConvMutation>;
6488
- export type UntagConvMutationOptions = Apollo.BaseMutationOptions<UntagConvMutation, UntagConvMutationVariables>;
6489
6994
  export declare const ValidateBulkImportContactsDocument: Apollo.DocumentNode;
6490
6995
  /**
6491
6996
  * __useValidateBulkImportContactsQuery__
@@ -6527,88 +7032,6 @@ export declare function refetchValidateBulkImportContactsQuery(variables: Valida
6527
7032
  input: ValidateBulkImportContactsInput;
6528
7033
  }>;
6529
7034
  };
6530
- export declare const WabaMessageTemplateDetailsDocument: Apollo.DocumentNode;
6531
- /**
6532
- * __useWabaMessageTemplateDetailsQuery__
6533
- *
6534
- * To run a query within a React component, call `useWabaMessageTemplateDetailsQuery` and pass it any options that fit your needs.
6535
- * When your component renders, `useWabaMessageTemplateDetailsQuery` returns an object from Apollo Client that contains loading, error, and data properties
6536
- * you can use to render your UI.
6537
- *
6538
- * @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;
6539
- *
6540
- * @example
6541
- * const { data, loading, error } = useWabaMessageTemplateDetailsQuery({
6542
- * variables: {
6543
- * input: // value for 'input'
6544
- * },
6545
- * });
6546
- */
6547
- export declare function useWabaMessageTemplateDetailsQuery(baseOptions: Apollo.QueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables> & ({
6548
- variables: WabaMessageTemplateDetailsQueryVariables;
6549
- skip?: boolean;
6550
- } | {
6551
- skip: boolean;
6552
- })): Apollo.QueryResult<WabaMessageTemplateDetailsQuery, Exact<{
6553
- input: WabaMessageTemplateDetailsInput;
6554
- }>>;
6555
- export declare function useWabaMessageTemplateDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.LazyQueryResultTuple<WabaMessageTemplateDetailsQuery, Exact<{
6556
- input: WabaMessageTemplateDetailsInput;
6557
- }>>;
6558
- export declare function useWabaMessageTemplateDetailsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>): Apollo.UseSuspenseQueryResult<WabaMessageTemplateDetailsQuery | undefined, Exact<{
6559
- input: WabaMessageTemplateDetailsInput;
6560
- }>>;
6561
- export type WabaMessageTemplateDetailsQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsQuery>;
6562
- export type WabaMessageTemplateDetailsLazyQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsLazyQuery>;
6563
- export type WabaMessageTemplateDetailsSuspenseQueryHookResult = ReturnType<typeof useWabaMessageTemplateDetailsSuspenseQuery>;
6564
- export type WabaMessageTemplateDetailsQueryResult = Apollo.QueryResult<WabaMessageTemplateDetailsQuery, WabaMessageTemplateDetailsQueryVariables>;
6565
- export declare function refetchWabaMessageTemplateDetailsQuery(variables: WabaMessageTemplateDetailsQueryVariables): {
6566
- query: Apollo.DocumentNode;
6567
- variables: Exact<{
6568
- input: WabaMessageTemplateDetailsInput;
6569
- }>;
6570
- };
6571
- export declare const WabaMessageTemplatesDocument: Apollo.DocumentNode;
6572
- /**
6573
- * __useWabaMessageTemplatesQuery__
6574
- *
6575
- * To run a query within a React component, call `useWabaMessageTemplatesQuery` and pass it any options that fit your needs.
6576
- * When your component renders, `useWabaMessageTemplatesQuery` returns an object from Apollo Client that contains loading, error, and data properties
6577
- * you can use to render your UI.
6578
- *
6579
- * @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;
6580
- *
6581
- * @example
6582
- * const { data, loading, error } = useWabaMessageTemplatesQuery({
6583
- * variables: {
6584
- * input: // value for 'input'
6585
- * },
6586
- * });
6587
- */
6588
- export declare function useWabaMessageTemplatesQuery(baseOptions: Apollo.QueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables> & ({
6589
- variables: WabaMessageTemplatesQueryVariables;
6590
- skip?: boolean;
6591
- } | {
6592
- skip: boolean;
6593
- })): Apollo.QueryResult<WabaMessageTemplatesQuery, Exact<{
6594
- input: WabaMessageTemplatesInput;
6595
- }>>;
6596
- export declare function useWabaMessageTemplatesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>): Apollo.LazyQueryResultTuple<WabaMessageTemplatesQuery, Exact<{
6597
- input: WabaMessageTemplatesInput;
6598
- }>>;
6599
- export declare function useWabaMessageTemplatesSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>): Apollo.UseSuspenseQueryResult<WabaMessageTemplatesQuery | undefined, Exact<{
6600
- input: WabaMessageTemplatesInput;
6601
- }>>;
6602
- export type WabaMessageTemplatesQueryHookResult = ReturnType<typeof useWabaMessageTemplatesQuery>;
6603
- export type WabaMessageTemplatesLazyQueryHookResult = ReturnType<typeof useWabaMessageTemplatesLazyQuery>;
6604
- export type WabaMessageTemplatesSuspenseQueryHookResult = ReturnType<typeof useWabaMessageTemplatesSuspenseQuery>;
6605
- export type WabaMessageTemplatesQueryResult = Apollo.QueryResult<WabaMessageTemplatesQuery, WabaMessageTemplatesQueryVariables>;
6606
- export declare function refetchWabaMessageTemplatesQuery(variables: WabaMessageTemplatesQueryVariables): {
6607
- query: Apollo.DocumentNode;
6608
- variables: Exact<{
6609
- input: WabaMessageTemplatesInput;
6610
- }>;
6611
- };
6612
7035
  export declare const AiDocument: Apollo.DocumentNode;
6613
7036
  /**
6614
7037
  * __useAiQuery__