cf-service-sdk 0.0.83 → 0.0.85

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.
@@ -93,6 +93,34 @@ export type Scalars = {
93
93
  output: any;
94
94
  };
95
95
  };
96
+ /** Response type for AI agent chat. */
97
+ export type AiAgentChatResponse = {
98
+ __typename?: 'AIAgentChatResponse';
99
+ conversationId?: Maybe<Scalars['String']['output']>;
100
+ error?: Maybe<Scalars['String']['output']>;
101
+ requiresExecution?: Maybe<Scalars['Boolean']['output']>;
102
+ response?: Maybe<Scalars['String']['output']>;
103
+ success?: Maybe<Scalars['Boolean']['output']>;
104
+ toolCalls?: Maybe<Array<Maybe<ToolCallType>>>;
105
+ toolResults?: Maybe<Array<Maybe<ToolResultType>>>;
106
+ };
107
+ /** Response type for continuing after tool execution. */
108
+ export type AiAgentContinueResponse = {
109
+ __typename?: 'AIAgentContinueResponse';
110
+ error?: Maybe<Scalars['String']['output']>;
111
+ requiresExecution?: Maybe<Scalars['Boolean']['output']>;
112
+ response?: Maybe<Scalars['String']['output']>;
113
+ success?: Maybe<Scalars['Boolean']['output']>;
114
+ toolCalls?: Maybe<Array<Maybe<ToolCallType>>>;
115
+ toolResults?: Maybe<Array<Maybe<ToolResultType>>>;
116
+ };
117
+ /** Response type for tool execution. */
118
+ export type AiAgentExecuteResponse = {
119
+ __typename?: 'AIAgentExecuteResponse';
120
+ error?: Maybe<Scalars['String']['output']>;
121
+ results?: Maybe<Array<Maybe<ToolResultType>>>;
122
+ success?: Maybe<Scalars['Boolean']['output']>;
123
+ };
96
124
  /** AcceptInvitation - Accept an invitation to join an account */
