cf-service-sdk 0.0.32 → 0.0.34

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.
@@ -126,6 +126,12 @@ export type AccountType = {
126
126
  name?: Maybe<Scalars['String']['output']>;
127
127
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
128
128
  };
129
+ export type AddContactsToCampaign = {
130
+ __typename?: 'AddContactsToCampaign';
131
+ campaign?: Maybe<CampaignObject>;
132
+ message?: Maybe<Scalars['String']['output']>;
133
+ success?: Maybe<Scalars['Boolean']['output']>;
134
+ };
129
135
  export type AddContactsToSegment = {
130
136
  __typename?: 'AddContactsToSegment';
131
137
  message?: Maybe<Scalars['String']['output']>;
@@ -502,6 +508,23 @@ export type CampaignAnalyticsType = {
502
508
  /** Total number of steps in the campaign */
503
509
  totalSteps?: Maybe<Scalars['Int']['output']>;
504
510
  };
511
+ export type CampaignContactItemType = {
512
+ __typename?: 'CampaignContactItemType';
513
+ /** City of the contact */
514
+ companyCity?: Maybe<Scalars['String']['output']>;
515
+ /** Company name of the contact */
516
+ companyName?: Maybe<Scalars['String']['output']>;
517
+ /** State of the contact */
518
+ companyState?: Maybe<Scalars['String']['output']>;
519
+ /** Email of the contact */
520
+ email?: Maybe<Scalars['String']['output']>;
521
+ /** First name of the contact */
522
+ firstName?: Maybe<Scalars['String']['output']>;
523
+ /** Last name of the contact */
524
+ lastName?: Maybe<Scalars['String']['output']>;
525
+ /** Phone of the contact */
526
+ phone?: Maybe<Scalars['String']['output']>;
527
+ };
505
528
  /** Statistics for a contact within a specific campaign */
506
529
  export type CampaignContactStatsType = {
507
530
  __typename?: 'CampaignContactStatsType';
@@ -534,6 +557,15 @@ export type CampaignContactType = {
534
557
  /** Detailed logs for this contact in this campaign */
535
558
  contactLogs?: Maybe<Array<Maybe<ContactLogType>>>;
536
559
  };
560
+ export type CampaignContactsType = {
561
+ __typename?: 'CampaignContactsType';
562
+ /** List of contacts */
563
+ items?: Maybe<Array<Maybe<CampaignContactItemType>>>;
564
+ /** Pagination information */
565
+ pagination?: Maybe<PaginationInfo>;
566
+ /** Number of valid emails */
567
+ validEmailCount?: Maybe<Scalars['Int']['output']>;
568
+ };
537
569
  export type CampaignInput = {
538
570
  campaignDetails?: InputMaybe<Scalars['GenericScalar']['input']>;
539
571
  campaignType?: InputMaybe<Scalars['String']['input']>;
@@ -572,6 +604,9 @@ export type CampaignObject = {
572
604
  totalOpened?: Maybe<Scalars['Int']['output']>;
573
605
  totalReplied?: Maybe<Scalars['Int']['output']>;
574
606
  totalSent?: Maybe<Scalars['Int']['output']>;
607
+ totalUniqueClicked?: Maybe<Scalars['Int']['output']>;
608
+ totalUniqueOpened?: Maybe<Scalars['Int']['output']>;
609
+ totalUniqueReplied?: Maybe<Scalars['Int']['output']>;
575
610
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
576
611
  uuid?: Maybe<Scalars['ID']['output']>;
577
612
  };
@@ -877,6 +912,8 @@ export type CompanyObject = {
877
912
  /** Primary company location */
878
913
  primaryLocation?: Maybe<CompanyLocationType>;
879
914
  productMetalScores?: Maybe<Array<Maybe<CompanyProductMetalScoreObject>>>;
915
+ /** Confidence score for the company's likely to purchase metals */
916
+ purchaseMetalConfidence?: Maybe<Scalars['Float']['output']>;
880
917
  state?: Maybe<Scalars['String']['output']>;
881
918
  tags?: Maybe<Array<Maybe<TagObject>>>;
882
919
  tasks?: Maybe<Array<Maybe<TaskObject>>>;
@@ -1136,6 +1173,16 @@ export type CreateTaskInput = {
1136
1173
  status?: InputMaybe<Scalars['String']['input']>;
1137
1174
  title: Scalars['String']['input'];
1138
1175
  };
1176
+ export type CustomContactInput = {
1177
+ companyCity?: InputMaybe<Scalars['String']['input']>;
1178
+ companyName?: InputMaybe<Scalars['String']['input']>;
1179
+ companyState?: InputMaybe<Scalars['String']['input']>;
1180
+ email: Scalars['String']['input'];
1181
+ firstName?: InputMaybe<Scalars['String']['input']>;
1182
+ id?: InputMaybe<Scalars['ID']['input']>;
1183
+ lastName?: InputMaybe<Scalars['String']['input']>;
1184
+ notIncludedInCampaign?: InputMaybe<Scalars['Boolean']['input']>;
1185
+ };
1139
1186
  export type DashboardStatsType = {
1140
1187
  __typename?: 'DashboardStatsType';
1141
1188
  /** Call campaign counts by status */
@@ -1436,6 +1483,7 @@ export type Mutation = {
1436
1483
  __typename?: 'Mutation';
1437
1484
  /** AcceptInvitation - Accept an invitation to join an account */
1438
1485
  acceptInvitation?: Maybe<AcceptInvitation>;
1486
+ addContactsToCampaign?: Maybe<AddContactsToCampaign>;
1439
1487
  addContactsToSegment?: Maybe<AddContactsToSegment>;
1440
1488
  addSegmentToCallCampaign?: Maybe<AddSegmentToCallCampaign>;
1441
1489
  addSegmentToCampaign?: Maybe<AddSegmentToCampaign>;
@@ -1498,6 +1546,7 @@ export type Mutation = {
1498
1546
  previewCampaignEmail?: Maybe<PreviewCampaignEmail>;
1499
1547
  /** RejectInvitation - Reject an invitation to join an account */
1500
1548
  rejectInvitation?: Maybe<RejectInvitation>;
1549
+ removeContactsFromCampaign?: Maybe<RemoveContactsFromCampaign>;
1501
1550
  removeContactsFromSegment?: Maybe<RemoveContactsFromSegment>;
1502
1551
  /** RemoveMember - Remove a member from an account */
1503
1552
  removeMember?: Maybe<RemoveMember>;
@@ -1540,6 +1589,11 @@ export type MutationAcceptInvitationArgs = {
1540
1589
  input: InvitationResponseInput;
1541
1590
  };
1542
1591
  /** Mutations */
1592
+ export type MutationAddContactsToCampaignArgs = {
1593
+ campaignId: Scalars['ID']['input'];
1594
+ contacts: Array<InputMaybe<CustomContactInput>>;
1595
+ };
1596
+ /** Mutations */
1543
1597
  export type MutationAddContactsToSegmentArgs = {
1544
1598
  contactIds: Array<InputMaybe<Scalars['ID']['input']>>;
1545
1599
  segmentId: Scalars['ID']['input'];
@@ -1697,6 +1751,12 @@ export type MutationRejectInvitationArgs = {
1697
1751
  input: InvitationResponseInput;
1698
1752
  };
1699
1753
  /** Mutations */
1754
+ export type MutationRemoveContactsFromCampaignArgs = {
1755
+ campaignId: Scalars['ID']['input'];
1756
+ contactIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1757
+ emailAddresses?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1758
+ };
1759
+ /** Mutations */
1700
1760
  export type MutationRemoveContactsFromSegmentArgs = {
1701
1761
  contactIds: Array<InputMaybe<Scalars['ID']['input']>>;
1702
1762
  segmentId: Scalars['ID']['input'];
@@ -2021,6 +2081,8 @@ export type Query = {
2021
2081
  campaign?: Maybe<CampaignObject>;
2022
2082
  /** Get detailed analytics for a specific campaign including per-step breakdown */
2023
2083
  campaignAnalytics?: Maybe<CampaignAnalyticsType>;
2084
+ /** Get list of contacts for a campaign */
2085
+ campaignContacts?: Maybe<CampaignContactsType>;
2024
2086
  /** Get paginated list of contacts for a campaign with campaign-specific statistics */
2025
2087
  campaignLogs?: Maybe<PaginatedCampaignContactList>;
2026
2088
  /** Get campaign statistics for the current user's account */
@@ -2109,6 +2171,10 @@ export type QueryCampaignAnalyticsArgs = {
2109
2171
  campaignId: Scalars['ID']['input'];
2110
2172
  };
2111
2173
  /** Query */
2174
+ export type QueryCampaignContactsArgs = {
2175
+ campaignUuid: Scalars['ID']['input'];
2176
+ };
2177
+ /** Query */
2112
2178
  export type QueryCampaignLogsArgs = {
2113
2179
  campaignId: Scalars['ID']['input'];
2114
2180
  pagination: PaginationInput;
@@ -2290,6 +2356,12 @@ export type RejectInvitation = {
2290
2356
  message?: Maybe<Scalars['String']['output']>;
2291
2357
  success?: Maybe<Scalars['Boolean']['output']>;
2292
2358
  };
2359
+ export type RemoveContactsFromCampaign = {
2360
+ __typename?: 'RemoveContactsFromCampaign';
2361
+ campaign?: Maybe<CampaignObject>;
2362
+ message?: Maybe<Scalars['String']['output']>;
2363
+ success?: Maybe<Scalars['Boolean']['output']>;
2364
+ };
2293
2365
  export type RemoveContactsFromSegment = {
2294
2366
  __typename?: 'RemoveContactsFromSegment';
2295
2367
  message?: Maybe<Scalars['String']['output']>;
@@ -2664,6 +2736,76 @@ export type AcceptInvitationMutation = {
2664
2736
  } | null;
2665
2737
  } | null;
2666
2738
  };
2739
+ export type AddContactsToCampaignMutationVariables = Exact<{
2740
+ campaignId: Scalars['ID']['input'];
2741
+ contacts: Array<InputMaybe<CustomContactInput>> | InputMaybe<CustomContactInput>;
2742
+ }>;
2743
+ export type AddContactsToCampaignMutation = {
2744
+ __typename?: 'Mutation';
2745
+ addContactsToCampaign?: {
2746
+ __typename?: 'AddContactsToCampaign';
2747
+ success?: boolean | null;
2748
+ message?: string | null;
2749
+ campaign?: {
2750
+ __typename?: 'CampaignObject';
2751
+ uuid?: string | null;
2752
+ name?: string | null;
2753
+ description?: string | null;
2754
+ campaignDetails?: any | null;
2755
+ scheduledFor?: any | null;
2756
+ startedAt?: any | null;
2757
+ completedAt?: any | null;
2758
+ cancelledAt?: any | null;
2759
+ pausedAt?: any | null;
2760
+ status?: string | null;
2761
+ stats?: any | null;
2762
+ createdAt?: any | null;
2763
+ updatedAt?: any | null;
2764
+ campaignType?: string | null;
2765
+ emailPreview?: any | null;
2766
+ stepsPreview?: any | null;
2767
+ totalSent?: number | null;
2768
+ totalOpened?: number | null;
2769
+ totalClicked?: number | null;
2770
+ totalBounced?: number | null;
2771
+ totalReplied?: number | null;
2772
+ totalUniqueOpened?: number | null;
2773
+ totalUniqueClicked?: number | null;
2774
+ totalUniqueReplied?: number | null;
2775
+ openRate?: number | null;
2776
+ clickRate?: number | null;
2777
+ bounceRate?: number | null;
2778
+ reasonForPause?: string | null;
2779
+ pausedUntil?: any | null;
2780
+ segments?: Array<{
2781
+ __typename?: 'SegmentObject';
2782
+ id?: string | null;
2783
+ name?: string | null;
2784
+ description?: string | null;
2785
+ state?: string | null;
2786
+ industry?: string | null;
2787
+ metalType?: string | null;
2788
+ productCategory?: string | null;
2789
+ segmentType?: string | null;
2790
+ createdAt?: any | null;
2791
+ updatedAt?: any | null;
2792
+ isSystemTemplate?: boolean | null;
2793
+ totalContacts?: number | null;
2794
+ } | null> | null;
2795
+ emailTemplate?: {
2796
+ __typename?: 'EmailTemplateObject';
2797
+ uuid?: string | null;
2798
+ name?: string | null;
2799
+ description?: string | null;
2800
+ subject?: string | null;
2801
+ template?: string | null;
2802
+ createdAt?: any | null;
2803
+ updatedAt?: any | null;
2804
+ campaignType?: string | null;
2805
+ } | null;
2806
+ } | null;
2807
+ } | null;
2808
+ };
2667
2809
  export type AddContactsToSegmentMutationVariables = Exact<{
2668
2810
  contactIds: Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>;
2669
2811
  segmentId: Scalars['ID']['input'];
@@ -2789,6 +2931,9 @@ export type AddSegmentToCampaignMutation = {
2789
2931
  totalClicked?: number | null;
2790
2932
  totalBounced?: number | null;
2791
2933
  totalReplied?: number | null;
2934
+ totalUniqueOpened?: number | null;
2935
+ totalUniqueClicked?: number | null;
2936
+ totalUniqueReplied?: number | null;
2792
2937
  openRate?: number | null;
2793
2938
  clickRate?: number | null;
2794
2939
  bounceRate?: number | null;
@@ -2855,6 +3000,9 @@ export type CancelCampaignMutation = {
2855
3000
  totalClicked?: number | null;
2856
3001
  totalBounced?: number | null;
2857
3002
  totalReplied?: number | null;
3003
+ totalUniqueOpened?: number | null;
3004
+ totalUniqueClicked?: number | null;
3005
+ totalUniqueReplied?: number | null;
2858
3006
  openRate?: number | null;
2859
3007
  clickRate?: number | null;
2860
3008
  bounceRate?: number | null;
@@ -2943,6 +3091,9 @@ export type CompleteCampaignMutation = {
2943
3091
  totalClicked?: number | null;
2944
3092
  totalBounced?: number | null;
2945
3093
  totalReplied?: number | null;
3094
+ totalUniqueOpened?: number | null;
3095
+ totalUniqueClicked?: number | null;
3096
+ totalUniqueReplied?: number | null;
2946
3097
  openRate?: number | null;
2947
3098
  clickRate?: number | null;
2948
3099
  bounceRate?: number | null;
@@ -3220,6 +3371,9 @@ export type CreateCampaignMutation = {
3220
3371
  totalClicked?: number | null;
3221
3372
  totalBounced?: number | null;
3222
3373
  totalReplied?: number | null;
3374
+ totalUniqueOpened?: number | null;
3375
+ totalUniqueClicked?: number | null;
3376
+ totalUniqueReplied?: number | null;
3223
3377
  openRate?: number | null;
3224
3378
  clickRate?: number | null;
3225
3379
  bounceRate?: number | null;
@@ -3289,6 +3443,7 @@ export type CreateCompanyMutation = {
3289
3443
  averageScore?: number | null;
3290
3444
  ownedByUser?: boolean | null;
3291
3445
  isProspect?: boolean | null;
3446
+ purchaseMetalConfidence?: number | null;
3292
3447
  tags?: Array<{
3293
3448
  __typename?: 'TagObject';
3294
3449
  id?: string | null;
@@ -4803,6 +4958,9 @@ export type PauseCampaignMutation = {
4803
4958
  totalClicked?: number | null;
4804
4959
  totalBounced?: number | null;
4805
4960
  totalReplied?: number | null;
4961
+ totalUniqueOpened?: number | null;
4962
+ totalUniqueClicked?: number | null;
4963
+ totalUniqueReplied?: number | null;
4806
4964
  openRate?: number | null;
4807
4965
  clickRate?: number | null;
4808
4966
  bounceRate?: number | null;
@@ -4867,6 +5025,77 @@ export type RejectInvitationMutation = {
4867
5025
  message?: string | null;
4868
5026
  } | null;
4869
5027
  };
5028
+ export type RemoveContactsFromCampaignMutationVariables = Exact<{
5029
+ campaignId: Scalars['ID']['input'];
5030
+ contactIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>>;
5031
+ emailAddresses?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
5032
+ }>;
5033
+ export type RemoveContactsFromCampaignMutation = {
5034
+ __typename?: 'Mutation';
5035
+ removeContactsFromCampaign?: {
5036
+ __typename?: 'RemoveContactsFromCampaign';
5037
+ success?: boolean | null;
5038
+ message?: string | null;
5039
+ campaign?: {
5040
+ __typename?: 'CampaignObject';
5041
+ uuid?: string | null;
5042
+ name?: string | null;
5043
+ description?: string | null;
5044
+ campaignDetails?: any | null;
5045
+ scheduledFor?: any | null;
5046
+ startedAt?: any | null;
5047
+ completedAt?: any | null;
5048
+ cancelledAt?: any | null;
5049
+ pausedAt?: any | null;
5050
+ status?: string | null;
5051
+ stats?: any | null;
5052
+ createdAt?: any | null;
5053
+ updatedAt?: any | null;
5054
+ campaignType?: string | null;
5055
+ emailPreview?: any | null;
5056
+ stepsPreview?: any | null;
5057
+ totalSent?: number | null;
5058
+ totalOpened?: number | null;
5059
+ totalClicked?: number | null;
5060
+ totalBounced?: number | null;
5061
+ totalReplied?: number | null;
5062
+ totalUniqueOpened?: number | null;
5063
+ totalUniqueClicked?: number | null;
5064
+ totalUniqueReplied?: number | null;
5065
+ openRate?: number | null;
5066
+ clickRate?: number | null;
5067
+ bounceRate?: number | null;
5068
+ reasonForPause?: string | null;
5069
+ pausedUntil?: any | null;
5070
+ segments?: Array<{
5071
+ __typename?: 'SegmentObject';
5072
+ id?: string | null;
5073
+ name?: string | null;
5074
+ description?: string | null;
5075
+ state?: string | null;
5076
+ industry?: string | null;
5077
+ metalType?: string | null;
5078
+ productCategory?: string | null;
5079
+ segmentType?: string | null;
5080
+ createdAt?: any | null;
5081
+ updatedAt?: any | null;
5082
+ isSystemTemplate?: boolean | null;
5083
+ totalContacts?: number | null;
5084
+ } | null> | null;
5085
+ emailTemplate?: {
5086
+ __typename?: 'EmailTemplateObject';
5087
+ uuid?: string | null;
5088
+ name?: string | null;
5089
+ description?: string | null;
5090
+ subject?: string | null;
5091
+ template?: string | null;
5092
+ createdAt?: any | null;
5093
+ updatedAt?: any | null;
5094
+ campaignType?: string | null;
5095
+ } | null;
5096
+ } | null;
5097
+ } | null;
5098
+ };
4870
5099
  export type RemoveContactsFromSegmentMutationVariables = Exact<{
4871
5100
  contactIds: Array<InputMaybe<Scalars['ID']['input']>> | InputMaybe<Scalars['ID']['input']>;
4872
5101
  segmentId: Scalars['ID']['input'];
@@ -5004,6 +5233,9 @@ export type RemoveSegmentFromCampaignMutation = {
5004
5233
  totalClicked?: number | null;
5005
5234
  totalBounced?: number | null;
5006
5235
  totalReplied?: number | null;
5236
+ totalUniqueOpened?: number | null;
5237
+ totalUniqueClicked?: number | null;
5238
+ totalUniqueReplied?: number | null;
5007
5239
  openRate?: number | null;
5008
5240
  clickRate?: number | null;
5009
5241
  bounceRate?: number | null;
@@ -5093,6 +5325,9 @@ export type ScheduleCampaignMutation = {
5093
5325
  totalClicked?: number | null;
5094
5326
  totalBounced?: number | null;
5095
5327
  totalReplied?: number | null;
5328
+ totalUniqueOpened?: number | null;
5329
+ totalUniqueClicked?: number | null;
5330
+ totalUniqueReplied?: number | null;
5096
5331
  openRate?: number | null;
5097
5332
  clickRate?: number | null;
5098
5333
  bounceRate?: number | null;
@@ -5182,6 +5417,9 @@ export type SendEmailToContactMutation = {
5182
5417
  totalClicked?: number | null;
5183
5418
  totalBounced?: number | null;
5184
5419
  totalReplied?: number | null;
5420
+ totalUniqueOpened?: number | null;
5421
+ totalUniqueClicked?: number | null;
5422
+ totalUniqueReplied?: number | null;
5185
5423
  openRate?: number | null;
5186
5424
  clickRate?: number | null;
5187
5425
  bounceRate?: number | null;
@@ -5336,6 +5574,9 @@ export type StartCampaignMutation = {
5336
5574
  totalClicked?: number | null;
5337
5575
  totalBounced?: number | null;
5338
5576
  totalReplied?: number | null;
5577
+ totalUniqueOpened?: number | null;
5578
+ totalUniqueClicked?: number | null;
5579
+ totalUniqueReplied?: number | null;
5339
5580
  openRate?: number | null;
5340
5581
  clickRate?: number | null;
5341
5582
  bounceRate?: number | null;
@@ -5649,6 +5890,9 @@ export type UpdateCampaignMutation = {
5649
5890
  totalClicked?: number | null;
5650
5891
  totalBounced?: number | null;
5651
5892
  totalReplied?: number | null;
5893
+ totalUniqueOpened?: number | null;
5894
+ totalUniqueClicked?: number | null;
5895
+ totalUniqueReplied?: number | null;
5652
5896
  openRate?: number | null;
5653
5897
  clickRate?: number | null;
5654
5898
  bounceRate?: number | null;
@@ -5718,6 +5962,7 @@ export type UpdateCompanyMutation = {
5718
5962
  averageScore?: number | null;
5719
5963
  ownedByUser?: boolean | null;
5720
5964
  isProspect?: boolean | null;
5965
+ purchaseMetalConfidence?: number | null;
5721
5966
  tags?: Array<{
5722
5967
  __typename?: 'TagObject';
5723
5968
  id?: string | null;
@@ -7495,6 +7740,9 @@ export type CampaignQuery = {
7495
7740
  totalClicked?: number | null;
7496
7741
  totalBounced?: number | null;
7497
7742
  totalReplied?: number | null;
7743
+ totalUniqueOpened?: number | null;
7744
+ totalUniqueClicked?: number | null;
7745
+ totalUniqueReplied?: number | null;
7498
7746
  openRate?: number | null;
7499
7747
  clickRate?: number | null;
7500
7748
  bounceRate?: number | null;
@@ -7566,6 +7814,35 @@ export type CampaignAnalyticsQuery = {
7566
7814
  } | null> | null;
7567
7815
  } | null;
7568
7816
  };
7817
+ export type CampaignContactsQueryVariables = Exact<{
7818
+ campaignUuid: Scalars['ID']['input'];
7819
+ }>;
7820
+ export type CampaignContactsQuery = {
7821
+ __typename?: 'Query';
7822
+ campaignContacts?: {
7823
+ __typename?: 'CampaignContactsType';
7824
+ validEmailCount?: number | null;
7825
+ items?: Array<{
7826
+ __typename?: 'CampaignContactItemType';
7827
+ firstName?: string | null;
7828
+ lastName?: string | null;
7829
+ email?: string | null;
7830
+ companyName?: string | null;
7831
+ companyCity?: string | null;
7832
+ companyState?: string | null;
7833
+ phone?: string | null;
7834
+ } | null> | null;
7835
+ pagination?: {
7836
+ __typename?: 'PaginationInfo';
7837
+ currentPage?: number | null;
7838
+ pageSize?: number | null;
7839
+ totalPages?: number | null;
7840
+ totalCount?: number | null;
7841
+ hasNextPage?: boolean | null;
7842
+ hasPreviousPage?: boolean | null;
7843
+ } | null;
7844
+ } | null;
7845
+ };
7569
7846
  export type CampaignLogsQueryVariables = Exact<{
7570
7847
  campaignId: Scalars['ID']['input'];
7571
7848
  pagination: PaginationInput;
@@ -7676,6 +7953,9 @@ export type CampaignLogsQuery = {
7676
7953
  totalClicked?: number | null;
7677
7954
  totalBounced?: number | null;
7678
7955
  totalReplied?: number | null;
7956
+ totalUniqueOpened?: number | null;
7957
+ totalUniqueClicked?: number | null;
7958
+ totalUniqueReplied?: number | null;
7679
7959
  openRate?: number | null;
7680
7960
  clickRate?: number | null;
7681
7961
  bounceRate?: number | null;
@@ -7843,6 +8123,9 @@ export type CampaignsQuery = {
7843
8123
  totalClicked?: number | null;
7844
8124
  totalBounced?: number | null;
7845
8125
  totalReplied?: number | null;
8126
+ totalUniqueOpened?: number | null;
8127
+ totalUniqueClicked?: number | null;
8128
+ totalUniqueReplied?: number | null;
7846
8129
  openRate?: number | null;
7847
8130
  clickRate?: number | null;
7848
8131
  bounceRate?: number | null;
@@ -7923,6 +8206,7 @@ export type CompaniesQuery = {
7923
8206
  averageScore?: number | null;
7924
8207
  ownedByUser?: boolean | null;
7925
8208
  isProspect?: boolean | null;
8209
+ purchaseMetalConfidence?: number | null;
7926
8210
  tags?: Array<{
7927
8211
  __typename?: 'TagObject';
7928
8212
  id?: string | null;
@@ -8482,6 +8766,7 @@ export type CompanyQuery = {
8482
8766
  averageScore?: number | null;
8483
8767
  ownedByUser?: boolean | null;
8484
8768
  isProspect?: boolean | null;
8769
+ purchaseMetalConfidence?: number | null;
8485
8770
  tags?: Array<{
8486
8771
  __typename?: 'TagObject';
8487
8772
  id?: string | null;
@@ -10269,6 +10554,7 @@ export type RecentHistoryQuery = {
10269
10554
  averageScore?: number | null;
10270
10555
  ownedByUser?: boolean | null;
10271
10556
  isProspect?: boolean | null;
10557
+ purchaseMetalConfidence?: number | null;
10272
10558
  tags?: Array<{
10273
10559
  __typename?: 'TagObject';
10274
10560
  id?: string | null;
@@ -11278,6 +11564,33 @@ export declare function useAcceptInvitationMutation(baseOptions?: Apollo.Mutatio
11278
11564
  export type AcceptInvitationMutationHookResult = ReturnType<typeof useAcceptInvitationMutation>;
11279
11565
  export type AcceptInvitationMutationResult = Apollo.MutationResult<AcceptInvitationMutation>;
11280
11566
  export type AcceptInvitationMutationOptions = Apollo.BaseMutationOptions<AcceptInvitationMutation, AcceptInvitationMutationVariables>;
11567
+ export declare const AddContactsToCampaignDocument: Apollo.DocumentNode;
11568
+ export type AddContactsToCampaignMutationFn = Apollo.MutationFunction<AddContactsToCampaignMutation, AddContactsToCampaignMutationVariables>;
11569
+ /**
11570
+ * __useAddContactsToCampaignMutation__
11571
+ *
11572
+ * To run a mutation, you first call `useAddContactsToCampaignMutation` within a React component and pass it any options that fit your needs.
11573
+ * When your component renders, `useAddContactsToCampaignMutation` returns a tuple that includes:
11574
+ * - A mutate function that you can call at any time to execute the mutation
11575
+ * - An object with fields that represent the current status of the mutation's execution
11576
+ *
11577
+ * @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;
11578
+ *
11579
+ * @example
11580
+ * const [addContactsToCampaignMutation, { data, loading, error }] = useAddContactsToCampaignMutation({
11581
+ * variables: {
11582
+ * campaignId: // value for 'campaignId'
11583
+ * contacts: // value for 'contacts'
11584
+ * },
11585
+ * });
11586
+ */
11587
+ export declare function useAddContactsToCampaignMutation(baseOptions?: Apollo.MutationHookOptions<AddContactsToCampaignMutation, AddContactsToCampaignMutationVariables>): Apollo.MutationTuple<AddContactsToCampaignMutation, Exact<{
11588
+ campaignId: Scalars["ID"]["input"];
11589
+ contacts: Array<InputMaybe<CustomContactInput>> | InputMaybe<CustomContactInput>;
11590
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
11591
+ export type AddContactsToCampaignMutationHookResult = ReturnType<typeof useAddContactsToCampaignMutation>;
11592
+ export type AddContactsToCampaignMutationResult = Apollo.MutationResult<AddContactsToCampaignMutation>;
11593
+ export type AddContactsToCampaignMutationOptions = Apollo.BaseMutationOptions<AddContactsToCampaignMutation, AddContactsToCampaignMutationVariables>;
11281
11594
  export declare const AddContactsToSegmentDocument: Apollo.DocumentNode;
11282
11595
  export type AddContactsToSegmentMutationFn = Apollo.MutationFunction<AddContactsToSegmentMutation, AddContactsToSegmentMutationVariables>;
11283
11596
  /**
@@ -12269,6 +12582,35 @@ export declare function useRejectInvitationMutation(baseOptions?: Apollo.Mutatio
12269
12582
  export type RejectInvitationMutationHookResult = ReturnType<typeof useRejectInvitationMutation>;
12270
12583
  export type RejectInvitationMutationResult = Apollo.MutationResult<RejectInvitationMutation>;
12271
12584
  export type RejectInvitationMutationOptions = Apollo.BaseMutationOptions<RejectInvitationMutation, RejectInvitationMutationVariables>;
12585
+ export declare const RemoveContactsFromCampaignDocument: Apollo.DocumentNode;
12586
+ export type RemoveContactsFromCampaignMutationFn = Apollo.MutationFunction<RemoveContactsFromCampaignMutation, RemoveContactsFromCampaignMutationVariables>;
12587
+ /**
12588
+ * __useRemoveContactsFromCampaignMutation__
12589
+ *
12590
+ * To run a mutation, you first call `useRemoveContactsFromCampaignMutation` within a React component and pass it any options that fit your needs.
12591
+ * When your component renders, `useRemoveContactsFromCampaignMutation` returns a tuple that includes:
12592
+ * - A mutate function that you can call at any time to execute the mutation
12593
+ * - An object with fields that represent the current status of the mutation's execution
12594
+ *
12595
+ * @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;
12596
+ *
12597
+ * @example
12598
+ * const [removeContactsFromCampaignMutation, { data, loading, error }] = useRemoveContactsFromCampaignMutation({
12599
+ * variables: {
12600
+ * campaignId: // value for 'campaignId'
12601
+ * contactIds: // value for 'contactIds'
12602
+ * emailAddresses: // value for 'emailAddresses'
12603
+ * },
12604
+ * });
12605
+ */
12606
+ export declare function useRemoveContactsFromCampaignMutation(baseOptions?: Apollo.MutationHookOptions<RemoveContactsFromCampaignMutation, RemoveContactsFromCampaignMutationVariables>): Apollo.MutationTuple<RemoveContactsFromCampaignMutation, Exact<{
12607
+ campaignId: Scalars["ID"]["input"];
12608
+ contactIds?: InputMaybe<Array<InputMaybe<Scalars["ID"]["input"]>> | InputMaybe<Scalars["ID"]["input"]>>;
12609
+ emailAddresses?: InputMaybe<Array<InputMaybe<Scalars["String"]["input"]>> | InputMaybe<Scalars["String"]["input"]>>;
12610
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
12611
+ export type RemoveContactsFromCampaignMutationHookResult = ReturnType<typeof useRemoveContactsFromCampaignMutation>;
12612
+ export type RemoveContactsFromCampaignMutationResult = Apollo.MutationResult<RemoveContactsFromCampaignMutation>;
12613
+ export type RemoveContactsFromCampaignMutationOptions = Apollo.BaseMutationOptions<RemoveContactsFromCampaignMutation, RemoveContactsFromCampaignMutationVariables>;
12272
12614
  export declare const RemoveContactsFromSegmentDocument: Apollo.DocumentNode;
12273
12615
  export type RemoveContactsFromSegmentMutationFn = Apollo.MutationFunction<RemoveContactsFromSegmentMutation, RemoveContactsFromSegmentMutationVariables>;
12274
12616
  /**
@@ -13258,6 +13600,41 @@ export type CampaignAnalyticsQueryHookResult = ReturnType<typeof useCampaignAnal
13258
13600
  export type CampaignAnalyticsLazyQueryHookResult = ReturnType<typeof useCampaignAnalyticsLazyQuery>;
13259
13601
  export type CampaignAnalyticsSuspenseQueryHookResult = ReturnType<typeof useCampaignAnalyticsSuspenseQuery>;
13260
13602
  export type CampaignAnalyticsQueryResult = Apollo.QueryResult<CampaignAnalyticsQuery, CampaignAnalyticsQueryVariables>;
13603
+ export declare const CampaignContactsDocument: Apollo.DocumentNode;
13604
+ /**
13605
+ * __useCampaignContactsQuery__
13606
+ *
13607
+ * To run a query within a React component, call `useCampaignContactsQuery` and pass it any options that fit your needs.
13608
+ * When your component renders, `useCampaignContactsQuery` returns an object from Apollo Client that contains loading, error, and data properties
13609
+ * you can use to render your UI.
13610
+ *
13611
+ * @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;
13612
+ *
13613
+ * @example
13614
+ * const { data, loading, error } = useCampaignContactsQuery({
13615
+ * variables: {
13616
+ * campaignUuid: // value for 'campaignUuid'
13617
+ * },
13618
+ * });
13619
+ */
13620
+ export declare function useCampaignContactsQuery(baseOptions: Apollo.QueryHookOptions<CampaignContactsQuery, CampaignContactsQueryVariables> & ({
13621
+ variables: CampaignContactsQueryVariables;
13622
+ skip?: boolean;
13623
+ } | {
13624
+ skip: boolean;
13625
+ })): Apollo.QueryResult<CampaignContactsQuery, Exact<{
13626
+ campaignUuid: Scalars["ID"]["input"];
13627
+ }>>;
13628
+ export declare function useCampaignContactsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CampaignContactsQuery, CampaignContactsQueryVariables>): Apollo.LazyQueryResultTuple<CampaignContactsQuery, Exact<{
13629
+ campaignUuid: Scalars["ID"]["input"];
13630
+ }>>;
13631
+ export declare function useCampaignContactsSuspenseQuery(baseOptions?: Apollo.SkipToken | Apollo.SuspenseQueryHookOptions<CampaignContactsQuery, CampaignContactsQueryVariables>): Apollo.UseSuspenseQueryResult<CampaignContactsQuery | undefined, Exact<{
13632
+ campaignUuid: Scalars["ID"]["input"];
13633
+ }>>;
13634
+ export type CampaignContactsQueryHookResult = ReturnType<typeof useCampaignContactsQuery>;
13635
+ export type CampaignContactsLazyQueryHookResult = ReturnType<typeof useCampaignContactsLazyQuery>;
13636
+ export type CampaignContactsSuspenseQueryHookResult = ReturnType<typeof useCampaignContactsSuspenseQuery>;
13637
+ export type CampaignContactsQueryResult = Apollo.QueryResult<CampaignContactsQuery, CampaignContactsQueryVariables>;
13261
13638
  export declare const CampaignLogsDocument: Apollo.DocumentNode;
13262
13639
  /**
13263
13640
  * __useCampaignLogsQuery__