cf-service-sdk-dharani 0.0.55 → 0.0.57

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 = {
@@ -574,6 +584,16 @@ export type CampaignContactItemType = {
574
584
  email?: Maybe<Scalars['String']['output']>;
575
585
  /** First name of the contact */
576
586
  firstName?: Maybe<Scalars['String']['output']>;
587
+ /** Whether the contact is a customer */
588
+ isCustomer?: Maybe<Scalars['Boolean']['output']>;
589
+ /** Whether the contact is a prospect */
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>;
577
597
  /** Last name of the contact */
578
598
  lastName?: Maybe<Scalars['String']['output']>;
579
599
  /** Phone of the contact */
@@ -632,6 +652,16 @@ export type CampaignInput = {
632
652
  segments?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
633
653
  uuid?: InputMaybe<Scalars['ID']['input']>;
634
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
+ };
635
665
  export type CampaignObject = {
636
666
  __typename?: 'CampaignObject';
637
667
  bounceRate?: Maybe<Scalars['Float']['output']>;
@@ -830,6 +860,8 @@ export type CompanyInput = {
830
860
  /** List of company locations to create/update */
831
861
  locations?: InputMaybe<Array<InputMaybe<CompanyLocationInput>>>;
832
862
  logoUrl?: InputMaybe<Scalars['String']['input']>;
863
+ /** List of user IDs to assign as owners of the company */
864
+ owners?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
833
865
  phone?: InputMaybe<Scalars['String']['input']>;
834
866
  productMetalScores?: InputMaybe<Array<InputMaybe<ProductMetalScoreInput>>>;
835
867
  state?: InputMaybe<Scalars['String']['input']>;
@@ -964,12 +996,16 @@ export type CompanyObject = {
964
996
  isCustomer: Scalars['Boolean']['output'];
965
997
  isProspect?: Maybe<Scalars['Boolean']['output']>;
966
998
  keywords?: Maybe<Scalars['String']['output']>;
999
+ /** Most recent contact date across all contacts and company notes */
1000
+ lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
967
1001
  linkedinUrl?: Maybe<Scalars['String']['output']>;
968
1002
  location?: Maybe<Scalars['String']['output']>;
969
1003
  /** List of all company locations */
970
1004
  locations?: Maybe<Array<Maybe<CompanyLocationType>>>;
971
1005
  logoUrl?: Maybe<Scalars['String']['output']>;
972
1006
  ownedByUser?: Maybe<Scalars['Boolean']['output']>;
1007
+ /** List of company owners */
1008
+ owners?: Maybe<Array<Maybe<CompanyOwnersObject>>>;
973
1009
  phone?: Maybe<Scalars['String']['output']>;
974
1010
  pk?: Maybe<Scalars['ID']['output']>;
975
1011
  /** Primary company location */
@@ -985,6 +1021,11 @@ export type CompanyObject = {
985
1021
  website?: Maybe<Scalars['String']['output']>;
986
1022
  zipCode?: Maybe<Scalars['String']['output']>;
987
1023
  };
1024
+ export type CompanyOwnersObject = {
1025
+ __typename?: 'CompanyOwnersObject';
1026
+ id?: Maybe<Scalars['ID']['output']>;
1027
+ user?: Maybe<UserType>;
1028
+ };
988
1029
  export type CompanyProductMetalScoreObject = {
989
1030
  __typename?: 'CompanyProductMetalScoreObject';
990
1031
  /** Account ID who assigned this product metal */
@@ -1116,6 +1157,8 @@ export type ContactObject = {
1116
1157
  isPrimary?: Maybe<Scalars['Boolean']['output']>;
1117
1158
  isProspect?: Maybe<Scalars['Boolean']['output']>;
1118
1159
  lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
1160
+ lastContactedBy?: Maybe<UserType>;
1161
+ lastContactedVia?: Maybe<LastContactedViaType>;
1119
1162
  lastName?: Maybe<Scalars['String']['output']>;
1120
1163
  linkedinUrl?: Maybe<Scalars['String']['output']>;
1121
1164
  notes?: Maybe<Scalars['String']['output']>;
@@ -1485,6 +1528,24 @@ export type InviteUserInput = {
1485
1528
  /** Email address of the user to invite */
1486
1529
  email: Scalars['String']['input'];
1487
1530
  };
1531
+ /** Information about the last contact action */
1532
+ export type LastContactedViaType = {
1533
+ __typename?: 'LastContactedViaType';
1534
+ /** ID of the related object (ContactLog, CallCampaignLog, or CompanyNote) */
1535
+ actionId?: Maybe<Scalars['ID']['output']>;
1536
+ /** Type of action: 'email', 'call', or 'note' */
1537
+ actionType?: Maybe<Scalars['String']['output']>;
1538
+ /** ID of the call campaign (for action_type='call') */
1539
+ callCampaignId?: Maybe<Scalars['ID']['output']>;
1540
+ /** ID of the email campaign (for action_type='email') */
1541
+ campaignId?: Maybe<Scalars['ID']['output']>;
1542
+ /** Name of the campaign if applicable */
1543
+ campaignName?: Maybe<Scalars['String']['output']>;
1544
+ /** ID of the company note (for action_type='note') */
1545
+ noteId?: Maybe<Scalars['ID']['output']>;
1546
+ /** Type of note if action_type is 'note' */
1547
+ noteType?: Maybe<Scalars['String']['output']>;
1548
+ };
1488
1549
  /** Custom token auth mutation that includes account member isAdmin flag */
1489
1550
  export type Login = {
1490
1551
  __typename?: 'Login';
@@ -2003,6 +2064,8 @@ export type PaginatedCallCampaignLogList = {
2003
2064
  __typename?: 'PaginatedCallCampaignLogList';
2004
2065
  items?: Maybe<Array<Maybe<CallCampaignLogObject>>>;
2005
2066
  pagination?: Maybe<PaginationInfo>;
2067
+ /** Statistics about contacts contacted in past 2 weeks */
2068
+ stats?: Maybe<CallCampaignLogStatsType>;
2006
2069
  };
2007
2070
  /** Paginated list of campaign contacts with statistics */
2008
2071
  export type PaginatedCampaignContactList = {
@@ -2011,6 +2074,8 @@ export type PaginatedCampaignContactList = {
2011
2074
  items?: Maybe<Array<Maybe<CampaignContactType>>>;
2012
2075
  /** Pagination information */
2013
2076
  pagination?: Maybe<PaginationInfo>;
2077
+ /** Statistics about contacts contacted in past 2 weeks */
2078
+ stats?: Maybe<CampaignLogStatsType>;
2014
2079
  };
2015
2080
  /** Paginated list of campaigns */
2016
2081
  export type PaginatedCampaignList = {
@@ -2430,6 +2495,17 @@ export type RecentHistorySortInput = {
2430
2495
  direction?: InputMaybe<SortDirection>;
2431
2496
  field?: InputMaybe<RecentHistorySortField>;
2432
2497
  };
2498
+ /** Details of a recently contacted contact */
2499
+ export type RecentlyContactedContactType = {
2500
+ __typename?: 'RecentlyContactedContactType';
2501
+ companyName?: Maybe<Scalars['String']['output']>;
2502
+ contactId?: Maybe<Scalars['ID']['output']>;
2503
+ /** Method of contact: 'email' or 'call' */
2504
+ contactMethod?: Maybe<Scalars['String']['output']>;
2505
+ contactName?: Maybe<Scalars['String']['output']>;
2506
+ daysSinceContact?: Maybe<Scalars['Int']['output']>;
2507
+ lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
2508
+ };
2433
2509
  /** RejectInvitation - Reject an invitation to join an account */
2434
2510
  export type RejectInvitation = {
2435
2511
  __typename?: 'RejectInvitation';
@@ -3558,6 +3634,7 @@ export type CreateCompanyMutation = {
3558
3634
  ownedByUser?: boolean | null;
3559
3635
  isProspect?: boolean | null;
3560
3636
  purchaseMetalConfidence?: number | null;
3637
+ lastContactedAt?: any | null;
3561
3638
  tags?: Array<{
3562
3639
  __typename?: 'TagObject';
3563
3640
  id?: string | null;
@@ -3565,6 +3642,18 @@ export type CreateCompanyMutation = {
3565
3642
  name?: string | null;
3566
3643
  description?: string | null;
3567
3644
  } | null> | null;
3645
+ owners?: Array<{
3646
+ __typename?: 'CompanyOwnersObject';
3647
+ id?: string | null;
3648
+ user?: {
3649
+ __typename?: 'UserType';
3650
+ id?: string | null;
3651
+ email?: string | null;
3652
+ firstName?: string | null;
3653
+ lastName?: string | null;
3654
+ picture?: string | null;
3655
+ } | null;
3656
+ } | null> | null;
3568
3657
  locations?: Array<{
3569
3658
  __typename?: 'CompanyLocationType';
3570
3659
  id?: string | null;
@@ -3626,6 +3715,24 @@ export type CreateCompanyMutation = {
3626
3715
  companyName?: string | null;
3627
3716
  companyId?: string | null;
3628
3717
  isProspect?: boolean | null;
3718
+ lastContactedBy?: {
3719
+ __typename?: 'UserType';
3720
+ id?: string | null;
3721
+ email?: string | null;
3722
+ firstName?: string | null;
3723
+ lastName?: string | null;
3724
+ picture?: string | null;
3725
+ } | null;
3726
+ lastContactedVia?: {
3727
+ __typename?: 'LastContactedViaType';
3728
+ actionType?: string | null;
3729
+ actionId?: string | null;
3730
+ campaignName?: string | null;
3731
+ campaignId?: string | null;
3732
+ callCampaignId?: string | null;
3733
+ noteType?: string | null;
3734
+ noteId?: string | null;
3735
+ } | null;
3629
3736
  contactLog?: Array<{
3630
3737
  __typename?: 'ContactLogObject';
3631
3738
  id?: string | null;
@@ -4557,6 +4664,24 @@ export type CreateContactMutation = {
4557
4664
  companyName?: string | null;
4558
4665
  companyId?: string | null;
4559
4666
  isProspect?: boolean | null;
4667
+ lastContactedBy?: {
4668
+ __typename?: 'UserType';
4669
+ id?: string | null;
4670
+ email?: string | null;
4671
+ firstName?: string | null;
4672
+ lastName?: string | null;
4673
+ picture?: string | null;
4674
+ } | null;
4675
+ lastContactedVia?: {
4676
+ __typename?: 'LastContactedViaType';
4677
+ actionType?: string | null;
4678
+ actionId?: string | null;
4679
+ campaignName?: string | null;
4680
+ campaignId?: string | null;
4681
+ callCampaignId?: string | null;
4682
+ noteType?: string | null;
4683
+ noteId?: string | null;
4684
+ } | null;
4560
4685
  contactLog?: Array<{
4561
4686
  __typename?: 'ContactLogObject';
4562
4687
  id?: string | null;
@@ -5655,6 +5780,24 @@ export type SendEmailToContactMutation = {
5655
5780
  companyName?: string | null;
5656
5781
  companyId?: string | null;
5657
5782
  isProspect?: boolean | null;
5783
+ lastContactedBy?: {
5784
+ __typename?: 'UserType';
5785
+ id?: string | null;
5786
+ email?: string | null;
5787
+ firstName?: string | null;
5788
+ lastName?: string | null;
5789
+ picture?: string | null;
5790
+ } | null;
5791
+ lastContactedVia?: {
5792
+ __typename?: 'LastContactedViaType';
5793
+ actionType?: string | null;
5794
+ actionId?: string | null;
5795
+ campaignName?: string | null;
5796
+ campaignId?: string | null;
5797
+ callCampaignId?: string | null;
5798
+ noteType?: string | null;
5799
+ noteId?: string | null;
5800
+ } | null;
5658
5801
  contactLog?: Array<{
5659
5802
  __typename?: 'ContactLogObject';
5660
5803
  id?: string | null;
@@ -6137,6 +6280,7 @@ export type UpdateCompanyMutation = {
6137
6280
  ownedByUser?: boolean | null;
6138
6281
  isProspect?: boolean | null;
6139
6282
  purchaseMetalConfidence?: number | null;
6283
+ lastContactedAt?: any | null;
6140
6284
  tags?: Array<{
6141
6285
  __typename?: 'TagObject';
6142
6286
  id?: string | null;
@@ -6144,6 +6288,18 @@ export type UpdateCompanyMutation = {
6144
6288
  name?: string | null;
6145
6289
  description?: string | null;
6146
6290
  } | null> | null;
6291
+ owners?: Array<{
6292
+ __typename?: 'CompanyOwnersObject';
6293
+ id?: string | null;
6294
+ user?: {
6295
+ __typename?: 'UserType';
6296
+ id?: string | null;
6297
+ email?: string | null;
6298
+ firstName?: string | null;
6299
+ lastName?: string | null;
6300
+ picture?: string | null;
6301
+ } | null;
6302
+ } | null> | null;
6147
6303
  locations?: Array<{
6148
6304
  __typename?: 'CompanyLocationType';
6149
6305
  id?: string | null;
@@ -6205,6 +6361,24 @@ export type UpdateCompanyMutation = {
6205
6361
  companyName?: string | null;
6206
6362
  companyId?: string | null;
6207
6363
  isProspect?: boolean | null;
6364
+ lastContactedBy?: {
6365
+ __typename?: 'UserType';
6366
+ id?: string | null;
6367
+ email?: string | null;
6368
+ firstName?: string | null;
6369
+ lastName?: string | null;
6370
+ picture?: string | null;
6371
+ } | null;
6372
+ lastContactedVia?: {
6373
+ __typename?: 'LastContactedViaType';
6374
+ actionType?: string | null;
6375
+ actionId?: string | null;
6376
+ campaignName?: string | null;
6377
+ campaignId?: string | null;
6378
+ callCampaignId?: string | null;
6379
+ noteType?: string | null;
6380
+ noteId?: string | null;
6381
+ } | null;
6208
6382
  contactLog?: Array<{
6209
6383
  __typename?: 'ContactLogObject';
6210
6384
  id?: string | null;
@@ -7136,6 +7310,24 @@ export type UpdateContactMutation = {
7136
7310
  companyName?: string | null;
7137
7311
  companyId?: string | null;
7138
7312
  isProspect?: boolean | null;
7313
+ lastContactedBy?: {
7314
+ __typename?: 'UserType';
7315
+ id?: string | null;
7316
+ email?: string | null;
7317
+ firstName?: string | null;
7318
+ lastName?: string | null;
7319
+ picture?: string | null;
7320
+ } | null;
7321
+ lastContactedVia?: {
7322
+ __typename?: 'LastContactedViaType';
7323
+ actionType?: string | null;
7324
+ actionId?: string | null;
7325
+ campaignName?: string | null;
7326
+ campaignId?: string | null;
7327
+ callCampaignId?: string | null;
7328
+ noteType?: string | null;
7329
+ noteId?: string | null;
7330
+ } | null;
7139
7331
  contactLog?: Array<{
7140
7332
  __typename?: 'ContactLogObject';
7141
7333
  id?: string | null;
@@ -7878,6 +8070,20 @@ export type CallCampaignLogsQuery = {
7878
8070
  hasNextPage?: boolean | null;
7879
8071
  hasPreviousPage?: boolean | null;
7880
8072
  } | null;
8073
+ stats?: {
8074
+ __typename?: 'CallCampaignLogStatsType';
8075
+ totalContacts?: number | null;
8076
+ contactedPast2Weeks?: number | null;
8077
+ contactedPast2WeeksDetails?: Array<{
8078
+ __typename?: 'RecentlyContactedContactType';
8079
+ contactId?: string | null;
8080
+ contactName?: string | null;
8081
+ companyName?: string | null;
8082
+ lastContactedAt?: any | null;
8083
+ daysSinceContact?: number | null;
8084
+ contactMethod?: string | null;
8085
+ } | null> | null;
8086
+ } | null;
7881
8087
  } | null;
7882
8088
  };
7883
8089
  export type CallCampaignReportQueryVariables = Exact<{
@@ -8284,6 +8490,27 @@ export type CampaignContactsQuery = {
8284
8490
  phone?: string | null;
8285
8491
  contactId?: string | null;
8286
8492
  customContactId?: string | null;
8493
+ isCustomer?: boolean | null;
8494
+ isProspect?: boolean | null;
8495
+ lastContactedAt?: any | null;
8496
+ lastContactedBy?: {
8497
+ __typename?: 'UserType';
8498
+ id?: string | null;
8499
+ email?: string | null;
8500
+ firstName?: string | null;
8501
+ lastName?: string | null;
8502
+ picture?: string | null;
8503
+ } | null;
8504
+ lastContactedVia?: {
8505
+ __typename?: 'LastContactedViaType';
8506
+ actionType?: string | null;
8507
+ actionId?: string | null;
8508
+ campaignName?: string | null;
8509
+ campaignId?: string | null;
8510
+ callCampaignId?: string | null;
8511
+ noteType?: string | null;
8512
+ noteId?: string | null;
8513
+ } | null;
8287
8514
  } | null> | null;
8288
8515
  pagination?: {
8289
8516
  __typename?: 'PaginationInfo';
@@ -8330,6 +8557,24 @@ export type CampaignLogsQuery = {
8330
8557
  companyName?: string | null;
8331
8558
  companyId?: string | null;
8332
8559
  isProspect?: boolean | null;
8560
+ lastContactedBy?: {
8561
+ __typename?: 'UserType';
8562
+ id?: string | null;
8563
+ email?: string | null;
8564
+ firstName?: string | null;
8565
+ lastName?: string | null;
8566
+ picture?: string | null;
8567
+ } | null;
8568
+ lastContactedVia?: {
8569
+ __typename?: 'LastContactedViaType';
8570
+ actionType?: string | null;
8571
+ actionId?: string | null;
8572
+ campaignName?: string | null;
8573
+ campaignId?: string | null;
8574
+ callCampaignId?: string | null;
8575
+ noteType?: string | null;
8576
+ noteId?: string | null;
8577
+ } | null;
8333
8578
  contactLog?: Array<{
8334
8579
  __typename?: 'ContactLogObject';
8335
8580
  id?: string | null;
@@ -8480,6 +8725,24 @@ export type CampaignLogsQuery = {
8480
8725
  companyName?: string | null;
8481
8726
  companyId?: string | null;
8482
8727
  isProspect?: boolean | null;
8728
+ lastContactedBy?: {
8729
+ __typename?: 'UserType';
8730
+ id?: string | null;
8731
+ email?: string | null;
8732
+ firstName?: string | null;
8733
+ lastName?: string | null;
8734
+ picture?: string | null;
8735
+ } | null;
8736
+ lastContactedVia?: {
8737
+ __typename?: 'LastContactedViaType';
8738
+ actionType?: string | null;
8739
+ actionId?: string | null;
8740
+ campaignName?: string | null;
8741
+ campaignId?: string | null;
8742
+ callCampaignId?: string | null;
8743
+ noteType?: string | null;
8744
+ noteId?: string | null;
8745
+ } | null;
8483
8746
  contactLog?: Array<{
8484
8747
  __typename?: 'ContactLogObject';
8485
8748
  id?: string | null;
@@ -8514,6 +8777,20 @@ export type CampaignLogsQuery = {
8514
8777
  hasNextPage?: boolean | null;
8515
8778
  hasPreviousPage?: boolean | null;
8516
8779
  } | null;
8780
+ stats?: {
8781
+ __typename?: 'CampaignLogStatsType';
8782
+ totalContacts?: number | null;
8783
+ contactedPast2Weeks?: number | null;
8784
+ contactedPast2WeeksDetails?: Array<{
8785
+ __typename?: 'RecentlyContactedContactType';
8786
+ contactId?: string | null;
8787
+ contactName?: string | null;
8788
+ companyName?: string | null;
8789
+ lastContactedAt?: any | null;
8790
+ daysSinceContact?: number | null;
8791
+ contactMethod?: string | null;
8792
+ } | null> | null;
8793
+ } | null;
8517
8794
  } | null;
8518
8795
  };
8519
8796
  export type CampaignStatsQueryVariables = Exact<{
@@ -8662,6 +8939,7 @@ export type CompaniesQuery = {
8662
8939
  ownedByUser?: boolean | null;
8663
8940
  isProspect?: boolean | null;
8664
8941
  purchaseMetalConfidence?: number | null;
8942
+ lastContactedAt?: any | null;
8665
8943
  tags?: Array<{
8666
8944
  __typename?: 'TagObject';
8667
8945
  id?: string | null;
@@ -8669,6 +8947,18 @@ export type CompaniesQuery = {
8669
8947
  name?: string | null;
8670
8948
  description?: string | null;
8671
8949
  } | null> | null;
8950
+ owners?: Array<{
8951
+ __typename?: 'CompanyOwnersObject';
8952
+ id?: string | null;
8953
+ user?: {
8954
+ __typename?: 'UserType';
8955
+ id?: string | null;
8956
+ email?: string | null;
8957
+ firstName?: string | null;
8958
+ lastName?: string | null;
8959
+ picture?: string | null;
8960
+ } | null;
8961
+ } | null> | null;
8672
8962
  locations?: Array<{
8673
8963
  __typename?: 'CompanyLocationType';
8674
8964
  id?: string | null;
@@ -8730,6 +9020,24 @@ export type CompaniesQuery = {
8730
9020
  companyName?: string | null;
8731
9021
  companyId?: string | null;
8732
9022
  isProspect?: boolean | null;
9023
+ lastContactedBy?: {
9024
+ __typename?: 'UserType';
9025
+ id?: string | null;
9026
+ email?: string | null;
9027
+ firstName?: string | null;
9028
+ lastName?: string | null;
9029
+ picture?: string | null;
9030
+ } | null;
9031
+ lastContactedVia?: {
9032
+ __typename?: 'LastContactedViaType';
9033
+ actionType?: string | null;
9034
+ actionId?: string | null;
9035
+ campaignName?: string | null;
9036
+ campaignId?: string | null;
9037
+ callCampaignId?: string | null;
9038
+ noteType?: string | null;
9039
+ noteId?: string | null;
9040
+ } | null;
8733
9041
  contactLog?: Array<{
8734
9042
  __typename?: 'ContactLogObject';
8735
9043
  id?: string | null;
@@ -9239,6 +9547,7 @@ export type CompanyQuery = {
9239
9547
  ownedByUser?: boolean | null;
9240
9548
  isProspect?: boolean | null;
9241
9549
  purchaseMetalConfidence?: number | null;
9550
+ lastContactedAt?: any | null;
9242
9551
  tags?: Array<{
9243
9552
  __typename?: 'TagObject';
9244
9553
  id?: string | null;
@@ -9246,6 +9555,18 @@ export type CompanyQuery = {
9246
9555
  name?: string | null;
9247
9556
  description?: string | null;
9248
9557
  } | null> | null;
9558
+ owners?: Array<{
9559
+ __typename?: 'CompanyOwnersObject';
9560
+ id?: string | null;
9561
+ user?: {
9562
+ __typename?: 'UserType';
9563
+ id?: string | null;
9564
+ email?: string | null;
9565
+ firstName?: string | null;
9566
+ lastName?: string | null;
9567
+ picture?: string | null;
9568
+ } | null;
9569
+ } | null> | null;
9249
9570
  locations?: Array<{
9250
9571
  __typename?: 'CompanyLocationType';
9251
9572
  id?: string | null;
@@ -9307,6 +9628,24 @@ export type CompanyQuery = {
9307
9628
  companyName?: string | null;
9308
9629
  companyId?: string | null;
9309
9630
  isProspect?: boolean | null;
9631
+ lastContactedBy?: {
9632
+ __typename?: 'UserType';
9633
+ id?: string | null;
9634
+ email?: string | null;
9635
+ firstName?: string | null;
9636
+ lastName?: string | null;
9637
+ picture?: string | null;
9638
+ } | null;
9639
+ lastContactedVia?: {
9640
+ __typename?: 'LastContactedViaType';
9641
+ actionType?: string | null;
9642
+ actionId?: string | null;
9643
+ campaignName?: string | null;
9644
+ campaignId?: string | null;
9645
+ callCampaignId?: string | null;
9646
+ noteType?: string | null;
9647
+ noteId?: string | null;
9648
+ } | null;
9310
9649
  contactLog?: Array<{
9311
9650
  __typename?: 'ContactLogObject';
9312
9651
  id?: string | null;
@@ -10553,6 +10892,24 @@ export type ContactQuery = {
10553
10892
  companyName?: string | null;
10554
10893
  companyId?: string | null;
10555
10894
  isProspect?: boolean | null;
10895
+ lastContactedBy?: {
10896
+ __typename?: 'UserType';
10897
+ id?: string | null;
10898
+ email?: string | null;
10899
+ firstName?: string | null;
10900
+ lastName?: string | null;
10901
+ picture?: string | null;
10902
+ } | null;
10903
+ lastContactedVia?: {
10904
+ __typename?: 'LastContactedViaType';
10905
+ actionType?: string | null;
10906
+ actionId?: string | null;
10907
+ campaignName?: string | null;
10908
+ campaignId?: string | null;
10909
+ callCampaignId?: string | null;
10910
+ noteType?: string | null;
10911
+ noteId?: string | null;
10912
+ } | null;
10556
10913
  contactLog?: Array<{
10557
10914
  __typename?: 'ContactLogObject';
10558
10915
  id?: string | null;
@@ -10605,6 +10962,24 @@ export type ContactsQuery = {
10605
10962
  companyName?: string | null;
10606
10963
  companyId?: string | null;
10607
10964
  isProspect?: boolean | null;
10965
+ lastContactedBy?: {
10966
+ __typename?: 'UserType';
10967
+ id?: string | null;
10968
+ email?: string | null;
10969
+ firstName?: string | null;
10970
+ lastName?: string | null;
10971
+ picture?: string | null;
10972
+ } | null;
10973
+ lastContactedVia?: {
10974
+ __typename?: 'LastContactedViaType';
10975
+ actionType?: string | null;
10976
+ actionId?: string | null;
10977
+ campaignName?: string | null;
10978
+ campaignId?: string | null;
10979
+ callCampaignId?: string | null;
10980
+ noteType?: string | null;
10981
+ noteId?: string | null;
10982
+ } | null;
10608
10983
  contactLog?: Array<{
10609
10984
  __typename?: 'ContactLogObject';
10610
10985
  id?: string | null;
@@ -10660,6 +11035,24 @@ export type ContactsInSegmentQuery = {
10660
11035
  companyName?: string | null;
10661
11036
  companyId?: string | null;
10662
11037
  isProspect?: boolean | null;
11038
+ lastContactedBy?: {
11039
+ __typename?: 'UserType';
11040
+ id?: string | null;
11041
+ email?: string | null;
11042
+ firstName?: string | null;
11043
+ lastName?: string | null;
11044
+ picture?: string | null;
11045
+ } | null;
11046
+ lastContactedVia?: {
11047
+ __typename?: 'LastContactedViaType';
11048
+ actionType?: string | null;
11049
+ actionId?: string | null;
11050
+ campaignName?: string | null;
11051
+ campaignId?: string | null;
11052
+ callCampaignId?: string | null;
11053
+ noteType?: string | null;
11054
+ noteId?: string | null;
11055
+ } | null;
10663
11056
  contactLog?: Array<{
10664
11057
  __typename?: 'ContactLogObject';
10665
11058
  id?: string | null;
@@ -11038,6 +11431,24 @@ export type RecentHistoryQuery = {
11038
11431
  companyName?: string | null;
11039
11432
  companyId?: string | null;
11040
11433
  isProspect?: boolean | null;
11434
+ lastContactedBy?: {
11435
+ __typename?: 'UserType';
11436
+ id?: string | null;
11437
+ email?: string | null;
11438
+ firstName?: string | null;
11439
+ lastName?: string | null;
11440
+ picture?: string | null;
11441
+ } | null;
11442
+ lastContactedVia?: {
11443
+ __typename?: 'LastContactedViaType';
11444
+ actionType?: string | null;
11445
+ actionId?: string | null;
11446
+ campaignName?: string | null;
11447
+ campaignId?: string | null;
11448
+ callCampaignId?: string | null;
11449
+ noteType?: string | null;
11450
+ noteId?: string | null;
11451
+ } | null;
11041
11452
  contactLog?: Array<{
11042
11453
  __typename?: 'ContactLogObject';
11043
11454
  id?: string | null;
@@ -11090,6 +11501,7 @@ export type RecentHistoryQuery = {
11090
11501
  ownedByUser?: boolean | null;
11091
11502
  isProspect?: boolean | null;
11092
11503
  purchaseMetalConfidence?: number | null;
11504
+ lastContactedAt?: any | null;
11093
11505
  tags?: Array<{
11094
11506
  __typename?: 'TagObject';
11095
11507
  id?: string | null;
@@ -11097,6 +11509,18 @@ export type RecentHistoryQuery = {
11097
11509
  name?: string | null;
11098
11510
  description?: string | null;
11099
11511
  } | null> | null;
11512
+ owners?: Array<{
11513
+ __typename?: 'CompanyOwnersObject';
11514
+ id?: string | null;
11515
+ user?: {
11516
+ __typename?: 'UserType';
11517
+ id?: string | null;
11518
+ email?: string | null;
11519
+ firstName?: string | null;
11520
+ lastName?: string | null;
11521
+ picture?: string | null;
11522
+ } | null;
11523
+ } | null> | null;
11100
11524
  locations?: Array<{
11101
11525
  __typename?: 'CompanyLocationType';
11102
11526
  id?: string | null;
@@ -11158,6 +11582,24 @@ export type RecentHistoryQuery = {
11158
11582
  companyName?: string | null;
11159
11583
  companyId?: string | null;
11160
11584
  isProspect?: boolean | null;
11585
+ lastContactedBy?: {
11586
+ __typename?: 'UserType';
11587
+ id?: string | null;
11588
+ email?: string | null;
11589
+ firstName?: string | null;
11590
+ lastName?: string | null;
11591
+ picture?: string | null;
11592
+ } | null;
11593
+ lastContactedVia?: {
11594
+ __typename?: 'LastContactedViaType';
11595
+ actionType?: string | null;
11596
+ actionId?: string | null;
11597
+ campaignName?: string | null;
11598
+ campaignId?: string | null;
11599
+ callCampaignId?: string | null;
11600
+ noteType?: string | null;
11601
+ noteId?: string | null;
11602
+ } | null;
11161
11603
  contactLog?: Array<{
11162
11604
  __typename?: 'ContactLogObject';
11163
11605
  id?: string | null;
@@ -11651,6 +12093,24 @@ export type SearchContactsQuery = {
11651
12093
  companyName?: string | null;
11652
12094
  companyId?: string | null;
11653
12095
  isProspect?: boolean | null;
12096
+ lastContactedBy?: {
12097
+ __typename?: 'UserType';
12098
+ id?: string | null;
12099
+ email?: string | null;
12100
+ firstName?: string | null;
12101
+ lastName?: string | null;
12102
+ picture?: string | null;
12103
+ } | null;
12104
+ lastContactedVia?: {
12105
+ __typename?: 'LastContactedViaType';
12106
+ actionType?: string | null;
12107
+ actionId?: string | null;
12108
+ campaignName?: string | null;
12109
+ campaignId?: string | null;
12110
+ callCampaignId?: string | null;
12111
+ noteType?: string | null;
12112
+ noteId?: string | null;
12113
+ } | null;
11654
12114
  contactLog?: Array<{
11655
12115
  __typename?: 'ContactLogObject';
11656
12116
  id?: string | null;