cf-service-sdk 0.0.50 → 0.0.52

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.
@@ -446,6 +446,16 @@ export declare enum CallCampaignLogOutcomeEnum {
446
446
  Other = "OTHER",
447
447
  WrongNumber = "WRONG_NUMBER"
448
448
  }
449
+ /** Statistics for call campaign logs, including contacts contacted in past 2 weeks */
450
+ export type CallCampaignLogStatsType = {
451
+ __typename?: 'CallCampaignLogStatsType';
452
+ /** Number of contacts contacted in the past 2 weeks (via email or call) */
453
+ contactedPast2Weeks?: Maybe<Scalars['Int']['output']>;
454
+ /** Details of contacts contacted in the past 2 weeks */
455
+ contactedPast2WeeksDetails?: Maybe<Array<Maybe<RecentlyContactedContactType>>>;
456
+ /** Total number of contacts in the results */
457
+ totalContacts?: Maybe<Scalars['Int']['output']>;
458
+ };
449
459
  export type CallCampaignObject = {
450
460
  __typename?: 'CallCampaignObject';
451
461
  account?: Maybe<AccountType>;
@@ -578,6 +588,12 @@ export type CampaignContactItemType = {
578
588
  isCustomer?: Maybe<Scalars['Boolean']['output']>;
579
589
  /** Whether the contact is a prospect */
580
590
  isProspect?: Maybe<Scalars['Boolean']['output']>;
591
+ /** When the contact was last contacted */
592
+ lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
593
+ /** User who last contacted this contact */
594
+ lastContactedBy?: Maybe<UserType>;
595
+ /** Information about the last contact action */
596
+ lastContactedVia?: Maybe<LastContactedViaType>;
581
597
  /** Last name of the contact */
582
598
  lastName?: Maybe<Scalars['String']['output']>;
583
599
  /** Phone of the contact */
@@ -636,6 +652,16 @@ export type CampaignInput = {
636
652
  segments?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
637
653
  uuid?: InputMaybe<Scalars['ID']['input']>;
638
654
  };
655
+ /** Statistics for campaign logs, including contacts contacted in past 2 weeks */
656
+ export type CampaignLogStatsType = {
657
+ __typename?: 'CampaignLogStatsType';
658
+ /** Number of contacts contacted in the past 2 weeks (via email or call) */
659
+ contactedPast2Weeks?: Maybe<Scalars['Int']['output']>;
660
+ /** Details of contacts contacted in the past 2 weeks */
661
+ contactedPast2WeeksDetails?: Maybe<Array<Maybe<RecentlyContactedContactType>>>;
662
+ /** Total number of contacts in the results */
663
+ totalContacts?: Maybe<Scalars['Int']['output']>;
664
+ };
639
665
  export type CampaignObject = {
640
666
  __typename?: 'CampaignObject';
641
667
  bounceRate?: Maybe<Scalars['Float']['output']>;
@@ -1122,6 +1148,8 @@ export type ContactObject = {
1122
1148
  isPrimary?: Maybe<Scalars['Boolean']['output']>;
1123
1149
  isProspect?: Maybe<Scalars['Boolean']['output']>;
1124
1150
  lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
1151
+ lastContactedBy?: Maybe<UserType>;
1152
+ lastContactedVia?: Maybe<LastContactedViaType>;
1125
1153
  lastName?: Maybe<Scalars['String']['output']>;
1126
1154
  linkedinUrl?: Maybe<Scalars['String']['output']>;
1127
1155
  notes?: Maybe<Scalars['String']['output']>;
@@ -1360,7 +1388,9 @@ export type EmailTemplateInput = {
1360
1388
  /** Template name */
1361
1389
  name: Scalars['String']['input'];
1362
1390
  /** Template content */
1363
- template: Scalars['String']['input'];
1391
+ template?: InputMaybe<Scalars['String']['input']>;
1392
+ /** Template data as JSON */
1393
+ templateData: Scalars['JSONString']['input'];
1364
1394
  };
1365
1395
  export type EmailTemplateObject = {
1366
1396
  __typename?: 'EmailTemplateObject';
@@ -1383,6 +1413,7 @@ export type EmailTemplateType = {
1383
1413
  name: Scalars['String']['output'];
1384
1414
  subject?: Maybe<Scalars['String']['output']>;
1385
1415
  template: Scalars['String']['output'];
1416
+ templateData?: Maybe<Scalars['JSONString']['output']>;
1386
1417
  updatedAt: Scalars['DateTime']['output'];
1387
1418
  uuid: Scalars['UUID']['output'];
1388
1419
  };
@@ -1488,6 +1519,24 @@ export type InviteUserInput = {
1488
1519
  /** Email address of the user to invite */
1489
1520
  email: Scalars['String']['input'];
1490
1521
  };
1522
+ /** Information about the last contact action */
1523
+ export type LastContactedViaType = {
1524
+ __typename?: 'LastContactedViaType';
1525
+ /** ID of the related object (ContactLog, CallCampaignLog, or CompanyNote) */
1526
+ actionId?: Maybe<Scalars['ID']['output']>;
1527
+ /** Type of action: 'email', 'call', or 'note' */
1528
+ actionType?: Maybe<Scalars['String']['output']>;
1529
+ /** ID of the call campaign (for action_type='call') */
1530
+ callCampaignId?: Maybe<Scalars['ID']['output']>;
1531
+ /** ID of the email campaign (for action_type='email') */
1532
+ campaignId?: Maybe<Scalars['ID']['output']>;
1533
+ /** Name of the campaign if applicable */
1534
+ campaignName?: Maybe<Scalars['String']['output']>;
1535
+ /** ID of the company note (for action_type='note') */
1536
+ noteId?: Maybe<Scalars['ID']['output']>;
1537
+ /** Type of note if action_type is 'note' */
1538
+ noteType?: Maybe<Scalars['String']['output']>;
1539
+ };
1491
1540
  /** Custom token auth mutation that includes account member isAdmin flag */
1492
1541
  export type Login = {
1493
1542
  __typename?: 'Login';
@@ -2006,6 +2055,8 @@ export type PaginatedCallCampaignLogList = {
2006
2055
  __typename?: 'PaginatedCallCampaignLogList';
2007
2056
  items?: Maybe<Array<Maybe<CallCampaignLogObject>>>;
2008
2057
  pagination?: Maybe<PaginationInfo>;
2058
+ /** Statistics about contacts contacted in past 2 weeks */
2059
+ stats?: Maybe<CallCampaignLogStatsType>;
2009
2060
  };
2010
2061
  /** Paginated list of campaign contacts with statistics */
2011
2062
  export type PaginatedCampaignContactList = {
@@ -2014,6 +2065,8 @@ export type PaginatedCampaignContactList = {
2014
2065
  items?: Maybe<Array<Maybe<CampaignContactType>>>;
2015
2066
  /** Pagination information */
2016
2067
  pagination?: Maybe<PaginationInfo>;
2068
+ /** Statistics about contacts contacted in past 2 weeks */
2069
+ stats?: Maybe<CampaignLogStatsType>;
2017
2070
  };
2018
2071
  /** Paginated list of campaigns */
2019
2072
  export type PaginatedCampaignList = {
@@ -2433,6 +2486,17 @@ export type RecentHistorySortInput = {
2433
2486
  direction?: InputMaybe<SortDirection>;
2434
2487
  field?: InputMaybe<RecentHistorySortField>;
2435
2488
  };
2489
+ /** Details of a recently contacted contact */
2490
+ export type RecentlyContactedContactType = {
2491
+ __typename?: 'RecentlyContactedContactType';
2492
+ companyName?: Maybe<Scalars['String']['output']>;
2493
+ contactId?: Maybe<Scalars['ID']['output']>;
2494
+ /** Method of contact: 'email' or 'call' */
2495
+ contactMethod?: Maybe<Scalars['String']['output']>;
2496
+ contactName?: Maybe<Scalars['String']['output']>;
2497
+ daysSinceContact?: Maybe<Scalars['Int']['output']>;
2498
+ lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
2499
+ };
2436
2500
  /** RejectInvitation - Reject an invitation to join an account */
2437
2501
  export type RejectInvitation = {
2438
2502
  __typename?: 'RejectInvitation';
@@ -3630,6 +3694,24 @@ export type CreateCompanyMutation = {
3630
3694
  companyName?: string | null;
3631
3695
  companyId?: string | null;
3632
3696
  isProspect?: boolean | null;
3697
+ lastContactedBy?: {
3698
+ __typename?: 'UserType';
3699
+ id?: string | null;
3700
+ email?: string | null;
3701
+ firstName?: string | null;
3702
+ lastName?: string | null;
3703
+ picture?: string | null;
3704
+ } | null;
3705
+ lastContactedVia?: {
3706
+ __typename?: 'LastContactedViaType';
3707
+ actionType?: string | null;
3708
+ actionId?: string | null;
3709
+ campaignName?: string | null;
3710
+ campaignId?: string | null;
3711
+ callCampaignId?: string | null;
3712
+ noteType?: string | null;
3713
+ noteId?: string | null;
3714
+ } | null;
3633
3715
  contactLog?: Array<{
3634
3716
  __typename?: 'ContactLogObject';
3635
3717
  id?: string | null;
@@ -4561,6 +4643,24 @@ export type CreateContactMutation = {
4561
4643
  companyName?: string | null;
4562
4644
  companyId?: string | null;
4563
4645
  isProspect?: boolean | null;
4646
+ lastContactedBy?: {
4647
+ __typename?: 'UserType';
4648
+ id?: string | null;
4649
+ email?: string | null;
4650
+ firstName?: string | null;
4651
+ lastName?: string | null;
4652
+ picture?: string | null;
4653
+ } | null;
4654
+ lastContactedVia?: {
4655
+ __typename?: 'LastContactedViaType';
4656
+ actionType?: string | null;
4657
+ actionId?: string | null;
4658
+ campaignName?: string | null;
4659
+ campaignId?: string | null;
4660
+ callCampaignId?: string | null;
4661
+ noteType?: string | null;
4662
+ noteId?: string | null;
4663
+ } | null;
4564
4664
  contactLog?: Array<{
4565
4665
  __typename?: 'ContactLogObject';
4566
4666
  id?: string | null;
@@ -4604,6 +4704,7 @@ export type CreateEmailTemplateMutation = {
4604
4704
  description: string;
4605
4705
  subject?: string | null;
4606
4706
  template: string;
4707
+ templateData?: any | null;
4607
4708
  campaignType: AppEmailTemplateCampaignTypeChoices;
4608
4709
  isDefault: boolean;
4609
4710
  } | null;
@@ -5658,6 +5759,24 @@ export type SendEmailToContactMutation = {
5658
5759
  companyName?: string | null;
5659
5760
  companyId?: string | null;
5660
5761
  isProspect?: boolean | null;
5762
+ lastContactedBy?: {
5763
+ __typename?: 'UserType';
5764
+ id?: string | null;
5765
+ email?: string | null;
5766
+ firstName?: string | null;
5767
+ lastName?: string | null;
5768
+ picture?: string | null;
5769
+ } | null;
5770
+ lastContactedVia?: {
5771
+ __typename?: 'LastContactedViaType';
5772
+ actionType?: string | null;
5773
+ actionId?: string | null;
5774
+ campaignName?: string | null;
5775
+ campaignId?: string | null;
5776
+ callCampaignId?: string | null;
5777
+ noteType?: string | null;
5778
+ noteId?: string | null;
5779
+ } | null;
5661
5780
  contactLog?: Array<{
5662
5781
  __typename?: 'ContactLogObject';
5663
5782
  id?: string | null;
@@ -6209,6 +6328,24 @@ export type UpdateCompanyMutation = {
6209
6328
  companyName?: string | null;
6210
6329
  companyId?: string | null;
6211
6330
  isProspect?: boolean | null;
6331
+ lastContactedBy?: {
6332
+ __typename?: 'UserType';
6333
+ id?: string | null;
6334
+ email?: string | null;
6335
+ firstName?: string | null;
6336
+ lastName?: string | null;
6337
+ picture?: string | null;
6338
+ } | null;
6339
+ lastContactedVia?: {
6340
+ __typename?: 'LastContactedViaType';
6341
+ actionType?: string | null;
6342
+ actionId?: string | null;
6343
+ campaignName?: string | null;
6344
+ campaignId?: string | null;
6345
+ callCampaignId?: string | null;
6346
+ noteType?: string | null;
6347
+ noteId?: string | null;
6348
+ } | null;
6212
6349
  contactLog?: Array<{
6213
6350
  __typename?: 'ContactLogObject';
6214
6351
  id?: string | null;
@@ -7140,6 +7277,24 @@ export type UpdateContactMutation = {
7140
7277
  companyName?: string | null;
7141
7278
  companyId?: string | null;
7142
7279
  isProspect?: boolean | null;
7280
+ lastContactedBy?: {
7281
+ __typename?: 'UserType';
7282
+ id?: string | null;
7283
+ email?: string | null;
7284
+ firstName?: string | null;
7285
+ lastName?: string | null;
7286
+ picture?: string | null;
7287
+ } | null;
7288
+ lastContactedVia?: {
7289
+ __typename?: 'LastContactedViaType';
7290
+ actionType?: string | null;
7291
+ actionId?: string | null;
7292
+ campaignName?: string | null;
7293
+ campaignId?: string | null;
7294
+ callCampaignId?: string | null;
7295
+ noteType?: string | null;
7296
+ noteId?: string | null;
7297
+ } | null;
7143
7298
  contactLog?: Array<{
7144
7299
  __typename?: 'ContactLogObject';
7145
7300
  id?: string | null;
@@ -7184,6 +7339,7 @@ export type UpdateEmailTemplateMutation = {
7184
7339
  description: string;
7185
7340
  subject?: string | null;
7186
7341
  template: string;
7342
+ templateData?: any | null;
7187
7343
  campaignType: AppEmailTemplateCampaignTypeChoices;
7188
7344
  isDefault: boolean;
7189
7345
  } | null;
@@ -7881,6 +8037,20 @@ export type CallCampaignLogsQuery = {
7881
8037
  hasNextPage?: boolean | null;
7882
8038
  hasPreviousPage?: boolean | null;
7883
8039
  } | null;
8040
+ stats?: {
8041
+ __typename?: 'CallCampaignLogStatsType';
8042
+ totalContacts?: number | null;
8043
+ contactedPast2Weeks?: number | null;
8044
+ contactedPast2WeeksDetails?: Array<{
8045
+ __typename?: 'RecentlyContactedContactType';
8046
+ contactId?: string | null;
8047
+ contactName?: string | null;
8048
+ companyName?: string | null;
8049
+ lastContactedAt?: any | null;
8050
+ daysSinceContact?: number | null;
8051
+ contactMethod?: string | null;
8052
+ } | null> | null;
8053
+ } | null;
7884
8054
  } | null;
7885
8055
  };
7886
8056
  export type CallCampaignReportQueryVariables = Exact<{
@@ -8289,6 +8459,25 @@ export type CampaignContactsQuery = {
8289
8459
  customContactId?: string | null;
8290
8460
  isCustomer?: boolean | null;
8291
8461
  isProspect?: boolean | null;
8462
+ lastContactedAt?: any | null;
8463
+ lastContactedBy?: {
8464
+ __typename?: 'UserType';
8465
+ id?: string | null;
8466
+ email?: string | null;
8467
+ firstName?: string | null;
8468
+ lastName?: string | null;
8469
+ picture?: string | null;
8470
+ } | null;
8471
+ lastContactedVia?: {
8472
+ __typename?: 'LastContactedViaType';
8473
+ actionType?: string | null;
8474
+ actionId?: string | null;
8475
+ campaignName?: string | null;
8476
+ campaignId?: string | null;
8477
+ callCampaignId?: string | null;
8478
+ noteType?: string | null;
8479
+ noteId?: string | null;
8480
+ } | null;
8292
8481
  } | null> | null;
8293
8482
  pagination?: {
8294
8483
  __typename?: 'PaginationInfo';
@@ -8335,6 +8524,24 @@ export type CampaignLogsQuery = {
8335
8524
  companyName?: string | null;
8336
8525
  companyId?: string | null;
8337
8526
  isProspect?: boolean | null;
8527
+ lastContactedBy?: {
8528
+ __typename?: 'UserType';
8529
+ id?: string | null;
8530
+ email?: string | null;
8531
+ firstName?: string | null;
8532
+ lastName?: string | null;
8533
+ picture?: string | null;
8534
+ } | null;
8535
+ lastContactedVia?: {
8536
+ __typename?: 'LastContactedViaType';
8537
+ actionType?: string | null;
8538
+ actionId?: string | null;
8539
+ campaignName?: string | null;
8540
+ campaignId?: string | null;
8541
+ callCampaignId?: string | null;
8542
+ noteType?: string | null;
8543
+ noteId?: string | null;
8544
+ } | null;
8338
8545
  contactLog?: Array<{
8339
8546
  __typename?: 'ContactLogObject';
8340
8547
  id?: string | null;
@@ -8485,6 +8692,24 @@ export type CampaignLogsQuery = {
8485
8692
  companyName?: string | null;
8486
8693
  companyId?: string | null;
8487
8694
  isProspect?: boolean | null;
8695
+ lastContactedBy?: {
8696
+ __typename?: 'UserType';
8697
+ id?: string | null;
8698
+ email?: string | null;
8699
+ firstName?: string | null;
8700
+ lastName?: string | null;
8701
+ picture?: string | null;
8702
+ } | null;
8703
+ lastContactedVia?: {
8704
+ __typename?: 'LastContactedViaType';
8705
+ actionType?: string | null;
8706
+ actionId?: string | null;
8707
+ campaignName?: string | null;
8708
+ campaignId?: string | null;
8709
+ callCampaignId?: string | null;
8710
+ noteType?: string | null;
8711
+ noteId?: string | null;
8712
+ } | null;
8488
8713
  contactLog?: Array<{
8489
8714
  __typename?: 'ContactLogObject';
8490
8715
  id?: string | null;
@@ -8519,6 +8744,20 @@ export type CampaignLogsQuery = {
8519
8744
  hasNextPage?: boolean | null;
8520
8745
  hasPreviousPage?: boolean | null;
8521
8746
  } | null;
8747
+ stats?: {
8748
+ __typename?: 'CampaignLogStatsType';
8749
+ totalContacts?: number | null;
8750
+ contactedPast2Weeks?: number | null;
8751
+ contactedPast2WeeksDetails?: Array<{
8752
+ __typename?: 'RecentlyContactedContactType';
8753
+ contactId?: string | null;
8754
+ contactName?: string | null;
8755
+ companyName?: string | null;
8756
+ lastContactedAt?: any | null;
8757
+ daysSinceContact?: number | null;
8758
+ contactMethod?: string | null;
8759
+ } | null> | null;
8760
+ } | null;
8522
8761
  } | null;
8523
8762
  };
8524
8763
  export type CampaignStatsQueryVariables = Exact<{
@@ -8736,6 +8975,24 @@ export type CompaniesQuery = {
8736
8975
  companyName?: string | null;
8737
8976
  companyId?: string | null;
8738
8977
  isProspect?: boolean | null;
8978
+ lastContactedBy?: {
8979
+ __typename?: 'UserType';
8980
+ id?: string | null;
8981
+ email?: string | null;
8982
+ firstName?: string | null;
8983
+ lastName?: string | null;
8984
+ picture?: string | null;
8985
+ } | null;
8986
+ lastContactedVia?: {
8987
+ __typename?: 'LastContactedViaType';
8988
+ actionType?: string | null;
8989
+ actionId?: string | null;
8990
+ campaignName?: string | null;
8991
+ campaignId?: string | null;
8992
+ callCampaignId?: string | null;
8993
+ noteType?: string | null;
8994
+ noteId?: string | null;
8995
+ } | null;
8739
8996
  contactLog?: Array<{
8740
8997
  __typename?: 'ContactLogObject';
8741
8998
  id?: string | null;
@@ -9314,6 +9571,24 @@ export type CompanyQuery = {
9314
9571
  companyName?: string | null;
9315
9572
  companyId?: string | null;
9316
9573
  isProspect?: boolean | null;
9574
+ lastContactedBy?: {
9575
+ __typename?: 'UserType';
9576
+ id?: string | null;
9577
+ email?: string | null;
9578
+ firstName?: string | null;
9579
+ lastName?: string | null;
9580
+ picture?: string | null;
9581
+ } | null;
9582
+ lastContactedVia?: {
9583
+ __typename?: 'LastContactedViaType';
9584
+ actionType?: string | null;
9585
+ actionId?: string | null;
9586
+ campaignName?: string | null;
9587
+ campaignId?: string | null;
9588
+ callCampaignId?: string | null;
9589
+ noteType?: string | null;
9590
+ noteId?: string | null;
9591
+ } | null;
9317
9592
  contactLog?: Array<{
9318
9593
  __typename?: 'ContactLogObject';
9319
9594
  id?: string | null;
@@ -10560,6 +10835,24 @@ export type ContactQuery = {
10560
10835
  companyName?: string | null;
10561
10836
  companyId?: string | null;
10562
10837
  isProspect?: boolean | null;
10838
+ lastContactedBy?: {
10839
+ __typename?: 'UserType';
10840
+ id?: string | null;
10841
+ email?: string | null;
10842
+ firstName?: string | null;
10843
+ lastName?: string | null;
10844
+ picture?: string | null;
10845
+ } | null;
10846
+ lastContactedVia?: {
10847
+ __typename?: 'LastContactedViaType';
10848
+ actionType?: string | null;
10849
+ actionId?: string | null;
10850
+ campaignName?: string | null;
10851
+ campaignId?: string | null;
10852
+ callCampaignId?: string | null;
10853
+ noteType?: string | null;
10854
+ noteId?: string | null;
10855
+ } | null;
10563
10856
  contactLog?: Array<{
10564
10857
  __typename?: 'ContactLogObject';
10565
10858
  id?: string | null;
@@ -10612,6 +10905,24 @@ export type ContactsQuery = {
10612
10905
  companyName?: string | null;
10613
10906
  companyId?: string | null;
10614
10907
  isProspect?: boolean | null;
10908
+ lastContactedBy?: {
10909
+ __typename?: 'UserType';
10910
+ id?: string | null;
10911
+ email?: string | null;
10912
+ firstName?: string | null;
10913
+ lastName?: string | null;
10914
+ picture?: string | null;
10915
+ } | null;
10916
+ lastContactedVia?: {
10917
+ __typename?: 'LastContactedViaType';
10918
+ actionType?: string | null;
10919
+ actionId?: string | null;
10920
+ campaignName?: string | null;
10921
+ campaignId?: string | null;
10922
+ callCampaignId?: string | null;
10923
+ noteType?: string | null;
10924
+ noteId?: string | null;
10925
+ } | null;
10615
10926
  contactLog?: Array<{
10616
10927
  __typename?: 'ContactLogObject';
10617
10928
  id?: string | null;
@@ -10667,6 +10978,24 @@ export type ContactsInSegmentQuery = {
10667
10978
  companyName?: string | null;
10668
10979
  companyId?: string | null;
10669
10980
  isProspect?: boolean | null;
10981
+ lastContactedBy?: {
10982
+ __typename?: 'UserType';
10983
+ id?: string | null;
10984
+ email?: string | null;
10985
+ firstName?: string | null;
10986
+ lastName?: string | null;
10987
+ picture?: string | null;
10988
+ } | null;
10989
+ lastContactedVia?: {
10990
+ __typename?: 'LastContactedViaType';
10991
+ actionType?: string | null;
10992
+ actionId?: string | null;
10993
+ campaignName?: string | null;
10994
+ campaignId?: string | null;
10995
+ callCampaignId?: string | null;
10996
+ noteType?: string | null;
10997
+ noteId?: string | null;
10998
+ } | null;
10670
10999
  contactLog?: Array<{
10671
11000
  __typename?: 'ContactLogObject';
10672
11001
  id?: string | null;
@@ -10764,6 +11093,7 @@ export type EmailTemplateQuery = {
10764
11093
  description: string;
10765
11094
  subject?: string | null;
10766
11095
  template: string;
11096
+ templateData?: any | null;
10767
11097
  campaignType: AppEmailTemplateCampaignTypeChoices;
10768
11098
  isDefault: boolean;
10769
11099
  } | null;
@@ -10783,6 +11113,7 @@ export type EmailTemplatesQuery = {
10783
11113
  description: string;
10784
11114
  subject?: string | null;
10785
11115
  template: string;
11116
+ templateData?: any | null;
10786
11117
  campaignType: AppEmailTemplateCampaignTypeChoices;
10787
11118
  isDefault: boolean;
10788
11119
  } | null> | null;
@@ -11043,6 +11374,24 @@ export type RecentHistoryQuery = {
11043
11374
  companyName?: string | null;
11044
11375
  companyId?: string | null;
11045
11376
  isProspect?: boolean | null;
11377
+ lastContactedBy?: {
11378
+ __typename?: 'UserType';
11379
+ id?: string | null;
11380
+ email?: string | null;
11381
+ firstName?: string | null;
11382
+ lastName?: string | null;
11383
+ picture?: string | null;
11384
+ } | null;
11385
+ lastContactedVia?: {
11386
+ __typename?: 'LastContactedViaType';
11387
+ actionType?: string | null;
11388
+ actionId?: string | null;
11389
+ campaignName?: string | null;
11390
+ campaignId?: string | null;
11391
+ callCampaignId?: string | null;
11392
+ noteType?: string | null;
11393
+ noteId?: string | null;
11394
+ } | null;
11046
11395
  contactLog?: Array<{
11047
11396
  __typename?: 'ContactLogObject';
11048
11397
  id?: string | null;
@@ -11164,6 +11513,24 @@ export type RecentHistoryQuery = {
11164
11513
  companyName?: string | null;
11165
11514
  companyId?: string | null;
11166
11515
  isProspect?: boolean | null;
11516
+ lastContactedBy?: {
11517
+ __typename?: 'UserType';
11518
+ id?: string | null;
11519
+ email?: string | null;
11520
+ firstName?: string | null;
11521
+ lastName?: string | null;
11522
+ picture?: string | null;
11523
+ } | null;
11524
+ lastContactedVia?: {
11525
+ __typename?: 'LastContactedViaType';
11526
+ actionType?: string | null;
11527
+ actionId?: string | null;
11528
+ campaignName?: string | null;
11529
+ campaignId?: string | null;
11530
+ callCampaignId?: string | null;
11531
+ noteType?: string | null;
11532
+ noteId?: string | null;
11533
+ } | null;
11167
11534
  contactLog?: Array<{
11168
11535
  __typename?: 'ContactLogObject';
11169
11536
  id?: string | null;
@@ -11657,6 +12024,24 @@ export type SearchContactsQuery = {
11657
12024
  companyName?: string | null;
11658
12025
  companyId?: string | null;
11659
12026
  isProspect?: boolean | null;
12027
+ lastContactedBy?: {
12028
+ __typename?: 'UserType';
12029
+ id?: string | null;
12030
+ email?: string | null;
12031
+ firstName?: string | null;
12032
+ lastName?: string | null;
12033
+ picture?: string | null;
12034
+ } | null;
12035
+ lastContactedVia?: {
12036
+ __typename?: 'LastContactedViaType';
12037
+ actionType?: string | null;
12038
+ actionId?: string | null;
12039
+ campaignName?: string | null;
12040
+ campaignId?: string | null;
12041
+ callCampaignId?: string | null;
12042
+ noteType?: string | null;
12043
+ noteId?: string | null;
12044
+ } | null;
11660
12045
  contactLog?: Array<{
11661
12046
  __typename?: 'ContactLogObject';
11662
12047
  id?: string | null;