cf-service-sdk 0.0.84 → 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.
@@ -1892,6 +1892,31 @@ export type DisconnectNylasIntegration = {
1892
1892
  message?: Maybe<Scalars['String']['output']>;
1893
1893
  success?: Maybe<Scalars['Boolean']['output']>;
1894
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
+ };
1895
1920
  export type EmailCampaignScheduledCountType = {
1896
1921
  __typename?: 'EmailCampaignScheduledCountType';
1897
1922
  /** Number of scheduled campaigns */
@@ -1901,6 +1926,48 @@ export type EmailCampaignScheduledCountType = {
1901
1926
  /** Number of scheduled campaigns for today */
1902
1927
  scheduledForToday?: Maybe<Scalars['Int']['output']>;
1903
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
+ };
1904
1971
  /** GraphQL type for EmailIntegration model */
1905
1972
  export type EmailIntegrationType = {
1906
1973
  __typename?: 'EmailIntegrationType';
@@ -3042,6 +3109,12 @@ export type Query = {
3042
3109
  currentAccount?: Maybe<AccountType>;
3043
3110
  /** Get dashboard statistics across different features */
3044
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>;
3045
3118
  emailTemplate?: Maybe<EmailTemplateType>;
3046
3119
  emailTemplates?: Maybe<Array<Maybe<EmailTemplateType>>>;
3047
3120
  employeeSizes?: Maybe<Array<Maybe<EmployeeSizeData>>>;
@@ -3237,6 +3310,18 @@ export type QueryDashboardStatsArgs = {
3237
3310
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
3238
3311
  };
3239
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 */
3240
3325
  export type QueryEmailTemplateArgs = {
3241
3326
  uuid: Scalars['UUID']['input'];
3242
3327
  };
@@ -33901,6 +33986,55 @@ export type DashboardStatsQuery = {
33901
33986
  } | null;
33902
33987
  } | null;
33903
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
+ };
33904
34038
  export type EmailTemplateQueryVariables = Exact<{
33905
34039
  uuid: Scalars['UUID']['input'];
33906
34040
  }>;
@@ -40607,6 +40741,111 @@ export type DashboardStatsQueryHookResult = ReturnType<typeof useDashboardStatsQ
40607
40741
  export type DashboardStatsLazyQueryHookResult = ReturnType<typeof useDashboardStatsLazyQuery>;
40608
40742
  export type DashboardStatsSuspenseQueryHookResult = ReturnType<typeof useDashboardStatsSuspenseQuery>;
40609
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>;
40610
40849
  export declare const EmailTemplateDocument: Apollo.DocumentNode;
40611
40850
  /**
40612
40851
  * __useEmailTemplateQuery__
@@ -35,8 +35,8 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.DeleteSegmentDocument = exports.DeleteNotificationDocument = exports.DeleteEmailTemplateDocument = exports.DeleteConversationDocument = exports.DeleteContactDocument = exports.DeleteCompanyNoteDocument = exports.DeleteCompanyDocument = exports.DeleteCombinedCampaignTemplateDocument = exports.DeleteCombinedCampaignDocument = exports.DeleteCampaignDocument = exports.DeleteCallCampaignDocument = exports.CreateTaskDocument = exports.CreateSegmentDocument = exports.CreateNotificationDocument = exports.CreateEmailTemplateDocument = exports.CreateContactDocument = exports.CreateCompanyNoteDocument = exports.CreateCompanyDocument = exports.CreateCombinedCampaignTemplateDocument = exports.CreateCombinedCampaignDocument = exports.CreateCampaignDocument = exports.CreateCallCampaignLogDocument = exports.CreateCallCampaignDocument = exports.CompleteCampaignDocument = exports.ClearAllNotificationsDocument = exports.ChangePasswordDocument = exports.CancelInvitationDocument = exports.CancelCombinedCampaignDocument = exports.CancelCampaignDocument = exports.BulkAssignCompanyOwnersDocument = exports.AiAgentExecuteDocument = exports.AiAgentContinueDocument = exports.AiAgentChatDocument = exports.AddSegmentToCampaignDocument = exports.AddSegmentToCallCampaignDocument = exports.AddContactsToSegmentDocument = exports.AddContactsToCombinedCampaignDocument = exports.AddContactsToCampaignDocument = exports.AcceptInvitationDocument = exports.SortDirection = exports.RecentHistorySortField = exports.NotificationTypeEnum = exports.ContactSortField = exports.CompanySortField = exports.CompanyNoteSortField = exports.CallCampaignLogOutcomeEnum = exports.AppEmailTemplateCampaignTypeChoices = exports.AppBusinessProfileStateChoices = exports.AppAccountInvitationStatusChoices = exports.AgentConversationMessageRoleChoices = void 0;
37
37
  exports.UpdateEmailTemplateDocument = exports.UpdateContactDocument = exports.UpdateCompanyNoteDocument = exports.UpdateCompanyExternalIdentifierDocument = exports.UpdateCompanyDocument = exports.UpdateCombinedCampaignTemplateDocument = exports.UpdateCombinedCampaignLogsDocument = exports.UpdateCombinedCampaignLogDocument = exports.UpdateCombinedCampaignDocument = exports.UpdateCampaignDocument = exports.UpdateCallCampaignLogDocument = exports.UpdateCallCampaignDocument = exports.UnsubscribeFromEmailsDocument = exports.UnhideRecordDocument = exports.SubmitFeedbackDocument = exports.StartCombinedCampaignDocument = exports.StartCampaignDocument = exports.SignupDocument = exports.SetLeadNotInterestedDocument = exports.SendTestEmailCombinedDocument = exports.SendTestEmailDocument = exports.SendManualEmailDocument = exports.SendEmailToContactDocument = exports.ScheduleCombinedCampaignDocument = exports.ScheduleCampaignDocument = exports.SaveNylasConnectionDocument = exports.ResumeCombinedCampaignDocument = exports.RemoveSegmentFromCampaignDocument = exports.RemoveSegmentFromCallCampaignDocument = exports.RemoveMemberDocument = exports.RemoveContactsFromSegmentDocument = exports.RemoveContactsFromCombinedCampaignDocument = exports.RemoveContactsFromCampaignDocument = exports.RejectInvitationDocument = exports.ReduceSpamDocument = exports.PreviewCampaignEmailDocument = exports.PauseCombinedCampaignDocument = exports.PauseCampaignDocument = exports.MarkNotificationAsReadDocument = exports.MarkAllNotificationsAsReadDocument = exports.LoginWithMicrosoftDocument = exports.LoginWithGoogleDocument = exports.LoginDocument = exports.InviteUserDocument = exports.HideRecordDocument = exports.GenerateNewEmailDocument = exports.ForgotPasswordDocument = exports.EmailToneDocument = exports.DisconnectNylasIntegrationDocument = exports.DeleteTaskDocument = void 0;
38
- exports.NotificationDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = exports.MetalGradesDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.DashboardStatsDocument = exports.CurrentAccountDocument = exports.ConversationHistoryDocument = exports.ConversationDocument = exports.ContactsInSegmentDocument = exports.ContactsDocument = exports.ContactDocument = exports.CompanySearchDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyMetadataDocument = exports.CompanyExternalIdentifierDocument = exports.CompanyAudiencesAndCampaignsDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CombinedCampaignsDocument = exports.CombinedCampaignTemplatesDocument = exports.CombinedCampaignTemplateDocument = exports.CombinedCampaignStepsDocument = exports.CombinedCampaignLogsDocument = exports.CombinedCampaignContactsDocument = exports.CombinedCampaignDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = exports.CampaignDocument = exports.CallCampaignsDocument = exports.CallCampaignReportDocument = exports.CallCampaignLogsDocument = exports.CallCampaignLogDocument = exports.CallCampaignAnalyticsDocument = exports.CallCampaignDocument = exports.BusinessProfileDocument = exports.AccountMembersDocument = exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = exports.UpdateSegmentDocument = void 0;
39
- exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = void 0;
38
+ exports.MetalGradesDocument = exports.IndustryTypesDocument = exports.IndustrySectorsDocument = exports.EmployeeSizesDocument = exports.EmailTemplatesDocument = exports.EmailTemplateDocument = exports.EmailCampaignReportStatsDocument = exports.EmailCampaignReportOverviewDocument = exports.EmailCampaignReportByCampaignDocument = exports.DashboardStatsDocument = exports.CurrentAccountDocument = exports.ConversationHistoryDocument = exports.ConversationDocument = exports.ContactsInSegmentDocument = exports.ContactsDocument = exports.ContactDocument = exports.CompanySearchDocument = exports.CompanyNotesDocument = exports.CompanyNoteDocument = exports.CompanyMetadataDocument = exports.CompanyExternalIdentifierDocument = exports.CompanyAudiencesAndCampaignsDocument = exports.CompanyDocument = exports.CompaniesDocument = exports.CombinedCampaignsDocument = exports.CombinedCampaignTemplatesDocument = exports.CombinedCampaignTemplateDocument = exports.CombinedCampaignStepsDocument = exports.CombinedCampaignLogsDocument = exports.CombinedCampaignContactsDocument = exports.CombinedCampaignDocument = exports.CampaignsDocument = exports.CampaignStatsDocument = exports.CampaignLogsDocument = exports.CampaignContactsDocument = exports.CampaignAnalyticsDocument = exports.CampaignDocument = exports.CallCampaignsDocument = exports.CallCampaignReportDocument = exports.CallCampaignLogsDocument = exports.CallCampaignLogDocument = exports.CallCampaignAnalyticsDocument = exports.CallCampaignDocument = exports.BusinessProfileDocument = exports.AccountMembersDocument = exports.ValidateOtpAndResetPasswordDocument = exports.UploadFileDocument = exports.UpdateUserProfileDocument = exports.UpdateTaskDocument = exports.UpdateSegmentDocument = void 0;
39
+ exports.UserProfileDocument = exports.UsStatesDocument = exports.UnreadNotificationsCountDocument = exports.TasksDocument = exports.TaskDocument = exports.SegmentsDocument = exports.SegmentDocument = exports.SearchContactsDocument = exports.RecentNotificationsDocument = exports.RecentHistoryDocument = exports.ProductTypesDocument = exports.ProductCategoriesDocument = exports.PendingInvitationsDocument = exports.NylasConnectionDocument = exports.NotificationsDocument = exports.NotificationDocument = exports.MyInvitationsDocument = exports.MetalTypesDocument = void 0;
40
40
  exports.useAcceptInvitationMutation = useAcceptInvitationMutation;
41
41
  exports.useAddContactsToCampaignMutation = useAddContactsToCampaignMutation;
42
42
  exports.useAddContactsToCombinedCampaignMutation = useAddContactsToCombinedCampaignMutation;
@@ -239,6 +239,15 @@ exports.useCurrentAccountSuspenseQuery = useCurrentAccountSuspenseQuery;
239
239
  exports.useDashboardStatsQuery = useDashboardStatsQuery;
240
240
  exports.useDashboardStatsLazyQuery = useDashboardStatsLazyQuery;
241
241
  exports.useDashboardStatsSuspenseQuery = useDashboardStatsSuspenseQuery;
242
+ exports.useEmailCampaignReportByCampaignQuery = useEmailCampaignReportByCampaignQuery;
243
+ exports.useEmailCampaignReportByCampaignLazyQuery = useEmailCampaignReportByCampaignLazyQuery;
244
+ exports.useEmailCampaignReportByCampaignSuspenseQuery = useEmailCampaignReportByCampaignSuspenseQuery;
245
+ exports.useEmailCampaignReportOverviewQuery = useEmailCampaignReportOverviewQuery;
246
+ exports.useEmailCampaignReportOverviewLazyQuery = useEmailCampaignReportOverviewLazyQuery;
247
+ exports.useEmailCampaignReportOverviewSuspenseQuery = useEmailCampaignReportOverviewSuspenseQuery;
248
+ exports.useEmailCampaignReportStatsQuery = useEmailCampaignReportStatsQuery;
249
+ exports.useEmailCampaignReportStatsLazyQuery = useEmailCampaignReportStatsLazyQuery;
250
+ exports.useEmailCampaignReportStatsSuspenseQuery = useEmailCampaignReportStatsSuspenseQuery;
242
251
  exports.useEmailTemplateQuery = useEmailTemplateQuery;
243
252
  exports.useEmailTemplateLazyQuery = useEmailTemplateLazyQuery;
244
253
  exports.useEmailTemplateSuspenseQuery = useEmailTemplateSuspenseQuery;
@@ -30899,6 +30908,130 @@ function useDashboardStatsSuspenseQuery(baseOptions) {
30899
30908
  const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
30900
30909
  return Apollo.useSuspenseQuery(exports.DashboardStatsDocument, options);
30901
30910
  }
30911
+ exports.EmailCampaignReportByCampaignDocument = (0, client_1.gql) `
30912
+ query EmailCampaignReportByCampaign($filters: EmailCampaignReportFilterInput!) {
30913
+ emailCampaignReportByCampaign(filters: $filters) {
30914
+ userId
30915
+ userName
30916
+ campaignId
30917
+ campaignName
30918
+ campaignType
30919
+ totalContactsCount
30920
+ totalEmailsSentCount
30921
+ totalRepliesCount
30922
+ replyRate
30923
+ }
30924
+ }
30925
+ `;
30926
+ /**
30927
+ * __useEmailCampaignReportByCampaignQuery__
30928
+ *
30929
+ * To run a query within a React component, call `useEmailCampaignReportByCampaignQuery` and pass it any options that fit your needs.
30930
+ * When your component renders, `useEmailCampaignReportByCampaignQuery` returns an object from Apollo Client that contains loading, error, and data properties
30931
+ * you can use to render your UI.
30932
+ *
30933
+ * @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;
30934
+ *
30935
+ * @example
30936
+ * const { data, loading, error } = useEmailCampaignReportByCampaignQuery({
30937
+ * variables: {
30938
+ * filters: // value for 'filters'
30939
+ * },
30940
+ * });
30941
+ */
30942
+ function useEmailCampaignReportByCampaignQuery(baseOptions) {
30943
+ const options = { ...defaultOptions, ...baseOptions };
30944
+ return Apollo.useQuery(exports.EmailCampaignReportByCampaignDocument, options);
30945
+ }
30946
+ function useEmailCampaignReportByCampaignLazyQuery(baseOptions) {
30947
+ const options = { ...defaultOptions, ...baseOptions };
30948
+ return Apollo.useLazyQuery(exports.EmailCampaignReportByCampaignDocument, options);
30949
+ }
30950
+ function useEmailCampaignReportByCampaignSuspenseQuery(baseOptions) {
30951
+ const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
30952
+ return Apollo.useSuspenseQuery(exports.EmailCampaignReportByCampaignDocument, options);
30953
+ }
30954
+ exports.EmailCampaignReportOverviewDocument = (0, client_1.gql) `
30955
+ query EmailCampaignReportOverview($filters: EmailCampaignReportFilterInput!) {
30956
+ emailCampaignReportOverview(filters: $filters) {
30957
+ userId
30958
+ userName
30959
+ activeCampaignsCount
30960
+ completedCampaignsCount
30961
+ totalContactsCount
30962
+ totalEmailsSentCount
30963
+ totalRepliesCount
30964
+ replyRate
30965
+ }
30966
+ }
30967
+ `;
30968
+ /**
30969
+ * __useEmailCampaignReportOverviewQuery__
30970
+ *
30971
+ * To run a query within a React component, call `useEmailCampaignReportOverviewQuery` and pass it any options that fit your needs.
30972
+ * When your component renders, `useEmailCampaignReportOverviewQuery` returns an object from Apollo Client that contains loading, error, and data properties
30973
+ * you can use to render your UI.
30974
+ *
30975
+ * @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;
30976
+ *
30977
+ * @example
30978
+ * const { data, loading, error } = useEmailCampaignReportOverviewQuery({
30979
+ * variables: {
30980
+ * filters: // value for 'filters'
30981
+ * },
30982
+ * });
30983
+ */
30984
+ function useEmailCampaignReportOverviewQuery(baseOptions) {
30985
+ const options = { ...defaultOptions, ...baseOptions };
30986
+ return Apollo.useQuery(exports.EmailCampaignReportOverviewDocument, options);
30987
+ }
30988
+ function useEmailCampaignReportOverviewLazyQuery(baseOptions) {
30989
+ const options = { ...defaultOptions, ...baseOptions };
30990
+ return Apollo.useLazyQuery(exports.EmailCampaignReportOverviewDocument, options);
30991
+ }
30992
+ function useEmailCampaignReportOverviewSuspenseQuery(baseOptions) {
30993
+ const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
30994
+ return Apollo.useSuspenseQuery(exports.EmailCampaignReportOverviewDocument, options);
30995
+ }
30996
+ exports.EmailCampaignReportStatsDocument = (0, client_1.gql) `
30997
+ query EmailCampaignReportStats($filters: EmailCampaignReportFilterInput!) {
30998
+ emailCampaignReportStats(filters: $filters) {
30999
+ activeCampaignsCount
31000
+ totalContactsCount
31001
+ totalEmailsSentCount
31002
+ totalRepliesCount
31003
+ replyRate
31004
+ }
31005
+ }
31006
+ `;
31007
+ /**
31008
+ * __useEmailCampaignReportStatsQuery__
31009
+ *
31010
+ * To run a query within a React component, call `useEmailCampaignReportStatsQuery` and pass it any options that fit your needs.
31011
+ * When your component renders, `useEmailCampaignReportStatsQuery` returns an object from Apollo Client that contains loading, error, and data properties
31012
+ * you can use to render your UI.
31013
+ *
31014
+ * @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;
31015
+ *
31016
+ * @example
31017
+ * const { data, loading, error } = useEmailCampaignReportStatsQuery({
31018
+ * variables: {
31019
+ * filters: // value for 'filters'
31020
+ * },
31021
+ * });
31022
+ */
31023
+ function useEmailCampaignReportStatsQuery(baseOptions) {
31024
+ const options = { ...defaultOptions, ...baseOptions };
31025
+ return Apollo.useQuery(exports.EmailCampaignReportStatsDocument, options);
31026
+ }
31027
+ function useEmailCampaignReportStatsLazyQuery(baseOptions) {
31028
+ const options = { ...defaultOptions, ...baseOptions };
31029
+ return Apollo.useLazyQuery(exports.EmailCampaignReportStatsDocument, options);
31030
+ }
31031
+ function useEmailCampaignReportStatsSuspenseQuery(baseOptions) {
31032
+ const options = baseOptions === Apollo.skipToken ? baseOptions : { ...defaultOptions, ...baseOptions };
31033
+ return Apollo.useSuspenseQuery(exports.EmailCampaignReportStatsDocument, options);
31034
+ }
30902
31035
  exports.EmailTemplateDocument = (0, client_1.gql) `
30903
31036
  query EmailTemplate($uuid: UUID!) {
30904
31037
  emailTemplate(uuid: $uuid) {
package/dist/queries.d.ts CHANGED
@@ -32,6 +32,9 @@ export declare const CAMPAIGN_STATS: import("@apollo/client").DocumentNode;
32
32
  export declare const CAMPAIGN_ANALYTICS: import("@apollo/client").DocumentNode;
33
33
  export declare const CAMPAIGN_LOGS: import("@apollo/client").DocumentNode;
34
34
  export declare const CAMPAIGN_CONTACTS: import("@apollo/client").DocumentNode;
35
+ export declare const EMAIL_CAMPAIGN_REPORT_STATS: import("@apollo/client").DocumentNode;
36
+ export declare const EMAIL_CAMPAIGN_REPORT_OVERVIEW: import("@apollo/client").DocumentNode;
37
+ export declare const EMAIL_CAMPAIGN_REPORT_BY_CAMPAIGN: import("@apollo/client").DocumentNode;
35
38
  export declare const SEGMENTS: import("@apollo/client").DocumentNode;
36
39
  export declare const SEGMENT: import("@apollo/client").DocumentNode;
37
40
  export declare const CONTACTS_IN_SEGMENT: import("@apollo/client").DocumentNode;
package/dist/queries.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.METAL_GRADES = exports.METAL_TYPES = exports.PRODUCT_CATEGORIES = exports.PRODUCT_TYPES = exports.INDUSTRY_SECTORS = exports.INDUSTRY_TYPES = exports.COMPANY_METADATA = exports.CONTACT = exports.COMPANY = exports.SEARCH_CONTACTS = exports.CONTACTS = exports.COMPANY_SEARCH = exports.COMPANIES = exports.CONTACTS_IN_SEGMENT = exports.SEGMENT = exports.SEGMENTS = exports.CAMPAIGN_CONTACTS = exports.CAMPAIGN_LOGS = exports.CAMPAIGN_ANALYTICS = exports.CAMPAIGN_STATS = exports.CAMPAIGN = exports.CAMPAIGNS = exports.EMAIL_TEMPLATES = exports.EMAIL_TEMPLATE = exports.NYLAS_CONNECTION = exports.RECENT_NOTIFICATIONS = exports.NOTIFICATION = exports.NOTIFICATIONS = exports.UNREAD_NOTIFICATIONS_COUNT = exports.TASK = exports.TASKS = exports.CALL_CAMPAIGN_REPORT = exports.CALL_CAMPAIGN_LOG = exports.CALL_CAMPAIGN_LOGS = exports.CALL_CAMPAIGN_ANALYTICS = exports.CALL_CAMPAIGN = exports.CALL_CAMPAIGNS = exports.COMPANY_NOTE = exports.COMPANY_NOTES = exports.RECENT_HISTORY = exports.DASHBOARD_STATS = exports.COMBINED_CAMPAIGN_TEMPLATE = exports.COMBINED_CAMPAIGN_TEMPLATES = exports.COMBINED_CAMPAIGN_STEPS = exports.COMBINED_CAMPAIGN_CONTACTS = exports.COMBINED_CAMPAIGN_LOGS = exports.COMBINED_CAMPAIGN = exports.COMBINED_CAMPAIGNS = exports.CONVERSATION = exports.CONVERSATION_HISTORY = void 0;
4
- exports.USER_PROFILE = exports.MY_INVITATIONS = exports.BUSINESS_PROFILE = exports.PENDING_INVITATIONS = exports.ACCOUNT_MEMBERS = exports.CURRENT_ACCOUNT = exports.COMPANY_EXTERNAL_IDENTIFIER = exports.COMPANY_AUDIENCES_AND_CAMPAIGNS = exports.EMPLOYEE_SIZES = exports.US_STATES = void 0;
3
+ exports.PRODUCT_TYPES = exports.INDUSTRY_SECTORS = exports.INDUSTRY_TYPES = exports.COMPANY_METADATA = exports.CONTACT = exports.COMPANY = exports.SEARCH_CONTACTS = exports.CONTACTS = exports.COMPANY_SEARCH = exports.COMPANIES = exports.CONTACTS_IN_SEGMENT = exports.SEGMENT = exports.SEGMENTS = exports.EMAIL_CAMPAIGN_REPORT_BY_CAMPAIGN = exports.EMAIL_CAMPAIGN_REPORT_OVERVIEW = exports.EMAIL_CAMPAIGN_REPORT_STATS = exports.CAMPAIGN_CONTACTS = exports.CAMPAIGN_LOGS = exports.CAMPAIGN_ANALYTICS = exports.CAMPAIGN_STATS = exports.CAMPAIGN = exports.CAMPAIGNS = exports.EMAIL_TEMPLATES = exports.EMAIL_TEMPLATE = exports.NYLAS_CONNECTION = exports.RECENT_NOTIFICATIONS = exports.NOTIFICATION = exports.NOTIFICATIONS = exports.UNREAD_NOTIFICATIONS_COUNT = exports.TASK = exports.TASKS = exports.CALL_CAMPAIGN_REPORT = exports.CALL_CAMPAIGN_LOG = exports.CALL_CAMPAIGN_LOGS = exports.CALL_CAMPAIGN_ANALYTICS = exports.CALL_CAMPAIGN = exports.CALL_CAMPAIGNS = exports.COMPANY_NOTE = exports.COMPANY_NOTES = exports.RECENT_HISTORY = exports.DASHBOARD_STATS = exports.COMBINED_CAMPAIGN_TEMPLATE = exports.COMBINED_CAMPAIGN_TEMPLATES = exports.COMBINED_CAMPAIGN_STEPS = exports.COMBINED_CAMPAIGN_CONTACTS = exports.COMBINED_CAMPAIGN_LOGS = exports.COMBINED_CAMPAIGN = exports.COMBINED_CAMPAIGNS = exports.CONVERSATION = exports.CONVERSATION_HISTORY = void 0;
4
+ exports.USER_PROFILE = exports.MY_INVITATIONS = exports.BUSINESS_PROFILE = exports.PENDING_INVITATIONS = exports.ACCOUNT_MEMBERS = exports.CURRENT_ACCOUNT = exports.COMPANY_EXTERNAL_IDENTIFIER = exports.COMPANY_AUDIENCES_AND_CAMPAIGNS = exports.EMPLOYEE_SIZES = exports.US_STATES = exports.METAL_GRADES = exports.METAL_TYPES = exports.PRODUCT_CATEGORIES = void 0;
5
5
  const client_1 = require("@apollo/client");
6
6
  exports.CONVERSATION_HISTORY = (0, client_1.gql) `
7
7
  query ConversationHistory($limit: Int, $offset: Int) {
@@ -5182,6 +5182,43 @@ query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
5182
5182
  }
5183
5183
  }
