cf-service-sdk-dharani 0.0.72 → 0.0.73

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.
@@ -372,7 +372,9 @@ export type CallCampaignAnalyticsSummary = {
372
372
  };
373
373
  export type CallCampaignInput = {
374
374
  accountId?: InputMaybe<Scalars['ID']['input']>;
375
+ contactIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
375
376
  description?: InputMaybe<Scalars['String']['input']>;
377
+ manualContacts?: InputMaybe<Array<InputMaybe<ManualContactInput>>>;
376
378
  name?: InputMaybe<Scalars['String']['input']>;
377
379
  segmentIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
378
380
  status?: InputMaybe<Scalars['String']['input']>;
@@ -1113,6 +1115,8 @@ export type CompleteCampaign = {
1113
1115
  export type ContactFilterInput = {
1114
1116
  /** Filter by company IDs */
1115
1117
  companyIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1118
+ /** Include these contact IDs in the results (OR logic) */
1119
+ contactIdsToInclude?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1116
1120
  /** Filter by whether the contact's company is a customer */
1117
1121
  isCustomer?: InputMaybe<Scalars['Boolean']['input']>;
1118
1122
  /** Search in contact name, email, title, and company name */
@@ -1283,6 +1287,7 @@ export type CreateNotificationInput = {
1283
1287
  message: Scalars['String']['input'];
1284
1288
  metadata?: InputMaybe<Scalars['JSONString']['input']>;
1285
1289
  notificationType?: InputMaybe<NotificationTypeEnum>;
1290
+ redirectUrl?: InputMaybe<Scalars['String']['input']>;
1286
1291
  title: Scalars['String']['input'];
1287
1292
  userId: Scalars['ID']['input'];
1288
1293
  };
@@ -1474,8 +1479,8 @@ export type EmailToneInput = {
1474
1479
  emailContent: Scalars['String']['input'];
1475
1480
  /** Number of variations to generate (default: 3) */
1476
1481
  numVariations?: InputMaybe<Scalars['Int']['input']>;
1477
- /** List of previous variations to avoid repetition */
1478
- previousVariations?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1482
+ /** Previous variations to avoid repetition */
1483
+ previousVariations?: InputMaybe<Scalars['JSONString']['input']>;
1479
1484
  /** Original email subject (optional) */
1480
1485
  subject?: InputMaybe<Scalars['String']['input']>;
1481
1486
  /** Tone instruction (e.g., 'Persuasive', 'Technical', 'Friendly') */
@@ -1610,6 +1615,15 @@ export type LoginWithMicrosoft = {
1610
1615
  token?: Maybe<Scalars['String']['output']>;
1611
1616
  user?: Maybe<UserType>;
1612
1617
  };
1618
+ export type ManualContactInput = {
1619
+ companyCity?: InputMaybe<Scalars['String']['input']>;
1620
+ companyName?: InputMaybe<Scalars['String']['input']>;
1621
+ companyState?: InputMaybe<Scalars['String']['input']>;
1622
+ email?: InputMaybe<Scalars['String']['input']>;
1623
+ firstName?: InputMaybe<Scalars['String']['input']>;
1624
+ lastName?: InputMaybe<Scalars['String']['input']>;
1625
+ phone?: InputMaybe<Scalars['String']['input']>;
1626
+ };
1613
1627
  /** Mark all unread notifications as read for the current user */
1614
1628
  export type MarkAllNotificationsAsRead = {
1615
1629
  __typename?: 'MarkAllNotificationsAsRead';
@@ -1718,6 +1732,8 @@ export type Mutation = {
1718
1732
  pauseCampaign?: Maybe<PauseCampaign>;
1719
1733
  /** Preview how a campaign email would look for a specific contact without sending it */
1720
1734
  previewCampaignEmail?: Maybe<PreviewCampaignEmail>;
1735
+ /** ReduceSpam - Reduce spam score of email content using Claude LLM */
1736
+ reduceSpam?: Maybe<ReduceSpam>;
1721
1737
  /** RejectInvitation - Reject an invitation to join an account */
1722
1738
  rejectInvitation?: Maybe<RejectInvitation>;
1723
1739
  removeContactsFromCampaign?: Maybe<RemoveContactsFromCampaign>;
@@ -1921,6 +1937,10 @@ export type MutationPreviewCampaignEmailArgs = {
1921
1937
  customTemplate?: InputMaybe<Scalars['String']['input']>;
1922
1938
  };
1923
1939
  /** Mutations */
1940
+ export type MutationReduceSpamArgs = {
1941
+ input: ReduceSpamInput;
1942
+ };
1943
+ /** Mutations */
1924
1944
  export type MutationRejectInvitationArgs = {
1925
1945
  input: InvitationResponseInput;
1926
1946
  };
@@ -2076,6 +2096,8 @@ export type NotificationType = {
2076
2096
  notificationType: AppNotificationNotificationTypeChoices;
2077
2097
  /** Timestamp when the notification was read */
2078
2098
  readAt?: Maybe<Scalars['DateTime']['output']>;
2099
+ /** Optional URL to redirect when notification is clicked */
2100
+ redirectUrl?: Maybe<Scalars['String']['output']>;
2079
2101
  /** Notification title */
2080
2102
  title: Scalars['String']['output'];
2081
2103
  updatedAt: Scalars['DateTime']['output'];
@@ -2556,6 +2578,33 @@ export type RecentlyContactedContactType = {
2556
2578
  daysSinceContact?: Maybe<Scalars['Int']['output']>;
2557
2579
  lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
2558
2580
  };
2581
+ /** ReduceSpam - Reduce spam score of email content using Claude LLM */
2582
+ export type ReduceSpam = {
2583
+ __typename?: 'ReduceSpam';
2584
+ message?: Maybe<Scalars['String']['output']>;
2585
+ reduceSpamResponse?: Maybe<ReduceSpamResponse>;
2586
+ success?: Maybe<Scalars['Boolean']['output']>;
2587
+ };
2588
+ /** ReduceSpamInput for reducing spam score of email content */
2589
+ export type ReduceSpamInput = {
2590
+ /** Original email content */
2591
+ emailContent: Scalars['String']['input'];
2592
+ /** Original email subject (optional) */
2593
+ subject?: InputMaybe<Scalars['String']['input']>;
2594
+ };
2595
+ /** ReduceSpamResponse - Response for spam reduction */
2596
+ export type ReduceSpamResponse = {
2597
+ __typename?: 'ReduceSpamResponse';
2598
+ changesMade?: Maybe<Scalars['JSONString']['output']>;
2599
+ cleanedContent?: Maybe<Scalars['String']['output']>;
2600
+ cleanedSubject?: Maybe<Scalars['String']['output']>;
2601
+ message?: Maybe<Scalars['String']['output']>;
2602
+ noChangesNeeded?: Maybe<Scalars['Boolean']['output']>;
2603
+ noOfChanges?: Maybe<Scalars['Int']['output']>;
2604
+ originalContent?: Maybe<Scalars['String']['output']>;
2605
+ originalSubject?: Maybe<Scalars['String']['output']>;
2606
+ success?: Maybe<Scalars['Boolean']['output']>;
2607
+ };
2559
2608
  /** RejectInvitation - Reject an invitation to join an account */
2560
2609
  export type RejectInvitation = {
2561
2610
  __typename?: 'RejectInvitation';
@@ -2674,6 +2723,8 @@ export type SegmentObject = {
2674
2723
  /** Type of segment: USER_GENERATED or SYSTEM_GENERATED */
2675
2724
  segmentType?: Maybe<Scalars['String']['output']>;
2676
2725
  state?: Maybe<Scalars['String']['output']>;
2726
+ /** Status of the segment: active or deleted */
2727
+ status?: Maybe<Scalars['String']['output']>;
2677
2728
  /** Total number of contacts in the segment */
2678
2729
  totalContacts?: Maybe<Scalars['Int']['output']>;
2679
2730
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -3011,6 +3062,7 @@ export type AddContactsToCampaignMutation = {
3011
3062
  updatedAt?: any | null;
3012
3063
  isSystemTemplate?: boolean | null;
3013
3064
  totalContacts?: number | null;
3065
+ status?: string | null;
3014
3066
  } | null> | null;
3015
3067
  emailTemplate?: {
3016
3068
  __typename?: 'EmailTemplateObject';
@@ -3050,6 +3102,7 @@ export type AddContactsToSegmentMutation = {
3050
3102
  updatedAt?: any | null;
3051
3103
  isSystemTemplate?: boolean | null;
3052
3104
  totalContacts?: number | null;
3105
+ status?: string | null;
3053
3106
  } | null;
3054
3107
  } | null;
3055
3108
  };
@@ -3105,6 +3158,7 @@ export type AddSegmentToCallCampaignMutation = {
3105
3158
  updatedAt?: any | null;
3106
3159
  isSystemTemplate?: boolean | null;
3107
3160
  totalContacts?: number | null;
3161
+ status?: string | null;
3108
3162
  } | null> | null;
3109
3163
  stats?: {
3110
3164
  __typename?: 'CallCampaignStatsObject';
@@ -3173,6 +3227,7 @@ export type AddSegmentToCampaignMutation = {
3173
3227
  updatedAt?: any | null;
3174
3228
  isSystemTemplate?: boolean | null;
3175
3229
  totalContacts?: number | null;
3230
+ status?: string | null;
3176
3231
  } | null> | null;
3177
3232
  emailTemplate?: {
3178
3233
  __typename?: 'EmailTemplateObject';
@@ -3242,6 +3297,7 @@ export type CancelCampaignMutation = {
3242
3297
  updatedAt?: any | null;
3243
3298
  isSystemTemplate?: boolean | null;
3244
3299
  totalContacts?: number | null;
3300
+ status?: string | null;
3245
3301
  } | null> | null;
3246
3302
  emailTemplate?: {
3247
3303
  __typename?: 'EmailTemplateObject';
@@ -3345,6 +3401,7 @@ export type CompleteCampaignMutation = {
3345
3401
  updatedAt?: any | null;
3346
3402
  isSystemTemplate?: boolean | null;
3347
3403
  totalContacts?: number | null;
3404
+ status?: string | null;
3348
3405
  } | null> | null;
3349
3406
  emailTemplate?: {
3350
3407
  __typename?: 'EmailTemplateObject';
@@ -3411,6 +3468,7 @@ export type CreateCallCampaignMutation = {
3411
3468
  updatedAt?: any | null;
3412
3469
  isSystemTemplate?: boolean | null;
3413
3470
  totalContacts?: number | null;
3471
+ status?: string | null;
3414
3472
  } | null> | null;
3415
3473
  stats?: {
3416
3474
  __typename?: 'CallCampaignStatsObject';
@@ -3528,6 +3586,7 @@ export type CreateCallCampaignLogMutation = {
3528
3586
  updatedAt?: any | null;
3529
3587
  isSystemTemplate?: boolean | null;
3530
3588
  totalContacts?: number | null;
3589
+ status?: string | null;
3531
3590
  } | null> | null;
3532
3591
  stats?: {
3533
3592
  __typename?: 'CallCampaignStatsObject';
@@ -3633,6 +3692,7 @@ export type CreateCampaignMutation = {
3633
3692
  updatedAt?: any | null;
3634
3693
  isSystemTemplate?: boolean | null;
3635
3694
  totalContacts?: number | null;
3695
+ status?: string | null;
3636
3696
  } | null> | null;
3637
3697
  emailTemplate?: {
3638
3698
  __typename?: 'EmailTemplateObject';
@@ -3978,6 +4038,7 @@ export type CreateCompanyMutation = {
3978
4038
  updatedAt?: any | null;
3979
4039
  isSystemTemplate?: boolean | null;
3980
4040
  totalContacts?: number | null;
4041
+ status?: string | null;
3981
4042
  } | null> | null;
3982
4043
  stats?: {
3983
4044
  __typename?: 'CallCampaignStatsObject';
@@ -4252,6 +4313,7 @@ export type CreateCompanyMutation = {
4252
4313
  updatedAt?: any | null;
4253
4314
  isSystemTemplate?: boolean | null;
4254
4315
  totalContacts?: number | null;
4316
+ status?: string | null;
4255
4317
  } | null> | null;
4256
4318
  stats?: {
4257
4319
  __typename?: 'CallCampaignStatsObject';
@@ -4493,6 +4555,7 @@ export type CreateCompanyNoteMutation = {
4493
4555
  updatedAt?: any | null;
4494
4556
  isSystemTemplate?: boolean | null;
4495
4557
  totalContacts?: number | null;
4558
+ status?: string | null;
4496
4559
  } | null> | null;
4497
4560
  stats?: {
4498
4561
  __typename?: 'CallCampaignStatsObject';
@@ -4627,6 +4690,7 @@ export type CreateCompanyNoteMutation = {
4627
4690
  updatedAt?: any | null;
4628
4691
  isSystemTemplate?: boolean | null;
4629
4692
  totalContacts?: number | null;
4693
+ status?: string | null;
4630
4694
  } | null> | null;
4631
4695
  stats?: {
4632
4696
  __typename?: 'CallCampaignStatsObject';
@@ -4846,6 +4910,7 @@ export type CreateNotificationMutation = {
4846
4910
  readAt?: any | null;
4847
4911
  metadata: any;
4848
4912
  expiresAt?: any | null;
4913
+ redirectUrl?: string | null;
4849
4914
  } | null;
4850
4915
  } | null;
4851
4916
  };
@@ -4872,6 +4937,7 @@ export type CreateSegmentMutation = {
4872
4937
  updatedAt?: any | null;
4873
4938
  isSystemTemplate?: boolean | null;
4874
4939
  totalContacts?: number | null;
4940
+ status?: string | null;
4875
4941
  } | null;
4876
4942
  } | null;
4877
4943
  };
@@ -4951,6 +5017,7 @@ export type CreateTaskMutation = {
4951
5017
  updatedAt?: any | null;
4952
5018
  isSystemTemplate?: boolean | null;
4953
5019
  totalContacts?: number | null;
5020
+ status?: string | null;
4954
5021
  } | null> | null;
4955
5022
  stats?: {
4956
5023
  __typename?: 'CallCampaignStatsObject';
@@ -5307,6 +5374,7 @@ export type MarkNotificationAsReadMutation = {
5307
5374
  readAt?: any | null;
5308
5375
  metadata: any;
5309
5376
  expiresAt?: any | null;
5377
+ redirectUrl?: string | null;
5310
5378
  } | null;
5311
5379
  } | null;
5312
5380
  };
@@ -5364,6 +5432,7 @@ export type PauseCampaignMutation = {
5364
5432
  updatedAt?: any | null;
5365
5433
  isSystemTemplate?: boolean | null;
5366
5434
  totalContacts?: number | null;
5435
+ status?: string | null;
5367
5436
  } | null> | null;
5368
5437
  emailTemplate?: {
5369
5438
  __typename?: 'EmailTemplateObject';
@@ -5398,6 +5467,29 @@ export type PreviewCampaignEmailMutation = {
5398
5467
  companyName?: string | null;
5399
5468
  } | null;
5400
5469
  };
5470
+ export type ReduceSpamMutationVariables = Exact<{
5471
+ input: ReduceSpamInput;
5472
+ }>;
5473
+ export type ReduceSpamMutation = {
5474
+ __typename?: 'Mutation';
5475
+ reduceSpam?: {
5476
+ __typename?: 'ReduceSpam';
5477
+ success?: boolean | null;
5478
+ message?: string | null;
5479
+ reduceSpamResponse?: {
5480
+ __typename?: 'ReduceSpamResponse';
5481
+ success?: boolean | null;
5482
+ message?: string | null;
5483
+ originalSubject?: string | null;
5484
+ cleanedSubject?: string | null;
5485
+ originalContent?: string | null;
5486
+ cleanedContent?: string | null;
5487
+ changesMade?: any | null;
5488
+ noOfChanges?: number | null;
5489
+ noChangesNeeded?: boolean | null;
5490
+ } | null;
5491
+ } | null;
5492
+ };
5401
5493
  export type RejectInvitationMutationVariables = Exact<{
5402
5494
  input: InvitationResponseInput;
5403
5495
  }>;
@@ -5465,6 +5557,7 @@ export type RemoveContactsFromCampaignMutation = {
5465
5557
  updatedAt?: any | null;
5466
5558
  isSystemTemplate?: boolean | null;
5467
5559
  totalContacts?: number | null;
5560
+ status?: string | null;
5468
5561
  } | null> | null;
5469
5562
  emailTemplate?: {
5470
5563
  __typename?: 'EmailTemplateObject';
@@ -5504,6 +5597,7 @@ export type RemoveContactsFromSegmentMutation = {
5504
5597
  updatedAt?: any | null;
5505
5598
  isSystemTemplate?: boolean | null;
5506
5599
  totalContacts?: number | null;
5600
+ status?: string | null;
5507
5601
  } | null;
5508
5602
  } | null;
5509
5603
  };
@@ -5571,6 +5665,7 @@ export type RemoveSegmentFromCallCampaignMutation = {
5571
5665
  updatedAt?: any | null;
5572
5666
  isSystemTemplate?: boolean | null;
5573
5667
  totalContacts?: number | null;
5668
+ status?: string | null;
5574
5669
  } | null> | null;
5575
5670
  stats?: {
5576
5671
  __typename?: 'CallCampaignStatsObject';
@@ -5639,6 +5734,7 @@ export type RemoveSegmentFromCampaignMutation = {
5639
5734
  updatedAt?: any | null;
5640
5735
  isSystemTemplate?: boolean | null;
5641
5736
  totalContacts?: number | null;
5737
+ status?: string | null;
5642
5738
  } | null> | null;
5643
5739
  emailTemplate?: {
5644
5740
  __typename?: 'EmailTemplateObject';
@@ -5731,6 +5827,7 @@ export type ScheduleCampaignMutation = {
5731
5827
  updatedAt?: any | null;
5732
5828
  isSystemTemplate?: boolean | null;
5733
5829
  totalContacts?: number | null;
5830
+ status?: string | null;
5734
5831
  } | null> | null;
5735
5832
  emailTemplate?: {
5736
5833
  __typename?: 'EmailTemplateObject';
@@ -5823,6 +5920,7 @@ export type SendEmailToContactMutation = {
5823
5920
  updatedAt?: any | null;
5824
5921
  isSystemTemplate?: boolean | null;
5825
5922
  totalContacts?: number | null;
5923
+ status?: string | null;
5826
5924
  } | null> | null;
5827
5925
  emailTemplate?: {
5828
5926
  __typename?: 'EmailTemplateObject';
@@ -5850,6 +5948,7 @@ export type SendEmailToContactMutation = {
5850
5948
  updatedAt?: any | null;
5851
5949
  isSystemTemplate?: boolean | null;
5852
5950
  totalContacts?: number | null;
5951
+ status?: string | null;
5853
5952
  } | null;
5854
5953
  contact?: {
5855
5954
  __typename?: 'ContactObject';
@@ -6011,6 +6110,7 @@ export type StartCampaignMutation = {
6011
6110
  updatedAt?: any | null;
6012
6111
  isSystemTemplate?: boolean | null;
6013
6112
  totalContacts?: number | null;
6113
+ status?: string | null;
6014
6114
  } | null> | null;
6015
6115
  emailTemplate?: {
6016
6116
  __typename?: 'EmailTemplateObject';
@@ -6112,6 +6212,7 @@ export type UpdateCallCampaignMutation = {
6112
6212
  updatedAt?: any | null;
6113
6213
  isSystemTemplate?: boolean | null;
6114
6214
  totalContacts?: number | null;
6215
+ status?: string | null;
6115
6216
  } | null> | null;
6116
6217
  stats?: {
6117
6218
  __typename?: 'CallCampaignStatsObject';
@@ -6230,6 +6331,7 @@ export type UpdateCallCampaignLogMutation = {
6230
6331
  updatedAt?: any | null;
6231
6332
  isSystemTemplate?: boolean | null;
6232
6333
  totalContacts?: number | null;
6334
+ status?: string | null;
6233
6335
  } | null> | null;
6234
6336
  stats?: {
6235
6337
  __typename?: 'CallCampaignStatsObject';
@@ -6335,6 +6437,7 @@ export type UpdateCampaignMutation = {
6335
6437
  updatedAt?: any | null;
6336
6438
  isSystemTemplate?: boolean | null;
6337
6439
  totalContacts?: number | null;
6440
+ status?: string | null;
6338
6441
  } | null> | null;
6339
6442
  emailTemplate?: {
6340
6443
  __typename?: 'EmailTemplateObject';
@@ -6680,6 +6783,7 @@ export type UpdateCompanyMutation = {
6680
6783
  updatedAt?: any | null;
6681
6784
  isSystemTemplate?: boolean | null;
6682
6785
  totalContacts?: number | null;
6786
+ status?: string | null;
6683
6787
  } | null> | null;
6684
6788
  stats?: {
6685
6789
  __typename?: 'CallCampaignStatsObject';
@@ -6954,6 +7058,7 @@ export type UpdateCompanyMutation = {
6954
7058
  updatedAt?: any | null;
6955
7059
  isSystemTemplate?: boolean | null;
6956
7060
  totalContacts?: number | null;
7061
+ status?: string | null;
6957
7062
  } | null> | null;
6958
7063
  stats?: {
6959
7064
  __typename?: 'CallCampaignStatsObject';
@@ -7195,6 +7300,7 @@ export type UpdateCompanyNoteMutation = {
7195
7300
  updatedAt?: any | null;
7196
7301
  isSystemTemplate?: boolean | null;
7197
7302
  totalContacts?: number | null;
7303
+ status?: string | null;
7198
7304
  } | null> | null;
7199
7305
  stats?: {
7200
7306
  __typename?: 'CallCampaignStatsObject';
@@ -7329,6 +7435,7 @@ export type UpdateCompanyNoteMutation = {
7329
7435
  updatedAt?: any | null;
7330
7436
  isSystemTemplate?: boolean | null;
7331
7437
  totalContacts?: number | null;
7438
+ status?: string | null;
7332
7439
  } | null> | null;
7333
7440
  stats?: {
7334
7441
  __typename?: 'CallCampaignStatsObject';
@@ -7551,6 +7658,7 @@ export type UpdateSegmentMutation = {
7551
7658
  updatedAt?: any | null;
7552
7659
  isSystemTemplate?: boolean | null;
7553
7660
  totalContacts?: number | null;
7661
+ status?: string | null;
7554
7662
  } | null;
7555
7663
  } | null;
7556
7664
  };
@@ -7631,6 +7739,7 @@ export type UpdateTaskMutation = {
7631
7739
  updatedAt?: any | null;
7632
7740
  isSystemTemplate?: boolean | null;
7633
7741
  totalContacts?: number | null;
7742
+ status?: string | null;
7634
7743
  } | null> | null;
7635
7744
  stats?: {
7636
7745
  __typename?: 'CallCampaignStatsObject';
@@ -7857,6 +7966,7 @@ export type CallCampaignQuery = {
7857
7966
  updatedAt?: any | null;
7858
7967
  isSystemTemplate?: boolean | null;
7859
7968
  totalContacts?: number | null;
7969
+ status?: string | null;
7860
7970
  } | null> | null;
7861
7971
  stats?: {
7862
7972
  __typename?: 'CallCampaignStatsObject';
@@ -8007,6 +8117,7 @@ export type CallCampaignLogQuery = {
8007
8117
  updatedAt?: any | null;
8008
8118
  isSystemTemplate?: boolean | null;
8009
8119
  totalContacts?: number | null;
8120
+ status?: string | null;
8010
8121
  } | null> | null;
8011
8122
  stats?: {
8012
8123
  __typename?: 'CallCampaignStatsObject';
@@ -8162,6 +8273,7 @@ export type CallCampaignLogsQuery = {
8162
8273
  updatedAt?: any | null;
8163
8274
  isSystemTemplate?: boolean | null;
8164
8275
  totalContacts?: number | null;
8276
+ status?: string | null;
8165
8277
  } | null> | null;
8166
8278
  stats?: {
8167
8279
  __typename?: 'CallCampaignStatsObject';
@@ -8330,6 +8442,7 @@ export type CallCampaignReportQuery = {
8330
8442
  updatedAt?: any | null;
8331
8443
  isSystemTemplate?: boolean | null;
8332
8444
  totalContacts?: number | null;
8445
+ status?: string | null;
8333
8446
  } | null> | null;
8334
8447
  stats?: {
8335
8448
  __typename?: 'CallCampaignStatsObject';
@@ -8493,6 +8606,7 @@ export type CallCampaignsQuery = {
8493
8606
  updatedAt?: any | null;
8494
8607
  isSystemTemplate?: boolean | null;
8495
8608
  totalContacts?: number | null;
8609
+ status?: string | null;
8496
8610
  } | null> | null;
8497
8611
  stats?: {
8498
8612
  __typename?: 'CallCampaignStatsObject';
@@ -8565,6 +8679,7 @@ export type CampaignQuery = {
8565
8679
  updatedAt?: any | null;
8566
8680
  isSystemTemplate?: boolean | null;
8567
8681
  totalContacts?: number | null;
8682
+ status?: string | null;
8568
8683
  } | null> | null;
8569
8684
  emailTemplate?: {
8570
8685
  __typename?: 'EmailTemplateObject';
@@ -8848,6 +8963,7 @@ export type CampaignLogsQuery = {
8848
8963
  updatedAt?: any | null;
8849
8964
  isSystemTemplate?: boolean | null;
8850
8965
  totalContacts?: number | null;
8966
+ status?: string | null;
8851
8967
  } | null> | null;
8852
8968
  emailTemplate?: {
8853
8969
  __typename?: 'EmailTemplateObject';
@@ -8875,6 +8991,7 @@ export type CampaignLogsQuery = {
8875
8991
  updatedAt?: any | null;
8876
8992
  isSystemTemplate?: boolean | null;
8877
8993
  totalContacts?: number | null;
8994
+ status?: string | null;
8878
8995
  } | null;
8879
8996
  contact?: {
8880
8997
  __typename?: 'ContactObject';
@@ -9063,6 +9180,7 @@ export type CampaignsQuery = {
9063
9180
  updatedAt?: any | null;
9064
9181
  isSystemTemplate?: boolean | null;
9065
9182
  totalContacts?: number | null;
9183
+ status?: string | null;
9066
9184
  } | null> | null;
9067
9185
  emailTemplate?: {
9068
9186
  __typename?: 'EmailTemplateObject';
@@ -9419,6 +9537,7 @@ export type CompaniesQuery = {
9419
9537
  updatedAt?: any | null;
9420
9538
  isSystemTemplate?: boolean | null;
9421
9539
  totalContacts?: number | null;
9540
+ status?: string | null;
9422
9541
  } | null> | null;
9423
9542
  stats?: {
9424
9543
  __typename?: 'CallCampaignStatsObject';
@@ -9583,6 +9702,7 @@ export type CompaniesQuery = {
9583
9702
  updatedAt?: any | null;
9584
9703
  isSystemTemplate?: boolean | null;
9585
9704
  totalContacts?: number | null;
9705
+ status?: string | null;
9586
9706
  } | null> | null;
9587
9707
  stats?: {
9588
9708
  __typename?: 'CallCampaignStatsObject';
@@ -10060,6 +10180,7 @@ export type CompanyQuery = {
10060
10180
  updatedAt?: any | null;
10061
10181
  isSystemTemplate?: boolean | null;
10062
10182
  totalContacts?: number | null;
10183
+ status?: string | null;
10063
10184
  } | null> | null;
10064
10185
  stats?: {
10065
10186
  __typename?: 'CallCampaignStatsObject';
@@ -10334,6 +10455,7 @@ export type CompanyQuery = {
10334
10455
  updatedAt?: any | null;
10335
10456
  isSystemTemplate?: boolean | null;
10336
10457
  totalContacts?: number | null;
10458
+ status?: string | null;
10337
10459
  } | null> | null;
10338
10460
  stats?: {
10339
10461
  __typename?: 'CallCampaignStatsObject';
@@ -10572,6 +10694,7 @@ export type CompanyNoteQuery = {
10572
10694
  updatedAt?: any | null;
10573
10695
  isSystemTemplate?: boolean | null;
10574
10696
  totalContacts?: number | null;
10697
+ status?: string | null;
10575
10698
  } | null> | null;
10576
10699
  stats?: {
10577
10700
  __typename?: 'CallCampaignStatsObject';
@@ -10706,6 +10829,7 @@ export type CompanyNoteQuery = {
10706
10829
  updatedAt?: any | null;
10707
10830
  isSystemTemplate?: boolean | null;
10708
10831
  totalContacts?: number | null;
10832
+ status?: string | null;
10709
10833
  } | null> | null;
10710
10834
  stats?: {
10711
10835
  __typename?: 'CallCampaignStatsObject';
@@ -10898,6 +11022,7 @@ export type CompanyNotesQuery = {
10898
11022
  updatedAt?: any | null;
10899
11023
  isSystemTemplate?: boolean | null;
10900
11024
  totalContacts?: number | null;
11025
+ status?: string | null;
10901
11026
  } | null> | null;
10902
11027
  stats?: {
10903
11028
  __typename?: 'CallCampaignStatsObject';
@@ -11589,6 +11714,7 @@ export type NotificationQuery = {
11589
11714
  readAt?: any | null;
11590
11715
  metadata: any;
11591
11716
  expiresAt?: any | null;
11717
+ redirectUrl?: string | null;
11592
11718
  } | null;
11593
11719
  };
11594
11720
  export type NotificationsQueryVariables = Exact<{
@@ -11610,6 +11736,7 @@ export type NotificationsQuery = {
11610
11736
  readAt?: any | null;
11611
11737
  metadata: any;
11612
11738
  expiresAt?: any | null;
11739
+ redirectUrl?: string | null;
11613
11740
  } | null> | null;
11614
11741
  };
11615
11742
  export type NylasConnectionQueryVariables = Exact<{
@@ -12240,6 +12367,7 @@ export type RecentHistoryQuery = {
12240
12367
  updatedAt?: any | null;
12241
12368
  isSystemTemplate?: boolean | null;
12242
12369
  totalContacts?: number | null;
12370
+ status?: string | null;
12243
12371
  } | null> | null;
12244
12372
  stats?: {
12245
12373
  __typename?: 'CallCampaignStatsObject';
@@ -12406,6 +12534,7 @@ export type RecentNotificationsQuery = {
12406
12534
  readAt?: any | null;
12407
12535
  metadata: any;
12408
12536
  expiresAt?: any | null;
12537
+ redirectUrl?: string | null;
12409
12538
  } | null> | null;
12410
12539
  };
12411
12540
  export type SearchContactsQueryVariables = Exact<{
@@ -12523,6 +12652,7 @@ export type SegmentQuery = {
12523
12652
  updatedAt?: any | null;
12524
12653
  isSystemTemplate?: boolean | null;
12525
12654
  totalContacts?: number | null;
12655
+ status?: string | null;
12526
12656
  } | null;
12527
12657
  };
12528
12658
  export type SegmentsQueryVariables = Exact<{
@@ -12548,6 +12678,7 @@ export type SegmentsQuery = {
12548
12678
  updatedAt?: any | null;
12549
12679
  isSystemTemplate?: boolean | null;
12550
12680
  totalContacts?: number | null;
12681
+ status?: string | null;
12551
12682
  } | null> | null;
12552
12683
  pagination?: {
12553
12684
  __typename?: 'PaginationInfo';
@@ -12633,6 +12764,7 @@ export type TaskQuery = {
12633
12764
  updatedAt?: any | null;
12634
12765
  isSystemTemplate?: boolean | null;
12635
12766
  totalContacts?: number | null;
12767
+ status?: string | null;
12636
12768
  } | null> | null;
12637
12769
  stats?: {
12638
12770
  __typename?: 'CallCampaignStatsObject';
@@ -12787,6 +12919,7 @@ export type TasksQuery = {
12787
12919
  updatedAt?: any | null;
12788
12920
  isSystemTemplate?: boolean | null;
12789
12921
  totalContacts?: number | null;
12922
+ status?: string | null;
12790
12923
  } | null> | null;
12791
12924
  stats?: {
12792
12925
  __typename?: 'CallCampaignStatsObject';
@@ -13969,6 +14102,31 @@ export declare function usePreviewCampaignEmailMutation(baseOptions?: Apollo.Mut
13969
14102
  export type PreviewCampaignEmailMutationHookResult = ReturnType<typeof usePreviewCampaignEmailMutation>;
13970
14103
  export type PreviewCampaignEmailMutationResult = Apollo.MutationResult<PreviewCampaignEmailMutation>;
13971
14104
  export type PreviewCampaignEmailMutationOptions = Apollo.BaseMutationOptions<PreviewCampaignEmailMutation, PreviewCampaignEmailMutationVariables>;
14105
+ export declare const ReduceSpamDocument: Apollo.DocumentNode;
14106
+ export type ReduceSpamMutationFn = Apollo.MutationFunction<ReduceSpamMutation, ReduceSpamMutationVariables>;
14107
+ /**
14108
+ * __useReduceSpamMutation__
14109
+ *
14110
+ * To run a mutation, you first call `useReduceSpamMutation` within a React component and pass it any options that fit your needs.
14111
+ * When your component renders, `useReduceSpamMutation` returns a tuple that includes:
14112
+ * - A mutate function that you can call at any time to execute the mutation
14113
+ * - An object with fields that represent the current status of the mutation's execution
14114
+ *
14115
+ * @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;
14116
+ *
14117
+ * @example
14118
+ * const [reduceSpamMutation, { data, loading, error }] = useReduceSpamMutation({
14119
+ * variables: {
14120
+ * input: // value for 'input'
14121
+ * },
14122
+ * });
14123
+ */
14124
+ export declare function useReduceSpamMutation(baseOptions?: Apollo.MutationHookOptions<ReduceSpamMutation, ReduceSpamMutationVariables>): Apollo.MutationTuple<ReduceSpamMutation, Exact<{
14125
+ input: ReduceSpamInput;
14126
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
14127
+ export type ReduceSpamMutationHookResult = ReturnType<typeof useReduceSpamMutation>;
14128
+ export type ReduceSpamMutationResult = Apollo.MutationResult<ReduceSpamMutation>;
14129
+ export type ReduceSpamMutationOptions = Apollo.BaseMutationOptions<ReduceSpamMutation, ReduceSpamMutationVariables>;
13972
14130
  export declare const RejectInvitationDocument: Apollo.DocumentNode;
13973
14131
  export type RejectInvitationMutationFn = Apollo.MutationFunction<RejectInvitationMutation, RejectInvitationMutationVariables>;
13974
14132
  /**