cf-service-sdk-dharani 0.0.54 → 0.0.56

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>;
@@ -488,8 +498,8 @@ export type CallReportFilterInput = {
488
498
  endDate?: InputMaybe<Scalars['DateTime']['input']>;
489
499
  /** Custom start date (used if date_group is 'custom') */
490
500
  startDate?: InputMaybe<Scalars['DateTime']['input']>;
491
- /** Filter by specific user/salesperson (omit for all users) */
492
- userId?: InputMaybe<Scalars['ID']['input']>;
501
+ /** Filter by specific user/salesperson(s) (omit for all users) */
502
+ userId?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
493
503
  };
494
504
  /** Call log entry for the report table */
495
505
  export type CallReportLogObject = {
@@ -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']>;
@@ -968,6 +994,8 @@ export type CompanyObject = {
968
994
  isCustomer: Scalars['Boolean']['output'];
969
995
  isProspect?: Maybe<Scalars['Boolean']['output']>;
970
996
  keywords?: Maybe<Scalars['String']['output']>;
997
+ /** Most recent contact date across all contacts and company notes */
998
+ lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
971
999
  linkedinUrl?: Maybe<Scalars['String']['output']>;
972
1000
  location?: Maybe<Scalars['String']['output']>;
973
1001
  /** List of all company locations */
@@ -1120,6 +1148,8 @@ export type ContactObject = {
1120
1148
  isPrimary?: Maybe<Scalars['Boolean']['output']>;
1121
1149
  isProspect?: Maybe<Scalars['Boolean']['output']>;
1122
1150
  lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
1151
+ lastContactedBy?: Maybe<UserType>;
1152
+ lastContactedVia?: Maybe<LastContactedViaType>;
1123
1153
  lastName?: Maybe<Scalars['String']['output']>;
1124
1154
  linkedinUrl?: Maybe<Scalars['String']['output']>;
1125
1155
  notes?: Maybe<Scalars['String']['output']>;
@@ -1358,7 +1388,9 @@ export type EmailTemplateInput = {
1358
1388
  /** Template name */
1359
1389
  name: Scalars['String']['input'];
1360
1390
  /** Template content */
1361
- template: Scalars['String']['input'];
1391
+ template?: InputMaybe<Scalars['String']['input']>;
1392
+ /** Template data as JSON */
1393
+ templateData: Scalars['JSONString']['input'];
1362
1394
  };
1363
1395
  export type EmailTemplateObject = {
1364
1396
  __typename?: 'EmailTemplateObject';
@@ -1381,6 +1413,7 @@ export type EmailTemplateType = {
1381
1413
  name: Scalars['String']['output'];
1382
1414
  subject?: Maybe<Scalars['String']['output']>;
1383
1415
  template: Scalars['String']['output'];
1416
+ templateData?: Maybe<Scalars['JSONString']['output']>;
1384
1417
  updatedAt: Scalars['DateTime']['output'];
1385
1418
  uuid: Scalars['UUID']['output'];
1386
1419
  };
@@ -1400,6 +1433,8 @@ export type EmailToneInput = {
1400
1433
  emailContent: Scalars['String']['input'];
1401
1434
  /** Number of variations to generate (default: 3) */
1402
1435
  numVariations?: InputMaybe<Scalars['Int']['input']>;
1436
+ /** List of previous variations to avoid repetition */
1437
+ previousVariations?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1403
1438
  /** Original email subject (optional) */
1404
1439
  subject?: InputMaybe<Scalars['String']['input']>;
1405
1440
  /** Tone instruction (e.g., 'Persuasive', 'Technical', 'Friendly') */
@@ -1486,6 +1521,24 @@ export type InviteUserInput = {
1486
1521
  /** Email address of the user to invite */
1487
1522
  email: Scalars['String']['input'];
1488
1523
  };
1524
+ /** Information about the last contact action */
1525
+ export type LastContactedViaType = {
1526
+ __typename?: 'LastContactedViaType';
1527
+ /** ID of the related object (ContactLog, CallCampaignLog, or CompanyNote) */
1528
+ actionId?: Maybe<Scalars['ID']['output']>;
1529
+ /** Type of action: 'email', 'call', or 'note' */
1530
+ actionType?: Maybe<Scalars['String']['output']>;
1531
+ /** ID of the call campaign (for action_type='call') */
1532
+ callCampaignId?: Maybe<Scalars['ID']['output']>;
1533
+ /** ID of the email campaign (for action_type='email') */
1534
+ campaignId?: Maybe<Scalars['ID']['output']>;
1535
+ /** Name of the campaign if applicable */
1536
+ campaignName?: Maybe<Scalars['String']['output']>;
1537
+ /** ID of the company note (for action_type='note') */
1538
+ noteId?: Maybe<Scalars['ID']['output']>;
1539
+ /** Type of note if action_type is 'note' */
1540
+ noteType?: Maybe<Scalars['String']['output']>;
1541
+ };
1489
1542
  /** Custom token auth mutation that includes account member isAdmin flag */
1490
1543
  export type Login = {
1491
1544
  __typename?: 'Login';
@@ -2004,6 +2057,8 @@ export type PaginatedCallCampaignLogList = {
2004
2057
  __typename?: 'PaginatedCallCampaignLogList';
2005
2058
  items?: Maybe<Array<Maybe<CallCampaignLogObject>>>;
2006
2059
  pagination?: Maybe<PaginationInfo>;
2060
+ /** Statistics about contacts contacted in past 2 weeks */
2061
+ stats?: Maybe<CallCampaignLogStatsType>;
2007
2062
  };
2008
2063
  /** Paginated list of campaign contacts with statistics */
2009
2064
  export type PaginatedCampaignContactList = {
@@ -2012,6 +2067,8 @@ export type PaginatedCampaignContactList = {
2012
2067
  items?: Maybe<Array<Maybe<CampaignContactType>>>;
2013
2068
  /** Pagination information */
2014
2069
  pagination?: Maybe<PaginationInfo>;
2070
+ /** Statistics about contacts contacted in past 2 weeks */
2071
+ stats?: Maybe<CampaignLogStatsType>;
2015
2072
  };
2016
2073
  /** Paginated list of campaigns */
2017
2074
  export type PaginatedCampaignList = {
@@ -2431,6 +2488,17 @@ export type RecentHistorySortInput = {
2431
2488
  direction?: InputMaybe<SortDirection>;
2432
2489
  field?: InputMaybe<RecentHistorySortField>;
2433
2490
  };
2491
+ /** Details of a recently contacted contact */
2492
+ export type RecentlyContactedContactType = {
2493
+ __typename?: 'RecentlyContactedContactType';
2494
+ companyName?: Maybe<Scalars['String']['output']>;
2495
+ contactId?: Maybe<Scalars['ID']['output']>;
2496
+ /** Method of contact: 'email' or 'call' */
2497
+ contactMethod?: Maybe<Scalars['String']['output']>;
2498
+ contactName?: Maybe<Scalars['String']['output']>;
2499
+ daysSinceContact?: Maybe<Scalars['Int']['output']>;
2500
+ lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
2501
+ };
2434
2502
  /** RejectInvitation - Reject an invitation to join an account */
2435
2503
  export type RejectInvitation = {
2436
2504
  __typename?: 'RejectInvitation';
@@ -3559,6 +3627,7 @@ export type CreateCompanyMutation = {
3559
3627
  ownedByUser?: boolean | null;
3560
3628
  isProspect?: boolean | null;
3561
3629
  purchaseMetalConfidence?: number | null;
3630
+ lastContactedAt?: any | null;
3562
3631
  tags?: Array<{
3563
3632
  __typename?: 'TagObject';
3564
3633
  id?: string | null;
@@ -3627,6 +3696,24 @@ export type CreateCompanyMutation = {
3627
3696
  companyName?: string | null;
3628
3697
  companyId?: string | null;
3629
3698
  isProspect?: boolean | null;
3699
+ lastContactedBy?: {
3700
+ __typename?: 'UserType';
3701
+ id?: string | null;
3702
+ email?: string | null;
3703
+ firstName?: string | null;
3704
+ lastName?: string | null;
3705
+ picture?: string | null;
3706
+ } | null;
3707
+ lastContactedVia?: {
3708
+ __typename?: 'LastContactedViaType';
3709
+ actionType?: string | null;
3710
+ actionId?: string | null;
3711
+ campaignName?: string | null;
3712
+ campaignId?: string | null;
3713
+ callCampaignId?: string | null;
3714
+ noteType?: string | null;
3715
+ noteId?: string | null;
3716
+ } | null;
3630
3717
  contactLog?: Array<{
3631
3718
  __typename?: 'ContactLogObject';
3632
3719
  id?: string | null;
@@ -4558,6 +4645,24 @@ export type CreateContactMutation = {
4558
4645
  companyName?: string | null;
4559
4646
  companyId?: string | null;
4560
4647
  isProspect?: boolean | null;
4648
+ lastContactedBy?: {
4649
+ __typename?: 'UserType';
4650
+ id?: string | null;
4651
+ email?: string | null;
4652
+ firstName?: string | null;
4653
+ lastName?: string | null;
4654
+ picture?: string | null;
4655
+ } | null;
4656
+ lastContactedVia?: {
4657
+ __typename?: 'LastContactedViaType';
4658
+ actionType?: string | null;
4659
+ actionId?: string | null;
4660
+ campaignName?: string | null;
4661
+ campaignId?: string | null;
4662
+ callCampaignId?: string | null;
4663
+ noteType?: string | null;
4664
+ noteId?: string | null;
4665
+ } | null;
4561
4666
  contactLog?: Array<{
4562
4667
  __typename?: 'ContactLogObject';
4563
4668
  id?: string | null;
@@ -4601,6 +4706,7 @@ export type CreateEmailTemplateMutation = {
4601
4706
  description: string;
4602
4707
  subject?: string | null;
4603
4708
  template: string;
4709
+ templateData?: any | null;
4604
4710
  campaignType: AppEmailTemplateCampaignTypeChoices;
4605
4711
  isDefault: boolean;
4606
4712
  } | null;
@@ -5655,6 +5761,24 @@ export type SendEmailToContactMutation = {
5655
5761
  companyName?: string | null;
5656
5762
  companyId?: string | null;
5657
5763
  isProspect?: boolean | null;
5764
+ lastContactedBy?: {
5765
+ __typename?: 'UserType';
5766
+ id?: string | null;
5767
+ email?: string | null;
5768
+ firstName?: string | null;
5769
+ lastName?: string | null;
5770
+ picture?: string | null;
5771
+ } | null;
5772
+ lastContactedVia?: {
5773
+ __typename?: 'LastContactedViaType';
5774
+ actionType?: string | null;
5775
+ actionId?: string | null;
5776
+ campaignName?: string | null;
5777
+ campaignId?: string | null;
5778
+ callCampaignId?: string | null;
5779
+ noteType?: string | null;
5780
+ noteId?: string | null;
5781
+ } | null;
5658
5782
  contactLog?: Array<{
5659
5783
  __typename?: 'ContactLogObject';
5660
5784
  id?: string | null;
@@ -6137,6 +6261,7 @@ export type UpdateCompanyMutation = {
6137
6261
  ownedByUser?: boolean | null;
6138
6262
  isProspect?: boolean | null;
6139
6263
  purchaseMetalConfidence?: number | null;
6264
+ lastContactedAt?: any | null;
6140
6265
  tags?: Array<{
6141
6266
  __typename?: 'TagObject';
6142
6267
  id?: string | null;
@@ -6205,6 +6330,24 @@ export type UpdateCompanyMutation = {
6205
6330
  companyName?: string | null;
6206
6331
  companyId?: string | null;
6207
6332
  isProspect?: boolean | null;
6333
+ lastContactedBy?: {
6334
+ __typename?: 'UserType';
6335
+ id?: string | null;
6336
+ email?: string | null;
6337
+ firstName?: string | null;
6338
+ lastName?: string | null;
6339
+ picture?: string | null;
6340
+ } | null;
6341
+ lastContactedVia?: {
6342
+ __typename?: 'LastContactedViaType';
6343
+ actionType?: string | null;
6344
+ actionId?: string | null;
6345
+ campaignName?: string | null;
6346
+ campaignId?: string | null;
6347
+ callCampaignId?: string | null;
6348
+ noteType?: string | null;
6349
+ noteId?: string | null;
6350
+ } | null;
6208
6351
  contactLog?: Array<{
6209
6352
  __typename?: 'ContactLogObject';
6210
6353
  id?: string | null;
@@ -7136,6 +7279,24 @@ export type UpdateContactMutation = {
7136
7279
  companyName?: string | null;
7137
7280
  companyId?: string | null;
7138
7281
  isProspect?: boolean | null;
7282
+ lastContactedBy?: {
7283
+ __typename?: 'UserType';
7284
+ id?: string | null;
7285
+ email?: string | null;
7286
+ firstName?: string | null;
7287
+ lastName?: string | null;
7288
+ picture?: string | null;
7289
+ } | null;
7290
+ lastContactedVia?: {
7291
+ __typename?: 'LastContactedViaType';
7292
+ actionType?: string | null;
7293
+ actionId?: string | null;
7294
+ campaignName?: string | null;
7295
+ campaignId?: string | null;
7296
+ callCampaignId?: string | null;
7297
+ noteType?: string | null;
7298
+ noteId?: string | null;
7299
+ } | null;
7139
7300
  contactLog?: Array<{
7140
7301
  __typename?: 'ContactLogObject';
7141
7302
  id?: string | null;
@@ -7180,6 +7341,7 @@ export type UpdateEmailTemplateMutation = {
7180
7341
  description: string;
7181
7342
  subject?: string | null;
7182
7343
  template: string;
7344
+ templateData?: any | null;
7183
7345
  campaignType: AppEmailTemplateCampaignTypeChoices;
7184
7346
  isDefault: boolean;
7185
7347
  } | null;
@@ -7877,6 +8039,20 @@ export type CallCampaignLogsQuery = {
7877
8039
  hasNextPage?: boolean | null;
7878
8040
  hasPreviousPage?: boolean | null;
7879
8041
  } | null;
8042
+ stats?: {
8043
+ __typename?: 'CallCampaignLogStatsType';
8044
+ totalContacts?: number | null;
8045
+ contactedPast2Weeks?: number | null;
8046
+ contactedPast2WeeksDetails?: Array<{
8047
+ __typename?: 'RecentlyContactedContactType';
8048
+ contactId?: string | null;
8049
+ contactName?: string | null;
8050
+ companyName?: string | null;
8051
+ lastContactedAt?: any | null;
8052
+ daysSinceContact?: number | null;
8053
+ contactMethod?: string | null;
8054
+ } | null> | null;
8055
+ } | null;
7880
8056
  } | null;
7881
8057
  };
7882
8058
  export type CallCampaignReportQueryVariables = Exact<{
@@ -8285,6 +8461,25 @@ export type CampaignContactsQuery = {
8285
8461
  customContactId?: string | null;
8286
8462
  isCustomer?: boolean | null;
8287
8463
  isProspect?: boolean | null;
8464
+ lastContactedAt?: any | null;
8465
+ lastContactedBy?: {
8466
+ __typename?: 'UserType';
8467
+ id?: string | null;
8468
+ email?: string | null;
8469
+ firstName?: string | null;
8470
+ lastName?: string | null;
8471
+ picture?: string | null;
8472
+ } | null;
8473
+ lastContactedVia?: {
8474
+ __typename?: 'LastContactedViaType';
8475
+ actionType?: string | null;
8476
+ actionId?: string | null;
8477
+ campaignName?: string | null;
8478
+ campaignId?: string | null;
8479
+ callCampaignId?: string | null;
8480
+ noteType?: string | null;
8481
+ noteId?: string | null;
8482
+ } | null;
8288
8483
  } | null> | null;
8289
8484
  pagination?: {
8290
8485
  __typename?: 'PaginationInfo';
@@ -8331,6 +8526,24 @@ export type CampaignLogsQuery = {
8331
8526
  companyName?: string | null;
8332
8527
  companyId?: string | null;
8333
8528
  isProspect?: boolean | null;
8529
+ lastContactedBy?: {
8530
+ __typename?: 'UserType';
8531
+ id?: string | null;
8532
+ email?: string | null;
8533
+ firstName?: string | null;
8534
+ lastName?: string | null;
8535
+ picture?: string | null;
8536
+ } | null;
8537
+ lastContactedVia?: {
8538
+ __typename?: 'LastContactedViaType';
8539
+ actionType?: string | null;
8540
+ actionId?: string | null;
8541
+ campaignName?: string | null;
8542
+ campaignId?: string | null;
8543
+ callCampaignId?: string | null;
8544
+ noteType?: string | null;
8545
+ noteId?: string | null;
8546
+ } | null;
8334
8547
  contactLog?: Array<{
8335
8548
  __typename?: 'ContactLogObject';
8336
8549
  id?: string | null;
@@ -8481,6 +8694,24 @@ export type CampaignLogsQuery = {
8481
8694
  companyName?: string | null;
8482
8695
  companyId?: string | null;
8483
8696
  isProspect?: boolean | null;
8697
+ lastContactedBy?: {
8698
+ __typename?: 'UserType';
8699
+ id?: string | null;
8700
+ email?: string | null;
8701
+ firstName?: string | null;
8702
+ lastName?: string | null;
8703
+ picture?: string | null;
8704
+ } | null;
8705
+ lastContactedVia?: {
8706
+ __typename?: 'LastContactedViaType';
8707
+ actionType?: string | null;
8708
+ actionId?: string | null;
8709
+ campaignName?: string | null;
8710
+ campaignId?: string | null;
8711
+ callCampaignId?: string | null;
8712
+ noteType?: string | null;
8713
+ noteId?: string | null;
8714
+ } | null;
8484
8715
  contactLog?: Array<{
8485
8716
  __typename?: 'ContactLogObject';
8486
8717
  id?: string | null;
@@ -8515,6 +8746,20 @@ export type CampaignLogsQuery = {
8515
8746
  hasNextPage?: boolean | null;
8516
8747
  hasPreviousPage?: boolean | null;
8517
8748
  } | null;
8749
+ stats?: {
8750
+ __typename?: 'CampaignLogStatsType';
8751
+ totalContacts?: number | null;
8752
+ contactedPast2Weeks?: number | null;
8753
+ contactedPast2WeeksDetails?: Array<{
8754
+ __typename?: 'RecentlyContactedContactType';
8755
+ contactId?: string | null;
8756
+ contactName?: string | null;
8757
+ companyName?: string | null;
8758
+ lastContactedAt?: any | null;
8759
+ daysSinceContact?: number | null;
8760
+ contactMethod?: string | null;
8761
+ } | null> | null;
8762
+ } | null;
8518
8763
  } | null;
8519
8764
  };
8520
8765
  export type CampaignStatsQueryVariables = Exact<{
@@ -8663,6 +8908,7 @@ export type CompaniesQuery = {
8663
8908
  ownedByUser?: boolean | null;
8664
8909
  isProspect?: boolean | null;
8665
8910
  purchaseMetalConfidence?: number | null;
8911
+ lastContactedAt?: any | null;
8666
8912
  tags?: Array<{
8667
8913
  __typename?: 'TagObject';
8668
8914
  id?: string | null;
@@ -8731,6 +8977,24 @@ export type CompaniesQuery = {
8731
8977
  companyName?: string | null;
8732
8978
  companyId?: string | null;
8733
8979
  isProspect?: boolean | null;
8980
+ lastContactedBy?: {
8981
+ __typename?: 'UserType';
8982
+ id?: string | null;
8983
+ email?: string | null;
8984
+ firstName?: string | null;
8985
+ lastName?: string | null;
8986
+ picture?: string | null;
8987
+ } | null;
8988
+ lastContactedVia?: {
8989
+ __typename?: 'LastContactedViaType';
8990
+ actionType?: string | null;
8991
+ actionId?: string | null;
8992
+ campaignName?: string | null;
8993
+ campaignId?: string | null;
8994
+ callCampaignId?: string | null;
8995
+ noteType?: string | null;
8996
+ noteId?: string | null;
8997
+ } | null;
8734
8998
  contactLog?: Array<{
8735
8999
  __typename?: 'ContactLogObject';
8736
9000
  id?: string | null;
@@ -9240,6 +9504,7 @@ export type CompanyQuery = {
9240
9504
  ownedByUser?: boolean | null;
9241
9505
  isProspect?: boolean | null;
9242
9506
  purchaseMetalConfidence?: number | null;
9507
+ lastContactedAt?: any | null;
9243
9508
  tags?: Array<{
9244
9509
  __typename?: 'TagObject';
9245
9510
  id?: string | null;
@@ -9308,6 +9573,24 @@ export type CompanyQuery = {
9308
9573
  companyName?: string | null;
9309
9574
  companyId?: string | null;
9310
9575
  isProspect?: boolean | null;
9576
+ lastContactedBy?: {
9577
+ __typename?: 'UserType';
9578
+ id?: string | null;
9579
+ email?: string | null;
9580
+ firstName?: string | null;
9581
+ lastName?: string | null;
9582
+ picture?: string | null;
9583
+ } | null;
9584
+ lastContactedVia?: {
9585
+ __typename?: 'LastContactedViaType';
9586
+ actionType?: string | null;
9587
+ actionId?: string | null;
9588
+ campaignName?: string | null;
9589
+ campaignId?: string | null;
9590
+ callCampaignId?: string | null;
9591
+ noteType?: string | null;
9592
+ noteId?: string | null;
9593
+ } | null;
9311
9594
  contactLog?: Array<{
9312
9595
  __typename?: 'ContactLogObject';
9313
9596
  id?: string | null;
@@ -10554,6 +10837,24 @@ export type ContactQuery = {
10554
10837
  companyName?: string | null;
10555
10838
  companyId?: string | null;
10556
10839
  isProspect?: boolean | null;
10840
+ lastContactedBy?: {
10841
+ __typename?: 'UserType';
10842
+ id?: string | null;
10843
+ email?: string | null;
10844
+ firstName?: string | null;
10845
+ lastName?: string | null;
10846
+ picture?: string | null;
10847
+ } | null;
10848
+ lastContactedVia?: {
10849
+ __typename?: 'LastContactedViaType';
10850
+ actionType?: string | null;
10851
+ actionId?: string | null;
10852
+ campaignName?: string | null;
10853
+ campaignId?: string | null;
10854
+ callCampaignId?: string | null;
10855
+ noteType?: string | null;
10856
+ noteId?: string | null;
10857
+ } | null;
10557
10858
  contactLog?: Array<{
10558
10859
  __typename?: 'ContactLogObject';
10559
10860
  id?: string | null;
@@ -10606,6 +10907,24 @@ export type ContactsQuery = {
10606
10907
  companyName?: string | null;
10607
10908
  companyId?: string | null;
10608
10909
  isProspect?: boolean | null;
10910
+ lastContactedBy?: {
10911
+ __typename?: 'UserType';
10912
+ id?: string | null;
10913
+ email?: string | null;
10914
+ firstName?: string | null;
10915
+ lastName?: string | null;
10916
+ picture?: string | null;
10917
+ } | null;
10918
+ lastContactedVia?: {
10919
+ __typename?: 'LastContactedViaType';
10920
+ actionType?: string | null;
10921
+ actionId?: string | null;
10922
+ campaignName?: string | null;
10923
+ campaignId?: string | null;
10924
+ callCampaignId?: string | null;
10925
+ noteType?: string | null;
10926
+ noteId?: string | null;
10927
+ } | null;
10609
10928
  contactLog?: Array<{
10610
10929
  __typename?: 'ContactLogObject';
10611
10930
  id?: string | null;
@@ -10661,6 +10980,24 @@ export type ContactsInSegmentQuery = {
10661
10980
  companyName?: string | null;
10662
10981
  companyId?: string | null;
10663
10982
  isProspect?: boolean | null;
10983
+ lastContactedBy?: {
10984
+ __typename?: 'UserType';
10985
+ id?: string | null;
10986
+ email?: string | null;
10987
+ firstName?: string | null;
10988
+ lastName?: string | null;
10989
+ picture?: string | null;
10990
+ } | null;
10991
+ lastContactedVia?: {
10992
+ __typename?: 'LastContactedViaType';
10993
+ actionType?: string | null;
10994
+ actionId?: string | null;
10995
+ campaignName?: string | null;
10996
+ campaignId?: string | null;
10997
+ callCampaignId?: string | null;
10998
+ noteType?: string | null;
10999
+ noteId?: string | null;
11000
+ } | null;
10664
11001
  contactLog?: Array<{
10665
11002
  __typename?: 'ContactLogObject';
10666
11003
  id?: string | null;
@@ -10758,6 +11095,7 @@ export type EmailTemplateQuery = {
10758
11095
  description: string;
10759
11096
  subject?: string | null;
10760
11097
  template: string;
11098
+ templateData?: any | null;
10761
11099
  campaignType: AppEmailTemplateCampaignTypeChoices;
10762
11100
  isDefault: boolean;
10763
11101
  } | null;
@@ -10777,6 +11115,7 @@ export type EmailTemplatesQuery = {
10777
11115
  description: string;
10778
11116
  subject?: string | null;
10779
11117
  template: string;
11118
+ templateData?: any | null;
10780
11119
  campaignType: AppEmailTemplateCampaignTypeChoices;
10781
11120
  isDefault: boolean;
10782
11121
  } | null> | null;
@@ -11037,6 +11376,24 @@ export type RecentHistoryQuery = {
11037
11376
  companyName?: string | null;
11038
11377
  companyId?: string | null;
11039
11378
  isProspect?: boolean | null;
11379
+ lastContactedBy?: {
11380
+ __typename?: 'UserType';
11381
+ id?: string | null;
11382
+ email?: string | null;
11383
+ firstName?: string | null;
11384
+ lastName?: string | null;
11385
+ picture?: string | null;
11386
+ } | null;
11387
+ lastContactedVia?: {
11388
+ __typename?: 'LastContactedViaType';
11389
+ actionType?: string | null;
11390
+ actionId?: string | null;
11391
+ campaignName?: string | null;
11392
+ campaignId?: string | null;
11393
+ callCampaignId?: string | null;
11394
+ noteType?: string | null;
11395
+ noteId?: string | null;
11396
+ } | null;
11040
11397
  contactLog?: Array<{
11041
11398
  __typename?: 'ContactLogObject';
11042
11399
  id?: string | null;
@@ -11089,6 +11446,7 @@ export type RecentHistoryQuery = {
11089
11446
  ownedByUser?: boolean | null;
11090
11447
  isProspect?: boolean | null;
11091
11448
  purchaseMetalConfidence?: number | null;
11449
+ lastContactedAt?: any | null;
11092
11450
  tags?: Array<{
11093
11451
  __typename?: 'TagObject';
11094
11452
  id?: string | null;
@@ -11157,6 +11515,24 @@ export type RecentHistoryQuery = {
11157
11515
  companyName?: string | null;
11158
11516
  companyId?: string | null;
11159
11517
  isProspect?: boolean | null;
11518
+ lastContactedBy?: {
11519
+ __typename?: 'UserType';
11520
+ id?: string | null;
11521
+ email?: string | null;
11522
+ firstName?: string | null;
11523
+ lastName?: string | null;
11524
+ picture?: string | null;
11525
+ } | null;
11526
+ lastContactedVia?: {
11527
+ __typename?: 'LastContactedViaType';
11528
+ actionType?: string | null;
11529
+ actionId?: string | null;
11530
+ campaignName?: string | null;
11531
+ campaignId?: string | null;
11532
+ callCampaignId?: string | null;
11533
+ noteType?: string | null;
11534
+ noteId?: string | null;
11535
+ } | null;
11160
11536
  contactLog?: Array<{
11161
11537
  __typename?: 'ContactLogObject';
11162
11538
  id?: string | null;
@@ -11650,6 +12026,24 @@ export type SearchContactsQuery = {
11650
12026
  companyName?: string | null;
11651
12027
  companyId?: string | null;
11652
12028
  isProspect?: boolean | null;
12029
+ lastContactedBy?: {
12030
+ __typename?: 'UserType';
12031
+ id?: string | null;
12032
+ email?: string | null;
12033
+ firstName?: string | null;
12034
+ lastName?: string | null;
12035
+ picture?: string | null;
12036
+ } | null;
12037
+ lastContactedVia?: {
12038
+ __typename?: 'LastContactedViaType';
12039
+ actionType?: string | null;
12040
+ actionId?: string | null;
12041
+ campaignName?: string | null;
12042
+ campaignId?: string | null;
12043
+ callCampaignId?: string | null;
12044
+ noteType?: string | null;
12045
+ noteId?: string | null;
12046
+ } | null;
11653
12047
  contactLog?: Array<{
11654
12048
  __typename?: 'ContactLogObject';
11655
12049
  id?: string | null;