5184
5184
  }`;
5185
+ exports.EMAIL_CAMPAIGN_REPORT_STATS = (0, client_1.gql) `
5186
+ query EmailCampaignReportStats($filters: EmailCampaignReportFilterInput!) {
5187
+ emailCampaignReportStats(filters: $filters) {
5188
+ activeCampaignsCount
5189
+ totalContactsCount
5190
+ totalEmailsSentCount
5191
+ totalRepliesCount
5192
+ replyRate
5193
+ }
5194
+ }`;
5195
+ exports.EMAIL_CAMPAIGN_REPORT_OVERVIEW = (0, client_1.gql) `
5196
+ query EmailCampaignReportOverview($filters: EmailCampaignReportFilterInput!) {
5197
+ emailCampaignReportOverview(filters: $filters) {
5198
+ userId
5199
+ userName
5200
+ activeCampaignsCount
5201
+ completedCampaignsCount
5202
+ totalContactsCount
5203
+ totalEmailsSentCount
5204
+ totalRepliesCount
5205
+ replyRate
5206
+ }
5207
+ }`;
5208
+ exports.EMAIL_CAMPAIGN_REPORT_BY_CAMPAIGN = (0, client_1.gql) `
5209
+ query EmailCampaignReportByCampaign($filters: EmailCampaignReportFilterInput!) {
5210
+ emailCampaignReportByCampaign(filters: $filters) {
5211
+ userId
5212
+ userName
5213
+ campaignId
5214
+ campaignName
5215
+ campaignType
5216
+ totalContactsCount
5217
+ totalEmailsSentCount
5218
+ totalRepliesCount
5219
+ replyRate
5220
+ }
5221
+ }`;
5185
5222
  exports.SEGMENTS = (0, client_1.gql) `
