cf-service-sdk-dharani 0.0.55 → 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.
- package/dist/generated/graphql.d.ts +395 -2
- package/dist/generated/graphql.js +288 -0
- package/dist/mutations.js +82 -0
- package/dist/queries.js +206 -0
- package/package.json +1 -1
|
@@ -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']>;
|
|
@@ -964,6 +994,8 @@ export type CompanyObject = {
|
|
|
964
994
|
isCustomer: Scalars['Boolean']['output'];
|
|
965
995
|
isProspect?: Maybe<Scalars['Boolean']['output']>;
|
|
966
996
|
keywords?: Maybe<Scalars['String']['output']>;
|
|
997
|
+
/** Most recent contact date across all contacts and company notes */
|
|
998
|
+
lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
967
999
|
linkedinUrl?: Maybe<Scalars['String']['output']>;
|
|
968
1000
|
location?: Maybe<Scalars['String']['output']>;
|
|
969
1001
|
/** List of all company locations */
|
|
@@ -1116,6 +1148,8 @@ export type ContactObject = {
|
|
|
1116
1148
|
isPrimary?: Maybe<Scalars['Boolean']['output']>;
|
|
1117
1149
|
isProspect?: Maybe<Scalars['Boolean']['output']>;
|
|
1118
1150
|
lastContactedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1151
|
+
lastContactedBy?: Maybe<UserType>;
|
|
1152
|
+
lastContactedVia?: Maybe<LastContactedViaType>;
|
|
1119
1153
|
lastName?: Maybe<Scalars['String']['output']>;
|
|
1120
1154
|
linkedinUrl?: Maybe<Scalars['String']['output']>;
|
|
1121
1155
|
notes?: Maybe<Scalars['String']['output']>;
|
|
@@ -1399,6 +1433,8 @@ export type EmailToneInput = {
|
|
|
1399
1433
|
emailContent: Scalars['String']['input'];
|
|
1400
1434
|
/** Number of variations to generate (default: 3) */
|
|
1401
1435
|
numVariations?: InputMaybe<Scalars['Int']['input']>;
|
|
1436
|
+
/** List of previous variations to avoid repetition */
|
|
1437
|
+
previousVariations?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1402
1438
|
/** Original email subject (optional) */
|
|
1403
1439
|
subject?: InputMaybe<Scalars['String']['input']>;
|
|
1404
1440
|
/** Tone instruction (e.g., 'Persuasive', 'Technical', 'Friendly') */
|
|
@@ -1485,6 +1521,24 @@ export type InviteUserInput = {
|
|
|
1485
1521
|
/** Email address of the user to invite */
|
|
1486
1522
|
email: Scalars['String']['input'];
|
|
1487
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
|
+
};
|
|
1488
1542
|
/** Custom token auth mutation that includes account member isAdmin flag */
|
|
1489
1543
|
export type Login = {
|
|
1490
1544
|
__typename?: 'Login';
|
|
@@ -2003,6 +2057,8 @@ export type PaginatedCallCampaignLogList = {
|
|
|
2003
2057
|
__typename?: 'PaginatedCallCampaignLogList';
|
|
2004
2058
|
items?: Maybe<Array<Maybe<CallCampaignLogObject>>>;
|
|
2005
2059
|
pagination?: Maybe<PaginationInfo>;
|
|
2060
|
+
/** Statistics about contacts contacted in past 2 weeks */
|
|
2061
|
+
stats?: Maybe<CallCampaignLogStatsType>;
|
|
2006
2062
|
};
|
|
2007
2063
|
/** Paginated list of campaign contacts with statistics */
|
|
2008
2064
|
export type PaginatedCampaignContactList = {
|
|
@@ -2011,6 +2067,8 @@ export type PaginatedCampaignContactList = {
|
|
|
2011
2067
|
items?: Maybe<Array<Maybe<CampaignContactType>>>;
|
|
2012
2068
|
/** Pagination information */
|
|
2013
2069
|
pagination?: Maybe<PaginationInfo>;
|
|
2070
|
+
/** Statistics about contacts contacted in past 2 weeks */
|
|
2071
|
+
stats?: Maybe<CampaignLogStatsType>;
|
|
2014
2072
|
};
|
|
2015
2073
|
/** Paginated list of campaigns */
|
|
2016
2074
|
export type PaginatedCampaignList = {
|
|
@@ -2430,6 +2488,17 @@ export type RecentHistorySortInput = {
|
|
|
2430
2488
|
direction?: InputMaybe<SortDirection>;
|
|
2431
2489
|
field?: InputMaybe<RecentHistorySortField>;
|
|
2432
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
|
+
};
|
|
2433
2502
|
/** RejectInvitation - Reject an invitation to join an account */
|
|
2434
2503
|
export type RejectInvitation = {
|
|
2435
2504
|
__typename?: 'RejectInvitation';
|
|
@@ -3558,6 +3627,7 @@ export type CreateCompanyMutation = {
|
|
|
3558
3627
|
ownedByUser?: boolean | null;
|
|
3559
3628
|
isProspect?: boolean | null;
|
|
3560
3629
|
purchaseMetalConfidence?: number | null;
|
|
3630
|
+
lastContactedAt?: any | null;
|
|
3561
3631
|
tags?: Array<{
|
|
3562
3632
|
__typename?: 'TagObject';
|
|
3563
3633
|
id?: string | null;
|
|
@@ -3626,6 +3696,24 @@ export type CreateCompanyMutation = {
|
|
|
3626
3696
|
companyName?: string | null;
|
|
3627
3697
|
companyId?: string | null;
|
|
3628
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;
|
|
3629
3717
|
contactLog?: Array<{
|
|
3630
3718
|
__typename?: 'ContactLogObject';
|
|
3631
3719
|
id?: string | null;
|
|
@@ -4557,6 +4645,24 @@ export type CreateContactMutation = {
|
|
|
4557
4645
|
companyName?: string | null;
|
|
4558
4646
|
companyId?: string | null;
|
|
4559
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;
|
|
4560
4666
|
contactLog?: Array<{
|
|
4561
4667
|
__typename?: 'ContactLogObject';
|
|
4562
4668
|
id?: string | 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;
|
|
@@ -7878,6 +8039,20 @@ export type CallCampaignLogsQuery = {
|
|
|
7878
8039
|
hasNextPage?: boolean | null;
|
|
7879
8040
|
hasPreviousPage?: boolean | null;
|
|
7880
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;
|
|
7881
8056
|
} | null;
|
|
7882
8057
|
};
|
|
7883
8058
|
export type CallCampaignReportQueryVariables = Exact<{
|
|
@@ -8284,6 +8459,27 @@ export type CampaignContactsQuery = {
|
|
|
8284
8459
|
phone?: string | null;
|
|
8285
8460
|
contactId?: string | null;
|
|
8286
8461
|
customContactId?: string | null;
|
|
8462
|
+
isCustomer?: boolean | null;
|
|
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;
|
|
8287
8483
|
} | null> | null;
|
|
8288
8484
|
pagination?: {
|
|
8289
8485
|
__typename?: 'PaginationInfo';
|
|
@@ -8330,6 +8526,24 @@ export type CampaignLogsQuery = {
|
|
|
8330
8526
|
companyName?: string | null;
|
|
8331
8527
|
companyId?: string | null;
|
|
8332
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;
|
|
8333
8547
|
contactLog?: Array<{
|
|
8334
8548
|
__typename?: 'ContactLogObject';
|
|
8335
8549
|
id?: string | null;
|
|
@@ -8480,6 +8694,24 @@ export type CampaignLogsQuery = {
|
|
|
8480
8694
|
companyName?: string | null;
|
|
8481
8695
|
companyId?: string | null;
|
|
8482
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;
|
|
8483
8715
|
contactLog?: Array<{
|
|
8484
8716
|
__typename?: 'ContactLogObject';
|
|
8485
8717
|
id?: string | null;
|
|
@@ -8514,6 +8746,20 @@ export type CampaignLogsQuery = {
|
|
|
8514
8746
|
hasNextPage?: boolean | null;
|
|
8515
8747
|
hasPreviousPage?: boolean | null;
|
|
8516
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;
|
|
8517
8763
|
} | null;
|
|
8518
8764
|
};
|
|
8519
8765
|
export type CampaignStatsQueryVariables = Exact<{
|
|
@@ -8662,6 +8908,7 @@ export type CompaniesQuery = {
|
|
|
8662
8908
|
ownedByUser?: boolean | null;
|
|
8663
8909
|
isProspect?: boolean | null;
|
|
8664
8910
|
purchaseMetalConfidence?: number | null;
|
|
8911
|
+
lastContactedAt?: any | null;
|
|
8665
8912
|
tags?: Array<{
|
|
8666
8913
|
__typename?: 'TagObject';
|
|
8667
8914
|
id?: string | null;
|
|
@@ -8730,6 +8977,24 @@ export type CompaniesQuery = {
|
|
|
8730
8977
|
companyName?: string | null;
|
|
8731
8978
|
companyId?: string | null;
|
|
8732
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;
|
|
8733
8998
|
contactLog?: Array<{
|
|
8734
8999
|
__typename?: 'ContactLogObject';
|
|
8735
9000
|
id?: string | null;
|
|
@@ -9239,6 +9504,7 @@ export type CompanyQuery = {
|
|
|
9239
9504
|
ownedByUser?: boolean | null;
|
|
9240
9505
|
isProspect?: boolean | null;
|
|
9241
9506
|
purchaseMetalConfidence?: number | null;
|
|
9507
|
+
lastContactedAt?: any | null;
|
|
9242
9508
|
tags?: Array<{
|
|
9243
9509
|
__typename?: 'TagObject';
|
|
9244
9510
|
id?: string | null;
|
|
@@ -9307,6 +9573,24 @@ export type CompanyQuery = {
|
|
|
9307
9573
|
companyName?: string | null;
|
|
9308
9574
|
companyId?: string | null;
|
|
9309
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;
|
|
9310
9594
|
contactLog?: Array<{
|
|
9311
9595
|
__typename?: 'ContactLogObject';
|
|
9312
9596
|
id?: string | null;
|
|
@@ -10553,6 +10837,24 @@ export type ContactQuery = {
|
|
|
10553
10837
|
companyName?: string | null;
|
|
10554
10838
|
companyId?: string | null;
|
|
10555
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;
|
|
10556
10858
|
contactLog?: Array<{
|
|
10557
10859
|
__typename?: 'ContactLogObject';
|
|
10558
10860
|
id?: string | null;
|
|
@@ -10605,6 +10907,24 @@ export type ContactsQuery = {
|
|
|
10605
10907
|
companyName?: string | null;
|
|
10606
10908
|
companyId?: string | null;
|
|
10607
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;
|
|
10608
10928
|
contactLog?: Array<{
|
|
10609
10929
|
__typename?: 'ContactLogObject';
|
|
10610
10930
|
id?: string | null;
|
|
@@ -10660,6 +10980,24 @@ export type ContactsInSegmentQuery = {
|
|
|
10660
10980
|
companyName?: string | null;
|
|
10661
10981
|
companyId?: string | null;
|
|
10662
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;
|
|
10663
11001
|
contactLog?: Array<{
|
|
10664
11002
|
__typename?: 'ContactLogObject';
|
|
10665
11003
|
id?: string | null;
|
|
@@ -11038,6 +11376,24 @@ export type RecentHistoryQuery = {
|
|
|
11038
11376
|
companyName?: string | null;
|
|
11039
11377
|
companyId?: string | null;
|
|
11040
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;
|
|
11041
11397
|
contactLog?: Array<{
|
|
11042
11398
|
__typename?: 'ContactLogObject';
|
|
11043
11399
|
id?: string | null;
|
|
@@ -11090,6 +11446,7 @@ export type RecentHistoryQuery = {
|
|
|
11090
11446
|
ownedByUser?: boolean | null;
|
|
11091
11447
|
isProspect?: boolean | null;
|
|
11092
11448
|
purchaseMetalConfidence?: number | null;
|
|
11449
|
+
lastContactedAt?: any | null;
|
|
11093
11450
|
tags?: Array<{
|
|
11094
11451
|
__typename?: 'TagObject';
|
|
11095
11452
|
id?: string | null;
|
|
@@ -11158,6 +11515,24 @@ export type RecentHistoryQuery = {
|
|
|
11158
11515
|
companyName?: string | null;
|
|
11159
11516
|
companyId?: string | null;
|
|
11160
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;
|
|
11161
11536
|
contactLog?: Array<{
|
|
11162
11537
|
__typename?: 'ContactLogObject';
|
|
11163
11538
|
id?: string | null;
|
|
@@ -11651,6 +12026,24 @@ export type SearchContactsQuery = {
|
|
|
11651
12026
|
companyName?: string | null;
|
|
11652
12027
|
companyId?: string | null;
|
|
11653
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;
|
|
11654
12047
|
contactLog?: Array<{
|
|
11655
12048
|
__typename?: 'ContactLogObject';
|
|
11656
12049
|
id?: string | null;
|