97
125
  export type AcceptInvitation = {
98
126
  __typename?: 'AcceptInvitation';
@@ -159,6 +187,15 @@ export type AddSegmentToCampaign = {
159
187
  success?: Maybe<Scalars['Boolean']['output']>;
160
188
  };
161
189
  /** An enumeration. */
190
+ export declare enum AgentConversationMessageRoleChoices {
191
+ /** Assistant */
192
+ Assistant = "ASSISTANT",
193
+ /** System */
194
+ System = "SYSTEM",
195
+ /** User */
196
+ User = "USER"
197
+ }
198
+ /** An enumeration. */
162
199
  export declare enum AppAccountInvitationStatusChoices {
163
200
  /** Accepted */
164
201
  Accepted = "ACCEPTED",
@@ -1627,6 +1664,36 @@ export type ContactStatsType = {
1627
1664
  /** Total number of emails replied to */
1628
1665
  totalReplied?: Maybe<Scalars['Int']['output']>;
1629
1666
  };
1667
+ /** Type for conversation history list. */
1668
+ export type ConversationHistoryType = {
1669
+ __typename?: 'ConversationHistoryType';
1670
+ conversations?: Maybe<Array<Maybe<ConversationType>>>;
1671
+ totalCount?: Maybe<Scalars['Int']['output']>;
1672
+ };
1673
+ /** GraphQL type for ConversationMessage model. */
1674
+ export type ConversationMessageType = Node & {
1675
+ __typename?: 'ConversationMessageType';
1676
+ content: Scalars['JSONString']['output'];
1677
+ conversation?: Maybe<ConversationType>;
1678
+ createdAt: Scalars['DateTime']['output'];
1679
+ /** The ID of the object */
1680
+ id: Scalars['ID']['output'];
1681
+ role: AgentConversationMessageRoleChoices;
1682
+ /** Tool calls made by the assistant */
1683
+ toolCalls?: Maybe<Scalars['JSONString']['output']>;
1684
+ /** Results from tool executions */
1685
+ toolResults?: Maybe<Scalars['JSONString']['output']>;
1686
+ };
1687
+ /** GraphQL type for Conversation model. */
1688
+ export type ConversationType = Node & {
1689
+ __typename?: 'ConversationType';
1690
+ createdAt: Scalars['DateTime']['output'];
1691
+ /** The ID of the object */
1692
+ id: Scalars['ID']['output'];
1693
+ messages?: Maybe<Array<Maybe<ConversationMessageType>>>;
1694
+ updatedAt: Scalars['DateTime']['output'];
1695
+ user?: Maybe<UserType>;
1696
+ };
1630
1697
  export type CreateCallCampaign = {
1631
1698
  __typename?: 'CreateCallCampaign';
1632
1699
  callCampaign?: Maybe<CallCampaignObject>;
@@ -1790,6 +1857,12 @@ export type DeleteContact = {
1790
1857
  __typename?: 'DeleteContact';
1791
1858
  success?: Maybe<Scalars['Boolean']['output']>;
1792
1859
  };
1860
+ /** Mutation for deleting a conversation. */
1861
+ export type DeleteConversation = {
1862
+ __typename?: 'DeleteConversation';
1863
+ message?: Maybe<Scalars['String']['output']>;
1864
+ success?: Maybe<Scalars['Boolean']['output']>;
1865
+ };
1793
1866
  /** DeleteEmailTemplate - Delete an email template (only if owned by user's account) */
1794
1867
  export type DeleteEmailTemplate = {
1795
1868
  __typename?: 'DeleteEmailTemplate';
@@ -1819,6 +1892,31 @@ export type DisconnectNylasIntegration = {
1819
1892
  message?: Maybe<Scalars['String']['output']>;
1820
1893
  success?: Maybe<Scalars['Boolean']['output']>;
1821
1894
  };
1895
+ /** Filter input for email campaign report queries. */
1896
+ export type EmailCampaignReportFilterInput = {
1897
+ /** Date range type: today, yesterday, this_week, last_week, this_month, last_month, custom */
1898
+ dateRange: Scalars['String']['input'];
1899
+ /** Filter for specific user ID (must belong to same account) */
1900
+ forUser?: InputMaybe<Scalars['ID']['input']>;
1901
+ /** Start date (required when date_range is 'custom') */
1902
+ fromDate?: InputMaybe<Scalars['Date']['input']>;
1903
+ /** End date (required when date_range is 'custom') */
1904
+ toDate?: InputMaybe<Scalars['Date']['input']>;
1905
+ };
1906
+ /** Report statistics for email campaigns. */
1907
+ export type EmailCampaignReportStatsType = {
1908
+ __typename?: 'EmailCampaignReportStatsType';
1909
+ /** Number of active (running/scheduled) campaigns */
1910
+ activeCampaignsCount?: Maybe<Scalars['Int']['output']>;
1911
+ /** Percentage of replies (replies / sent * 100) */
1912
+ replyRate?: Maybe<Scalars['Float']['output']>;
1913
+ /** Total unique contacts in filtered logs */
1914
+ totalContactsCount?: Maybe<Scalars['Int']['output']>;
1915
+ /** Total emails sent */
1916
+ totalEmailsSentCount?: Maybe<Scalars['Int']['output']>;
1917
+ /** Total replies received */
1918
+ totalRepliesCount?: Maybe<Scalars['Int']['output']>;
1919
+ };
1822
1920
  export type EmailCampaignScheduledCountType = {
1823
1921
  __typename?: 'EmailCampaignScheduledCountType';
1824
1922
  /** Number of scheduled campaigns */
@@ -1828,6 +1926,48 @@ export type EmailCampaignScheduledCountType = {
1828
1926
  /** Number of scheduled campaigns for today */
1829
1927
  scheduledForToday?: Maybe<Scalars['Int']['output']>;
1830
1928
  };
1929
+ /** Detailed campaign report per user. */
1930
+ export type EmailCampaignUserCampaignReportType = {
1931
+ __typename?: 'EmailCampaignUserCampaignReportType';
1932
+ /** Campaign UUID */
1933
+ campaignId?: Maybe<Scalars['ID']['output']>;
1934
+ /** Campaign name */
1935
+ campaignName?: Maybe<Scalars['String']['output']>;
1936
+ /** Type of the campaign ('email' or 'combined' or None for manual emails) */
1937
+ campaignType?: Maybe<Scalars['String']['output']>;
1938
+ /** Percentage of replies */
1939
+ replyRate?: Maybe<Scalars['Float']['output']>;
1940
+ /** Total unique contacts in campaign */
1941
+ totalContactsCount?: Maybe<Scalars['Int']['output']>;
1942
+ /** Total emails sent for campaign */
1943
+ totalEmailsSentCount?: Maybe<Scalars['Int']['output']>;
1944
+ /** Total replies received for campaign */
1945
+ totalRepliesCount?: Maybe<Scalars['Int']['output']>;
1946
+ /** User's ID */
1947
+ userId?: Maybe<Scalars['ID']['output']>;
1948
+ /** User's full name */
1949
+ userName?: Maybe<Scalars['String']['output']>;
1950
+ };
1951
+ /** User overview for email campaign reports. */
1952
+ export type EmailCampaignUserOverviewType = {
1953
+ __typename?: 'EmailCampaignUserOverviewType';
1954
+ /** Number of running/scheduled campaigns */
1955
+ activeCampaignsCount?: Maybe<Scalars['Int']['output']>;
1956
+ /** Number of completed campaigns */
1957
+ completedCampaignsCount?: Maybe<Scalars['Int']['output']>;
1958
+ /** Percentage of replies */
1959
+ replyRate?: Maybe<Scalars['Float']['output']>;
1960
+ /** Total unique contacts */
1961
+ totalContactsCount?: Maybe<Scalars['Int']['output']>;
1962
+ /** Total emails sent */
1963
+ totalEmailsSentCount?: Maybe<Scalars['Int']['output']>;
1964
+ /** Total replies received */
1965
+ totalRepliesCount?: Maybe<Scalars['Int']['output']>;
1966
+ /** User's ID */
1967
+ userId?: Maybe<Scalars['ID']['output']>;
1968
+ /** User's full name */
1969
+ userName?: Maybe<Scalars['String']['output']>;
1970
+ };
1831
1971
  /** GraphQL type for EmailIntegration model */
1832
1972
  export type EmailIntegrationType = {
1833
1973
  __typename?: 'EmailIntegrationType';
@@ -2119,6 +2259,12 @@ export type Mutation = {
2119
2259
  addContactsToSegment?: Maybe<AddContactsToSegment>;
2120
2260
  addSegmentToCallCampaign?: Maybe<AddSegmentToCallCampaign>;
2121
2261
  addSegmentToCampaign?: Maybe<AddSegmentToCampaign>;
2262
+ /** Mutation for chatting with the AI agent. */
2263
+ aiAgentChat?: Maybe<AiAgentChatResponse>;
2264
+ /** Mutation for continuing conversation after tool execution. */
2265
+ aiAgentContinue?: Maybe<AiAgentContinueResponse>;
2266
+ /** Mutation for executing tool calls. */
2267
+ aiAgentExecute?: Maybe<AiAgentExecuteResponse>;
2122
2268
  bulkAssignCompanyOwners?: Maybe<BulkAssignCompanyOwnerMutation>;
2123
2269
  cancelCampaign?: Maybe<CancelCampaign>;
2124
2270
  /** Cancel a combined campaign */
@@ -2156,6 +2302,8 @@ export type Mutation = {
2156
2302
  deleteCompany?: Maybe<DeleteCompany>;
2157
2303
  deleteCompanyNote?: Maybe<DeleteCompanyNote>;
2158
2304
  deleteContact?: Maybe<DeleteContact>;
2305
+ /** Mutation for deleting a conversation. */
2306
+ deleteConversation?: Maybe<DeleteConversation>;
2159
2307
  /** DeleteEmailTemplate - Delete an email template (only if owned by user's account) */
2160
2308
  deleteEmailTemplate?: Maybe<DeleteEmailTemplate>;
2161
2309
  /** Delete a notification */
@@ -2274,6 +2422,7 @@ export type MutationAddContactsToCombinedCampaignArgs = {
2274
2422
  /** Mutations */
2275
2423
  export type MutationAddContactsToSegmentArgs = {
2276
2424
  contactIds: Array<InputMaybe<Scalars['ID']['input']>>;
2425
+ processSignals?: InputMaybe<Scalars['Boolean']['input']>;
2277
2426
  segmentId: Scalars['ID']['input'];
2278
2427
  };
2279
2428
  /** Mutations */
@@ -2287,6 +2436,22 @@ export type MutationAddSegmentToCampaignArgs = {
2287
2436
  segmentId: Scalars['ID']['input'];
2288
2437
  };
2289
2438
  /** Mutations */
2439
+ export type MutationAiAgentChatArgs = {
2440
+ conversationId?: InputMaybe<Scalars['String']['input']>;
2441
+ enableTools?: InputMaybe<Scalars['Boolean']['input']>;
2442
+ message: Scalars['String']['input'];
2443
+ };
2444
+ /** Mutations */
2445
+ export type MutationAiAgentContinueArgs = {
2446
+ conversationId: Scalars['String']['input'];
2447
+ toolResults: Array<InputMaybe<Scalars['JSONString']['input']>>;
2448
+ };
2449
+ /** Mutations */
2450
+ export type MutationAiAgentExecuteArgs = {
2451
+ conversationId: Scalars['String']['input'];
2452
+ toolCalls: Array<InputMaybe<Scalars['JSONString']['input']>>;
2453
+ };
2454
+ /** Mutations */
2290
2455
  export type MutationBulkAssignCompanyOwnersArgs = {
2291
2456
  input?: InputMaybe<BulkAssignOwnersInput>;
2292
2457
  };
@@ -2388,6 +2553,10 @@ export type MutationDeleteContactArgs = {
2388
2553
  id?: InputMaybe<Scalars['ID']['input']>;
2389
2554
  };
2390
2555
  /** Mutations */
2556
+ export type MutationDeleteConversationArgs = {
2557
+ conversationId: Scalars['String']['input'];
2558
+ };
2559
+ /** Mutations */
2391
2560
  export type MutationDeleteEmailTemplateArgs = {
2392
2561
  uuid: Scalars['UUID']['input'];
2393
2562
  };
@@ -2665,6 +2834,11 @@ export type MyInvitationsType = {
2665
2834
  status: Scalars['String']['output'];
2666
2835
  token: Scalars['String']['output'];
2667
2836
  };
2837
+ /** An object with an ID */
2838
+ export type Node = {
2839
+ /** The ID of the object */
2840
+ id: Scalars['ID']['output'];
2841
+ };
2668
2842
  /** GraphQL type for Notification model */
2669
2843
  export type NotificationType = {
2670
2844
  __typename?: 'NotificationType';
@@ -2930,9 +3104,17 @@ export type Query = {
2930
3104
  contacts?: Maybe<Array<Maybe<ContactObject>>>;
2931
3105
  /** Get paginated list of contacts in a segment */
2932
3106
  contactsInSegment?: Maybe<PaginatedContactList>;
3107
+ conversation?: Maybe<ConversationType>;
3108
+ conversationHistory?: Maybe<ConversationHistoryType>;
2933
3109
  currentAccount?: Maybe<AccountType>;
2934
3110
  /** Get dashboard statistics across different features */
2935
3111
  dashboardStats?: Maybe<DashboardStatsType>;
3112
+ /** Get detailed email campaign report grouped by user and campaign */
3113
+ emailCampaignReportByCampaign?: Maybe<Array<Maybe<EmailCampaignUserCampaignReportType>>>;
3114
+ /** Get email campaign report overview grouped by user */
3115
+ emailCampaignReportOverview?: Maybe<Array<Maybe<EmailCampaignUserOverviewType>>>;
3116
+ /** Get email campaign report statistics */
3117
+ emailCampaignReportStats?: Maybe<EmailCampaignReportStatsType>;
2936
3118
  emailTemplate?: Maybe<EmailTemplateType>;
2937
3119
  emailTemplates?: Maybe<Array<Maybe<EmailTemplateType>>>;
2938
3120
  employeeSizes?: Maybe<Array<Maybe<EmployeeSizeData>>>;
@@ -3114,11 +3296,32 @@ export type QueryContactsInSegmentArgs = {
3114
3296
  segmentId: Scalars['ID']['input'];
3115
3297
  };
3116
3298
  /** Query */
3299
+ export type QueryConversationArgs = {
3300
+ conversationId: Scalars['String']['input'];
3301
+ };
3302
+ /** Query */
3303
+ export type QueryConversationHistoryArgs = {
3304
+ limit?: InputMaybe<Scalars['Int']['input']>;
3305
+ offset?: InputMaybe<Scalars['Int']['input']>;
3306
+ };
3307
+ /** Query */
3117
3308
  export type QueryDashboardStatsArgs = {
3118
3309
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
3119
3310
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
3120
3311
  };
3121
3312
  /** Query */
3313
+ export type QueryEmailCampaignReportByCampaignArgs = {
3314
+ filters: EmailCampaignReportFilterInput;
3315
+ };
3316
+ /** Query */
3317
+ export type QueryEmailCampaignReportOverviewArgs = {
3318
+ filters: EmailCampaignReportFilterInput;
3319
+ };
3320
+ /** Query */
3321
+ export type QueryEmailCampaignReportStatsArgs = {
3322
+ filters: EmailCampaignReportFilterInput;
3323
+ };
3324
+ /** Query */
3122
3325
  export type QueryEmailTemplateArgs = {
3123
3326
  uuid: Scalars['UUID']['input'];
3124
3327
  };
@@ -3611,6 +3814,23 @@ export type TasksResponse = {
3611
3814
  pagination?: Maybe<PaginationInfo>;
3612
3815
  stats?: Maybe<TaskStatsObject>;
3613
3816
  };
3817
+ /** Type for tool calls. */
3818
+ export type ToolCallType = {
3819
+ __typename?: 'ToolCallType';
3820
+ id?: Maybe<Scalars['String']['output']>;
3821
+ input?: Maybe<Scalars['JSONString']['output']>;
3822
+ name?: Maybe<Scalars['String']['output']>;
3823
+ type?: Maybe<Scalars['String']['output']>;
3824
+ };
3825
+ /** Type for tool execution results. */
3826
+ export type ToolResultType = {
3827
+ __typename?: 'ToolResultType';
3828
+ error?: Maybe<Scalars['String']['output']>;
3829
+ result?: Maybe<Scalars['JSONString']['output']>;
3830
+ success?: Maybe<Scalars['Boolean']['output']>;
3831
+ toolUseId?: Maybe<Scalars['String']['output']>;
3832
+ type?: Maybe<Scalars['String']['output']>;
3833
+ };
3614
3834
  export type UsStateData = {
3615
3835
  __typename?: 'USStateData';
3616
3836
  /** State abbreviation */
@@ -4003,6 +4223,7 @@ export type AddContactsToCombinedCampaignMutation = {
4003
4223
  };
4004
4224
  export type AddContactsToSegmentMutationVariables = Exact<{
4005
4225
  contactIds: Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>;
4226
+ processSignals?: InputMaybe<Scalars['Boolean']['input']>;
4006
4227
  segmentId: Scalars['ID']['input'];
4007
4228
  }>;
4008
4229
  export type AddContactsToSegmentMutation = {
@@ -4166,6 +4387,86 @@ export type AddSegmentToCampaignMutation = {
4166
4387
  } | null;
4167
4388
  } | null;
4168
4389
  };
4390
+ export type AiAgentChatMutationVariables = Exact<{
4391
+ conversationId?: InputMaybe<Scalars['String']['input']>;
4392
+ enableTools?: InputMaybe<Scalars['Boolean']['input']>;
4393
+ message: Scalars['String']['input'];
4394
+ }>;
4395
+ export type AiAgentChatMutation = {
4396
+ __typename?: 'Mutation';
4397
+ aiAgentChat?: {
4398
+ __typename?: 'AIAgentChatResponse';
4399
+ success?: boolean | null;
4400
+ conversationId?: string | null;
4401
+ response?: string | null;
4402
+ requiresExecution?: boolean | null;
4403
+ error?: string | null;
4404
+ toolCalls?: Array<{
4405
+ __typename?: 'ToolCallType';
4406
+ type?: string | null;
4407
+ id?: string | null;
4408
+ name?: string | null;
4409
+ input?: any | null;
4410
+ } | null> | null;
4411
+ toolResults?: Array<{
4412
+ __typename?: 'ToolResultType';
4413
+ toolUseId?: string | null;
4414
+ type?: string | null;
4415
+ success?: boolean | null;
4416
+ result?: any | null;
4417
+ error?: string | null;
4418
+ } | null> | null;
4419
+ } | null;
4420
+ };
4421
+ export type AiAgentContinueMutationVariables = Exact<{
4422
+ conversationId: Scalars['String']['input'];
4423
+ toolResults: Array<InputMaybe<Scalars['JSONString']['input']>> | InputMaybe<Scalars['JSONString']['input']>;
4424
+ }>;
4425
+ export type AiAgentContinueMutation = {
4426
+ __typename?: 'Mutation';
4427
+ aiAgentContinue?: {
4428
+ __typename?: 'AIAgentContinueResponse';
4429
+ success?: boolean | null;
4430
+ response?: string | null;
4431
+ requiresExecution?: boolean | null;
4432
+ error?: string | null;
4433
+ toolCalls?: Array<{
4434
+ __typename?: 'ToolCallType';
4435
+ type?: string | null;
4436
+ id?: string | null;
4437
+ name?: string | null;
4438
+ input?: any | null;
4439
+ } | null> | null;
4440
+ toolResults?: Array<{
4441
+ __typename?: 'ToolResultType';
4442
+ toolUseId?: string | null;
4443
+ type?: string | null;
4444
+ success?: boolean | null;
4445
+ result?: any | null;
4446
+ error?: string | null;
4447
+ } | null> | null;
4448
+ } | null;
4449
+ };
4450
+ export type AiAgentExecuteMutationVariables = Exact<{
4451
+ conversationId: Scalars['String']['input'];
4452
+ toolCalls: Array<InputMaybe<Scalars['JSONString']['input']>> | InputMaybe<Scalars['JSONString']['input']>;
4453
+ }>;
4454
+ export type AiAgentExecuteMutation = {
4455
+ __typename?: 'Mutation';
4456
+ aiAgentExecute?: {
4457
+ __typename?: 'AIAgentExecuteResponse';
4458
+ success?: boolean | null;
4459
+ error?: string | null;
4460
+ results?: Array<{
4461
+ __typename?: 'ToolResultType';
4462
+ toolUseId?: string | null;
4463
+ type?: string | null;
4464
+ success?: boolean | null;
4465
+ result?: any | null;
4466
+ error?: string | null;
4467
+ } | null> | null;
4468
+ } | null;
4469
+ };
4169
4470
  export type BulkAssignCompanyOwnersMutationVariables = Exact<{
4170
4471
  input?: InputMaybe<BulkAssignOwnersInput>;
4171
4472
  }>;
@@ -10727,6 +11028,17 @@ export type DeleteContactMutation = {
10727
11028
  success?: boolean | null;
10728
11029
  } | null;
10729
11030
  };
11031
+ export type DeleteConversationMutationVariables = Exact<{
11032
+ conversationId: Scalars['String']['input'];
11033
+ }>;
11034
+ export type DeleteConversationMutation = {
11035
+ __typename?: 'Mutation';
11036
+ deleteConversation?: {
11037
+ __typename?: 'DeleteConversation';
11038
+ success?: boolean | null;
11039
+ message?: string | null;
11040
+ } | null;
11041
+ };
10730
11042
  export type DeleteEmailTemplateMutationVariables = Exact<{
10731
11043
  uuid: Scalars['UUID']['input'];
10732
11044
  }>;
@@ -33562,6 +33874,69 @@ export type ContactsInSegmentQuery = {
33562
33874
  } | null;
33563
33875
  } | null;
33564
33876
  };
33877
+ export type ConversationQueryVariables = Exact<{
33878
+ conversationId: Scalars['String']['input'];
33879
+ }>;
33880
+ export type ConversationQuery = {
33881
+ __typename?: 'Query';
33882
+ conversation?: {
33883
+ __typename?: 'ConversationType';
33884
+ id: string;
33885
+ createdAt: any;
33886
+ updatedAt: any;
33887
+ user?: {
33888
+ __typename?: 'UserType';
33889
+ id?: string | null;
33890
+ email?: string | null;
33891
+ firstName?: string | null;
33892
+ lastName?: string | null;
33893
+ picture?: string | null;
33894
+ } | null;
33895
+ messages?: Array<{
33896
+ __typename?: 'ConversationMessageType';
33897
+ id: string;
33898
+ role: AgentConversationMessageRoleChoices;
33899
+ content: any;
33900
+ toolCalls?: any | null;
33901
+ toolResults?: any | null;
33902
+ createdAt: any;
33903
+ } | null> | null;
33904
+ } | null;
33905
+ };
33906
+ export type ConversationHistoryQueryVariables = Exact<{
33907
+ limit?: InputMaybe<Scalars['Int']['input']>;
33908
+ offset?: InputMaybe<Scalars['Int']['input']>;
33909
+ }>;
33910
+ export type ConversationHistoryQuery = {
33911
+ __typename?: 'Query';
33912
+ conversationHistory?: {
33913
+ __typename?: 'ConversationHistoryType';
33914
+ totalCount?: number | null;
33915
+ conversations?: Array<{
33916
+ __typename?: 'ConversationType';
33917
+ id: string;
33918
+ createdAt: any;
33919
+ updatedAt: any;
33920
+ user?: {
33921
+ __typename?: 'UserType';
33922
+ id?: string | null;
33923
+ email?: string | null;
33924
+ firstName?: string | null;
33925
+ lastName?: string | null;
33926
+ picture?: string | null;
33927
+ } | null;
33928
+ messages?: Array<{
33929
+ __typename?: 'ConversationMessageType';
33930
+ id: string;
33931
+ role: AgentConversationMessageRoleChoices;
33932
+ content: any;
33933
+ toolCalls?: any | null;
33934
+ toolResults?: any | null;
33935
+ createdAt: any;
33936
+ } | null> | null;
33937
+ } | null> | null;
33938
+ } | null;
33939
+ };
33565
33940
  export type CurrentAccountQueryVariables = Exact<{
33566
33941
  [key: string]: never;
33567
33942
  }>;
@@ -33611,6 +33986,55 @@ export type DashboardStatsQuery = {
33611
33986
  } | null;
33612
33987
  } | null;
33613
33988
  };
33989
+ export type EmailCampaignReportByCampaignQueryVariables = Exact<{
33990
+ filters: EmailCampaignReportFilterInput;
33991
+ }>;
33992
+ export type EmailCampaignReportByCampaignQuery = {
33993
+ __typename?: 'Query';
33994
+ emailCampaignReportByCampaign?: Array<{
33995
+ __typename?: 'EmailCampaignUserCampaignReportType';
33996
+ userId?: string | null;
33997
+ userName?: string | null;
33998
+ campaignId?: string | null;
33999
+ campaignName?: string | null;
34000
+ campaignType?: string | null;
34001
+ totalContactsCount?: number | null;
34002
+ totalEmailsSentCount?: number | null;
34003
+ totalRepliesCount?: number | null;
34004
+ replyRate?: number | null;
34005
+ } | null> | null;
34006
+ };
34007
+ export type EmailCampaignReportOverviewQueryVariables = Exact<{
34008
+ filters: EmailCampaignReportFilterInput;
34009
+ }>;
34010
+ export type EmailCampaignReportOverviewQuery = {
34011
+ __typename?: 'Query';
34012
+ emailCampaignReportOverview?: Array<{
34013
+ __typename?: 'EmailCampaignUserOverviewType';
34014
+ userId?: string | null;
34015
+ userName?: string | null;
34016
+ activeCampaignsCount?: number | null;
34017
+ completedCampaignsCount?: number | null;
34018
+ totalContactsCount?: number | null;
34019
+ totalEmailsSentCount?: number | null;
34020
+ totalRepliesCount?: number | null;
34021
+ replyRate?: number | null;
34022
+ } | null> | null;
34023
+ };
34024
+ export type EmailCampaignReportStatsQueryVariables = Exact<{
34025
+ filters: EmailCampaignReportFilterInput;
34026
+ }>;
34027
+ export type EmailCampaignReportStatsQuery = {
34028
+ __typename?: 'Query';
34029
+ emailCampaignReportStats?: {
34030
+ __typename?: 'EmailCampaignReportStatsType';
34031
+ activeCampaignsCount?: number | null;
34032
+ totalContactsCount?: number | null;
34033
+ totalEmailsSentCount?: number | null;
34034
+ totalRepliesCount?: number | null;
34035
+ replyRate?: number | null;
34036
+ } | null;
34037
+ };
33614
34038
  export type EmailTemplateQueryVariables = Exact<{
33615
34039
  uuid: Scalars['UUID']['input'];
33616
34040
  }>;
@@ -36635,12 +37059,14 @@ export type AddContactsToSegmentMutationFn = Apollo.MutationFunction<AddContacts
36635
37059
  * const [addContactsToSegmentMutation, { data, loading, error }] = useAddContactsToSegmentMutation({
36636
37060
  * variables: {
36637
37061
  * contactIds: // value for 'contactIds'
37062
+ * processSignals: // value for 'processSignals'
36638
37063
  * segmentId: // value for 'segmentId'
36639
37064
  * },
36640
37065
  * });
36641
37066
  */
36642
37067
  export declare function useAddContactsToSegmentMutation(baseOptions?: Apollo.MutationHookOptions<AddContactsToSegmentMutation, AddContactsToSegmentMutationVariables>): Apollo.MutationTuple<AddContactsToSegmentMutation, Exact<{
36643
37068
  contactIds: Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>;
37069
+ processSignals?: InputMaybe<Scalars["Boolean"]["input"]>;
36644
37070
  segmentId: Scalars["ID"]["input"];
36645
37071
  }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
36646
37072
  export type AddContactsToSegmentMutationHookResult = ReturnType<typeof useAddContactsToSegmentMutation>;
@@ -36700,6 +37126,89 @@ export declare function useAddSegmentToCampaignMutation(baseOptions?: Apollo.Mut
36700
37126
  export type AddSegmentToCampaignMutationHookResult = ReturnType<typeof useAddSegmentToCampaignMutation>;
36701
37127
  export type AddSegmentToCampaignMutationResult = Apollo.MutationResult<AddSegmentToCampaignMutation>;
36702
37128
  export type AddSegmentToCampaignMutationOptions = Apollo.BaseMutationOptions<AddSegmentToCampaignMutation, AddSegmentToCampaignMutationVariables>;
37129
+ export declare const AiAgentChatDocument: Apollo.DocumentNode;
37130
+ export type AiAgentChatMutationFn = Apollo.MutationFunction<AiAgentChatMutation, AiAgentChatMutationVariables>;
37131
+ /**
37132
+ * __useAiAgentChatMutation__
37133
+ *
37134
+ * To run a mutation, you first call `useAiAgentChatMutation` within a React component and pass it any options that fit your needs.
37135
+ * When your component renders, `useAiAgentChatMutation` returns a tuple that includes:
37136
+ * - A mutate function that you can call at any time to execute the mutation
37137
+ * - An object with fields that represent the current status of the mutation's execution
37138
+ *
37139
+ * @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;
37140
+ *
37141
+ * @example
37142
+ * const [aiAgentChatMutation, { data, loading, error }] = useAiAgentChatMutation({
37143
+ * variables: {
37144
+ * conversationId: // value for 'conversationId'
37145
+ * enableTools: // value for 'enableTools'
37146
+ * message: // value for 'message'
37147
+ * },
37148
+ * });
37149
+ */
37150
+ export declare function useAiAgentChatMutation(baseOptions?: Apollo.MutationHookOptions<AiAgentChatMutation, AiAgentChatMutationVariables>): Apollo.MutationTuple<AiAgentChatMutation, Exact<{
37151
+ conversationId?: InputMaybe<Scalars["String"]["input"]>;
37152
+ enableTools?: InputMaybe<Scalars["Boolean"]["input"]>;
37153
+ message: Scalars["String"]["input"];
37154
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
37155
+ export type AiAgentChatMutationHookResult = ReturnType<typeof useAiAgentChatMutation>;
37156
+ export type AiAgentChatMutationResult = Apollo.MutationResult<AiAgentChatMutation>;
37157
+ export type AiAgentChatMutationOptions = Apollo.BaseMutationOptions<AiAgentChatMutation, AiAgentChatMutationVariables>;
37158
+ export declare const AiAgentContinueDocument: Apollo.DocumentNode;
37159
+ export type AiAgentContinueMutationFn = Apollo.MutationFunction<AiAgentContinueMutation, AiAgentContinueMutationVariables>;
37160
+ /**
37161
+ * __useAiAgentContinueMutation__
37162
+ *
37163
+ * To run a mutation, you first call `useAiAgentContinueMutation` within a React component and pass it any options that fit your needs.
37164
+ * When your component renders, `useAiAgentContinueMutation` returns a tuple that includes:
37165
+ * - A mutate function that you can call at any time to execute the mutation
37166
+ * - An object with fields that represent the current status of the mutation's execution
37167
+ *
37168
+ * @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;
37169
+ *
37170
+ * @example
37171
+ * const [aiAgentContinueMutation, { data, loading, error }] = useAiAgentContinueMutation({
37172
+ * variables: {
37173
+ * conversationId: // value for 'conversationId'
37174
+ * toolResults: // value for 'toolResults'
37175
+ * },
37176
+ * });
37177
+ */
37178
+ export declare function useAiAgentContinueMutation(baseOptions?: Apollo.MutationHookOptions<AiAgentContinueMutation, AiAgentContinueMutationVariables>): Apollo.MutationTuple<AiAgentContinueMutation, Exact<{
37179
+ conversationId: Scalars["String"]["input"];
37180
+ toolResults: Array<InputMaybe<Scalars["JSONString"]["input"]>> | InputMaybe<Scalars["JSONString"]["input"]>;
37181
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
37182
+ export type AiAgentContinueMutationHookResult = ReturnType<typeof useAiAgentContinueMutation>;
37183
+ export type AiAgentContinueMutationResult = Apollo.MutationResult<AiAgentContinueMutation>;
37184
+ export type AiAgentContinueMutationOptions = Apollo.BaseMutationOptions<AiAgentContinueMutation, AiAgentContinueMutationVariables>;
37185
+ export declare const AiAgentExecuteDocument: Apollo.DocumentNode;
37186
+ export type AiAgentExecuteMutationFn = Apollo.MutationFunction<AiAgentExecuteMutation, AiAgentExecuteMutationVariables>;
37187
+ /**
37188
+ * __useAiAgentExecuteMutation__
37189
+ *
37190
+ * To run a mutation, you first call `useAiAgentExecuteMutation` within a React component and pass it any options that fit your needs.
37191
+ * When your component renders, `useAiAgentExecuteMutation` returns a tuple that includes:
37192
+ * - A mutate function that you can call at any time to execute the mutation
37193
+ * - An object with fields that represent the current status of the mutation's execution
37194
+ *
37195
+ * @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;
37196
+ *
37197
+ * @example
37198
+ * const [aiAgentExecuteMutation, { data, loading, error }] = useAiAgentExecuteMutation({
37199
+ * variables: {
37200
+ * conversationId: // value for 'conversationId'
37201
+ * toolCalls: // value for 'toolCalls'
37202
+ * },
37203
+ * });
37204
+ */
37205
+ export declare function useAiAgentExecuteMutation(baseOptions?: Apollo.MutationHookOptions<AiAgentExecuteMutation, AiAgentExecuteMutationVariables>): Apollo.MutationTuple<AiAgentExecuteMutation, Exact<{
37206
+ conversationId: Scalars["String"]["input"];
37207
+ toolCalls: Array<InputMaybe<Scalars["JSONString"]["input"]>> | InputMaybe<Scalars["JSONString"]["input"]>;
37208
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
37209
+ export type AiAgentExecuteMutationHookResult = ReturnType<typeof useAiAgentExecuteMutation>;
37210
+ export type AiAgentExecuteMutationResult = Apollo.MutationResult<AiAgentExecuteMutation>;
37211
+ export type AiAgentExecuteMutationOptions = Apollo.BaseMutationOptions<AiAgentExecuteMutation, AiAgentExecuteMutationVariables>;
36703
37212
  export declare const BulkAssignCompanyOwnersDocument: Apollo.DocumentNode;
36704
37213
  export type BulkAssignCompanyOwnersMutationFn = Apollo.MutationFunction<BulkAssignCompanyOwnersMutation, BulkAssignCompanyOwnersMutationVariables>;
36705
37214
  /**
@@ -37351,6 +37860,31 @@ export declare function useDeleteContactMutation(baseOptions?: Apollo.MutationHo
37351
37860
  export type DeleteContactMutationHookResult = ReturnType<typeof useDeleteContactMutation>;
37352
37861
  export type DeleteContactMutationResult = Apollo.MutationResult<DeleteContactMutation>;
37353
37862
  export type DeleteContactMutationOptions = Apollo.BaseMutationOptions<DeleteContactMutation, DeleteContactMutationVariables>;
37863
+ export declare const DeleteConversationDocument: Apollo.DocumentNode;
37864
+ export type DeleteConversationMutationFn = Apollo.MutationFunction<DeleteConversationMutation, DeleteConversationMutationVariables>;
37865
+ /**
37866
+ * __useDeleteConversationMutation__
37867
+ *
37868
+ * To run a mutation, you first call `useDeleteConversationMutation` within a React component and pass it any options that fit your needs.
37869
+ * When your component renders, `useDeleteConversationMutation` returns a tuple that includes:
37870
+ * - A mutate function that you can call at any time to execute the mutation
37871
+ * - An object with fields that represent the current status of the mutation's execution
37872
+ *
37873
+ * @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;
37874
+ *
37875
+ * @example
37876
+ * const [deleteConversationMutation, { data, loading, error }] = useDeleteConversationMutation({
37877
+ * variables: {
37878
+ * conversationId: // value for 'conversationId'
37879
+ * },
37880
+ * });
37881
+ */
37882
+ export declare function useDeleteConversationMutation(baseOptions?: Apollo.MutationHookOptions<DeleteConversationMutation, DeleteConversationMutationVariables>): Apollo.MutationTuple<DeleteConversationMutation, Exact<{
37883
+ conversationId: Scalars["String"]["input"];
37884
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
37885
+ export type DeleteConversationMutationHookResult = ReturnType<typeof useDeleteConversationMutation>;
37886
+ export type DeleteConversationMutationResult = Apollo.MutationResult<DeleteConversationMutation>;
37887
+ export type DeleteConversationMutationOptions = Apollo.BaseMutationOptions<DeleteConversationMutation, DeleteConversationMutationVariables>;
37354
37888
  export declare const DeleteEmailTemplateDocument: Apollo.DocumentNode;
37355
37889
  export type DeleteEmailTemplateMutationFn = Apollo.MutationFunction<DeleteEmailTemplateMutation, DeleteEmailTemplateMutationVariables>;
37356
37890
  /**
@@ -40075,6 +40609,75 @@ export type ContactsInSegmentQueryHookResult = ReturnType<typeof useContactsInSe
40075
40609
  export type ContactsInSegmentLazyQueryHookResult = ReturnType<typeof useContactsInSegmentLazyQuery>;
40076
40610
  export type ContactsInSegmentSuspenseQueryHookResult = ReturnType<typeof useContactsInSegmentSuspenseQuery>;
40077
40611
  export type ContactsInSegmentQueryResult = Apollo.QueryResult<ContactsInSegmentQuery, ContactsInSegmentQueryVariables>;
40612
+ export declare const ConversationDocument: Apollo.DocumentNode;
40613
+ /**
40614
+ * __useConversationQuery__
40615
+ *
40616
+ * To run a query within a React component, call `useConversationQuery` and pass it any options that fit your needs.
40617
+ * When your component renders, `useConversationQuery` returns an object from Apollo Client that contains loading, error, and data properties
40618
+ * you can use to render your UI.
40619
+ *
40620
+ * @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;
40621
+ *
40622
+ * @example
40623
+ * const { data, loading, error } = useConversationQuery({
40624
+ * variables: {
40625
+ * conversationId: // value for 'conversationId'
40626
+ * },
40627
+ * });
40628
+ */
40629
+ export declare function useConversationQuery(baseOptions: Apollo.QueryHookOptions<ConversationQuery, ConversationQueryVariables> & ({
40630
+ variables: ConversationQueryVariables;
40631
+ skip?: boolean;
40632
+ } | {
40633
+ skip: boolean;
40634
+ })): Apollo.QueryResult<ConversationQuery, Exact<{
40635
+ conversationId: Scalars["String"]["input"];
40636
+ }>>;
40637
+ export declare function useConversationLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConversationQuery, ConversationQueryVariables>): Apollo.LazyQueryResultTuple<ConversationQuery, Exact<{
40638
+ conversationId: Scalars["String"]["input"];
40639
+ }>>;
40640
+ export declare function useConversationSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConversationQuery, ConversationQueryVariables>): Apollo.UseSuspenseQueryResult<ConversationQuery | undefined, Exact<{
40641
+ conversationId: Scalars["String"]["input"];
40642
+ }>>;
40643
+ export type ConversationQueryHookResult = ReturnType<typeof useConversationQuery>;
40644
+ export type ConversationLazyQueryHookResult = ReturnType<typeof useConversationLazyQuery>;
40645
+ export type ConversationSuspenseQueryHookResult = ReturnType<typeof useConversationSuspenseQuery>;
40646
+ export type ConversationQueryResult = Apollo.QueryResult<ConversationQuery, ConversationQueryVariables>;
40647
+ export declare const ConversationHistoryDocument: Apollo.DocumentNode;
40648
+ /**
40649
+ * __useConversationHistoryQuery__
40650
+ *
40651
+ * To run a query within a React component, call `useConversationHistoryQuery` and pass it any options that fit your needs.
40652
+ * When your component renders, `useConversationHistoryQuery` returns an object from Apollo Client that contains loading, error, and data properties
40653
+ * you can use to render your UI.
40654
+ *
40655
+ * @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;
40656
+ *
40657
+ * @example
40658
+ * const { data, loading, error } = useConversationHistoryQuery({
40659
+ * variables: {
40660
+ * limit: // value for 'limit'
40661
+ * offset: // value for 'offset'
40662
+ * },
40663
+ * });
40664
+ */
40665
+ export declare function useConversationHistoryQuery(baseOptions?: Apollo.QueryHookOptions<ConversationHistoryQuery, ConversationHistoryQueryVariables>): Apollo.QueryResult<ConversationHistoryQuery, Exact<{
40666
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
40667
+ offset?: InputMaybe<Scalars["Int"]["input"]>;
40668
+ }>>;
40669
+ export declare function useConversationHistoryLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<ConversationHistoryQuery, ConversationHistoryQueryVariables>): Apollo.LazyQueryResultTuple<ConversationHistoryQuery, Exact<{
40670
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
40671
+ offset?: InputMaybe<Scalars["Int"]["input"]>;
40672
+ }>>;
40673
+ export declare function useConversationHistorySuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<ConversationHistoryQuery, ConversationHistoryQueryVariables>): Apollo.UseSuspenseQueryResult<ConversationHistoryQuery | undefined, Exact<{
40674
+ limit?: InputMaybe<Scalars["Int"]["input"]>;
40675
+ offset?: InputMaybe<Scalars["Int"]["input"]>;
40676
+ }>>;
40677
+ export type ConversationHistoryQueryHookResult = ReturnType<typeof useConversationHistoryQuery>;
40678
+ export type ConversationHistoryLazyQueryHookResult = ReturnType<typeof useConversationHistoryLazyQuery>;
40679
+ export type ConversationHistorySuspenseQueryHookResult = ReturnType<typeof useConversationHistorySuspenseQuery>;
40680
+ export type ConversationHistoryQueryResult = Apollo.QueryResult<ConversationHistoryQuery, ConversationHistoryQueryVariables>;
40078
40681
  export declare const CurrentAccountDocument: Apollo.DocumentNode;
40079
40682
  /**
40080
40683
  * __useCurrentAccountQuery__
@@ -40138,6 +40741,111 @@ export type DashboardStatsQueryHookResult = ReturnType<typeof useDashboardStatsQ
40138
40741
  export type DashboardStatsLazyQueryHookResult = ReturnType<typeof useDashboardStatsLazyQuery>;
40139
40742
  export type DashboardStatsSuspenseQueryHookResult = ReturnType<typeof useDashboardStatsSuspenseQuery>;
40140
40743
  export type DashboardStatsQueryResult = Apollo.QueryResult<DashboardStatsQuery, DashboardStatsQueryVariables>;
40744
+ export declare const EmailCampaignReportByCampaignDocument: Apollo.DocumentNode;
40745
+ /**
40746
+ * __useEmailCampaignReportByCampaignQuery__
40747
+ *
40748
+ * To run a query within a React component, call `useEmailCampaignReportByCampaignQuery` and pass it any options that fit your needs.
40749
+ * When your component renders, `useEmailCampaignReportByCampaignQuery` returns an object from Apollo Client that contains loading, error, and data properties
40750
+ * you can use to render your UI.
40751
+ *
40752
+ * @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;
40753
+ *
40754
+ * @example
40755
+ * const { data, loading, error } = useEmailCampaignReportByCampaignQuery({
40756
+ * variables: {
40757
+ * filters: // value for 'filters'
40758
+ * },
40759
+ * });
40760
+ */
40761
+ export declare function useEmailCampaignReportByCampaignQuery(baseOptions: Apollo.QueryHookOptions<EmailCampaignReportByCampaignQuery, EmailCampaignReportByCampaignQueryVariables> & ({
40762
+ variables: EmailCampaignReportByCampaignQueryVariables;
40763
+ skip?: boolean;
40764
+ } | {
40765
+ skip: boolean;
40766
+ })): Apollo.QueryResult<EmailCampaignReportByCampaignQuery, Exact<{
40767
+ filters: EmailCampaignReportFilterInput;
40768
+ }>>;
40769
+ export declare function useEmailCampaignReportByCampaignLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<EmailCampaignReportByCampaignQuery, EmailCampaignReportByCampaignQueryVariables>): Apollo.LazyQueryResultTuple<EmailCampaignReportByCampaignQuery, Exact<{
40770
+ filters: EmailCampaignReportFilterInput;
40771
+ }>>;
40772
+ export declare function useEmailCampaignReportByCampaignSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<EmailCampaignReportByCampaignQuery, EmailCampaignReportByCampaignQueryVariables>): Apollo.UseSuspenseQueryResult<EmailCampaignReportByCampaignQuery | undefined, Exact<{
40773
+ filters: EmailCampaignReportFilterInput;
40774
+ }>>;
40775
+ export type EmailCampaignReportByCampaignQueryHookResult = ReturnType<typeof useEmailCampaignReportByCampaignQuery>;
40776
+ export type EmailCampaignReportByCampaignLazyQueryHookResult = ReturnType<typeof useEmailCampaignReportByCampaignLazyQuery>;
40777
+ export type EmailCampaignReportByCampaignSuspenseQueryHookResult = ReturnType<typeof useEmailCampaignReportByCampaignSuspenseQuery>;
40778
+ export type EmailCampaignReportByCampaignQueryResult = Apollo.QueryResult<EmailCampaignReportByCampaignQuery, EmailCampaignReportByCampaignQueryVariables>;
40779
+ export declare const EmailCampaignReportOverviewDocument: Apollo.DocumentNode;
40780
+ /**
40781
+ * __useEmailCampaignReportOverviewQuery__
40782
+ *
40783
+ * To run a query within a React component, call `useEmailCampaignReportOverviewQuery` and pass it any options that fit your needs.
40784
+ * When your component renders, `useEmailCampaignReportOverviewQuery` returns an object from Apollo Client that contains loading, error, and data properties
40785
+ * you can use to render your UI.
40786
+ *
40787
+ * @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;
40788
+ *
40789
+ * @example
40790
+ * const { data, loading, error } = useEmailCampaignReportOverviewQuery({
40791
+ * variables: {
40792
+ * filters: // value for 'filters'
40793
+ * },
40794
+ * });
40795
+ */
40796
+ export declare function useEmailCampaignReportOverviewQuery(baseOptions: Apollo.QueryHookOptions<EmailCampaignReportOverviewQuery, EmailCampaignReportOverviewQueryVariables> & ({
40797
+ variables: EmailCampaignReportOverviewQueryVariables;
40798
+ skip?: boolean;
40799
+ } | {
40800
+ skip: boolean;
40801
+ })): Apollo.QueryResult<EmailCampaignReportOverviewQuery, Exact<{
40802
+ filters: EmailCampaignReportFilterInput;
40803
+ }>>;
40804
+ export declare function useEmailCampaignReportOverviewLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<EmailCampaignReportOverviewQuery, EmailCampaignReportOverviewQueryVariables>): Apollo.LazyQueryResultTuple<EmailCampaignReportOverviewQuery, Exact<{
40805
+ filters: EmailCampaignReportFilterInput;
40806
+ }>>;
40807
+ export declare function useEmailCampaignReportOverviewSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<EmailCampaignReportOverviewQuery, EmailCampaignReportOverviewQueryVariables>): Apollo.UseSuspenseQueryResult<EmailCampaignReportOverviewQuery | undefined, Exact<{
40808
+ filters: EmailCampaignReportFilterInput;
40809
+ }>>;
40810
+ export type EmailCampaignReportOverviewQueryHookResult = ReturnType<typeof useEmailCampaignReportOverviewQuery>;
40811
+ export type EmailCampaignReportOverviewLazyQueryHookResult = ReturnType<typeof useEmailCampaignReportOverviewLazyQuery>;
40812
+ export type EmailCampaignReportOverviewSuspenseQueryHookResult = ReturnType<typeof useEmailCampaignReportOverviewSuspenseQuery>;
40813
+ export type EmailCampaignReportOverviewQueryResult = Apollo.QueryResult<EmailCampaignReportOverviewQuery, EmailCampaignReportOverviewQueryVariables>;
40814
+ export declare const EmailCampaignReportStatsDocument: Apollo.DocumentNode;
40815
+ /**
40816
+ * __useEmailCampaignReportStatsQuery__
40817
+ *
40818
+ * To run a query within a React component, call `useEmailCampaignReportStatsQuery` and pass it any options that fit your needs.
40819
+ * When your component renders, `useEmailCampaignReportStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties
40820
+ * you can use to render your UI.
40821
+ *
40822
+ * @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;
40823
+ *
40824
+ * @example
40825
+ * const { data, loading, error } = useEmailCampaignReportStatsQuery({
40826
+ * variables: {
40827
+ * filters: // value for 'filters'
40828
+ * },
40829
+ * });
40830
+ */
40831
+ export declare function useEmailCampaignReportStatsQuery(baseOptions: Apollo.QueryHookOptions<EmailCampaignReportStatsQuery, EmailCampaignReportStatsQueryVariables> & ({
40832
+ variables: EmailCampaignReportStatsQueryVariables;
40833
+ skip?: boolean;
40834
+ } | {
40835
+ skip: boolean;
40836
+ })): Apollo.QueryResult<EmailCampaignReportStatsQuery, Exact<{
40837
+ filters: EmailCampaignReportFilterInput;
40838
+ }>>;
40839
+ export declare function useEmailCampaignReportStatsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<EmailCampaignReportStatsQuery, EmailCampaignReportStatsQueryVariables>): Apollo.LazyQueryResultTuple<EmailCampaignReportStatsQuery, Exact<{
40840
+ filters: EmailCampaignReportFilterInput;
40841
+ }>>;
40842
+ export declare function useEmailCampaignReportStatsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<EmailCampaignReportStatsQuery, EmailCampaignReportStatsQueryVariables>): Apollo.UseSuspenseQueryResult<EmailCampaignReportStatsQuery | undefined, Exact<{
40843
+ filters: EmailCampaignReportFilterInput;
40844
+ }>>;
40845
+ export type EmailCampaignReportStatsQueryHookResult = ReturnType<typeof useEmailCampaignReportStatsQuery>;
40846
+ export type EmailCampaignReportStatsLazyQueryHookResult = ReturnType<typeof useEmailCampaignReportStatsLazyQuery>;
40847
+ export type EmailCampaignReportStatsSuspenseQueryHookResult = ReturnType<typeof useEmailCampaignReportStatsSuspenseQuery>;
40848
+ export type EmailCampaignReportStatsQueryResult = Apollo.QueryResult<EmailCampaignReportStatsQuery, EmailCampaignReportStatsQueryVariables>;
40141
40849
  export declare const EmailTemplateDocument: Apollo.DocumentNode;
40142
40850
  /**
40143
40851
  * __useEmailTemplateQuery__