5186
5223
  query Segments($pagination: PaginationInput, $includeSystemTemplates: Boolean, $filters: SegmentFilterInput) {
5187
5224
  segments(pagination: $pagination, includeSystemTemplates: $includeSystemTemplates, filters: $filters) {
package/dist/sdk.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CloudForgeClientOptions } from "./client";
2
- import { BulkAssignOwnersInput, CallReportFilterInput, CombinedCampaignFilterInput, CombinedCampaignInput, CombinedCampaignStepInput, CombinedCampaignTemplateInput, CompanyFilterInput, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteSortInput, CompanySortInput, ContactFilterInput, ContactSortInput, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutationVariables, CreateCampaignMutationVariables, CreateCompanyMutationVariables, CreateContactMutationVariables, CreateEmailTemplateMutationVariables, CreateNotificationMutationVariables, CreateSegmentMutationVariables, CreateTaskMutationVariables, CustomContactInput, EmailToneInput, FileUploadInput, HiddenRecordInput, InvitationResponseInput, InviteUserInput, MicrosoftUserInput, PaginationInput, RecentHistoryFilterInput, RecentHistorySortInput, ReduceSpamInput, SaveNylasConnectionMutationVariables, Scalars, SegmentFilterInput, SetLeadAsNotInterestedInput, SignupInput, SubmitFeedbackMutationVariables, TaskFilterInput, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutationVariables, UpdateCampaignMutationVariables, UpdateCombinedCampaignInput, UpdateCombinedCampaignLogInput, UpdateCompanyExternalIdentifierInput, UpdateCompanyMutationVariables, UpdateContactMutationVariables, UpdateEmailTemplateMutationVariables, UpdateSegmentMutationVariables, UpdateTaskMutationVariables, UpdateUserProfileMutationVariables, UserTypeInput } from "./generated/graphql";
2
+ import { BulkAssignOwnersInput, CallReportFilterInput, CombinedCampaignFilterInput, CombinedCampaignInput, CombinedCampaignStepInput, CombinedCampaignTemplateInput, CompanyFilterInput, CompanyNoteFilterInput, CompanyNoteInput, CompanyNoteSortInput, CompanySortInput, ContactFilterInput, ContactSortInput, CreateCallCampaignLogMutationVariables, CreateCallCampaignMutationVariables, CreateCampaignMutationVariables, CreateCompanyMutationVariables, CreateContactMutationVariables, CreateEmailTemplateMutationVariables, CreateNotificationMutationVariables, CreateSegmentMutationVariables, CreateTaskMutationVariables, CustomContactInput, EmailCampaignReportFilterInput, EmailToneInput, FileUploadInput, HiddenRecordInput, InvitationResponseInput, InviteUserInput, MicrosoftUserInput, PaginationInput, RecentHistoryFilterInput, RecentHistorySortInput, ReduceSpamInput, SaveNylasConnectionMutationVariables, Scalars, SegmentFilterInput, SetLeadAsNotInterestedInput, SignupInput, SubmitFeedbackMutationVariables, TaskFilterInput, UpdateCallCampaignLogMutationVariables, UpdateCallCampaignMutationVariables, UpdateCampaignMutationVariables, UpdateCombinedCampaignInput, UpdateCombinedCampaignLogInput, UpdateCompanyExternalIdentifierInput, UpdateCompanyMutationVariables, UpdateContactMutationVariables, UpdateEmailTemplateMutationVariables, UpdateSegmentMutationVariables, UpdateTaskMutationVariables, UpdateUserProfileMutationVariables, UserTypeInput } from "./generated/graphql";
3
3
  export declare class CloudForgeSDK {
4
4
  private client;
5
5
  private apolloClient;
@@ -138,6 +138,9 @@ export declare class CloudForgeSDK {
138
138
  conversationHistory(limit?: number, offset?: number): Promise<import("@apollo/client").ApolloQueryResult<any>>;
139
139
  currentAccount(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
140
140
  dashboardStats(startDate?: string, endDate?: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
141
+ emailCampaignReportByCampaign(filters: EmailCampaignReportFilterInput): Promise<import("@apollo/client").ApolloQueryResult<any>>;
142
+ emailCampaignReportOverview(filters: EmailCampaignReportFilterInput): Promise<import("@apollo/client").ApolloQueryResult<any>>;
143
+ emailCampaignReportStats(filters: EmailCampaignReportFilterInput): Promise<import("@apollo/client").ApolloQueryResult<any>>;
141
144
  emailTemplate(uuid: string): Promise<import("@apollo/client").ApolloQueryResult<any>>;
142
145
  emailTemplates(campaignType?: string, campaignTypes?: string[]): Promise<import("@apollo/client").ApolloQueryResult<any>>;
143
146
  employeeSizes(): Promise<import("@apollo/client").ApolloQueryResult<any>>;
package/dist/sdk.js CHANGED
@@ -808,6 +808,24 @@ class CloudForgeSDK {
808
808
  variables: { startDate, endDate }
809
809
  });
810
810
  }
811
+ async emailCampaignReportByCampaign(filters) {
812
+ return this.apolloClient.query({
813
+ query: queries_1.EMAIL_CAMPAIGN_REPORT_BY_CAMPAIGN,
814
+ variables: { filters }
815
+ });
816
+ }
817
+ async emailCampaignReportOverview(filters) {
818
+ return this.apolloClient.query({
819
+ query: queries_1.EMAIL_CAMPAIGN_REPORT_OVERVIEW,
820
+ variables: { filters }
821
+ });
822
+ }
823
+ async emailCampaignReportStats(filters) {
824
+ return this.apolloClient.query({
825
+ query: queries_1.EMAIL_CAMPAIGN_REPORT_STATS,
826
+ variables: { filters }
827
+ });
828
+ }
811
829
  async emailTemplate(uuid) {
812
830
  return this.apolloClient.query({
813
831
  query: queries_1.EMAIL_TEMPLATE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk",
3
- "version": "0.0.84",
3
+ "version": "0.0.85",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",