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.
package/dist/queries.js CHANGED
@@ -54,6 +54,22 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
54
54
  isCustomer
55
55
  notes
56
56
  lastContactedAt
57
+ lastContactedBy {
58
+ id
59
+ email
60
+ firstName
61
+ lastName
62
+ picture
63
+ }
64
+ lastContactedVia {
65
+ actionType
66
+ actionId
67
+ campaignName
68
+ campaignId
69
+ callCampaignId
70
+ noteType
71
+ noteId
72
+ }
57
73
  ownedByUser
58
74
  contactLog {
59
75
  id
@@ -107,6 +123,16 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
107
123
  name
108
124
  description
109
125
  }
126
+ owners {
127
+ id
128
+ user {
129
+ id
130
+ email
131
+ firstName
132
+ lastName
133
+ picture
134
+ }
135
+ }
110
136
  locations {
111
137
  id
112
138
  address1
@@ -159,6 +185,22 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
159
185
  isCustomer
160
186
  notes
161
187
  lastContactedAt
188
+ lastContactedBy {
189
+ id
190
+ email
191
+ firstName
192
+ lastName
193
+ picture
194
+ }
195
+ lastContactedVia {
196
+ actionType
197
+ actionId
198
+ campaignName
199
+ campaignId
200
+ callCampaignId
201
+ noteType
202
+ noteId
203
+ }
162
204
  ownedByUser
163
205
  contactLog {
164
206
  id
@@ -561,6 +603,7 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
561
603
  ownedByUser
562
604
  isProspect
563
605
  purchaseMetalConfidence
606
+ lastContactedAt
564
607
  }
565
608
  contactName
566
609
  contactTitle
@@ -1466,6 +1509,18 @@ query CallCampaignLogs($callCampaignId: ID!, $pagination: PaginationInput!, $sea
1466
1509
  hasNextPage
1467
1510
  hasPreviousPage
1468
1511
  }
1512
+ stats {
1513
+ totalContacts
1514
+ contactedPast2Weeks
1515
+ contactedPast2WeeksDetails {
1516
+ contactId
1517
+ contactName
1518
+ companyName
1519
+ lastContactedAt
1520
+ daysSinceContact
1521
+ contactMethod
1522
+ }
1523
+ }
1469
1524
  }
1470
1525
  }`;
1471
1526
  exports.CALL_CAMPAIGN_LOG = (0, client_1.gql) `
@@ -2372,6 +2427,22 @@ query CampaignLogs($campaignId: ID!, $pagination: PaginationInput!, $search: Str
2372
2427
  isCustomer
2373
2428
  notes
2374
2429
  lastContactedAt
2430
+ lastContactedBy {
2431
+ id
2432
+ email
2433
+ firstName
2434
+ lastName
2435
+ picture
2436
+ }
2437
+ lastContactedVia {
2438
+ actionType
2439
+ actionId
2440
+ campaignName
2441
+ campaignId
2442
+ callCampaignId
2443
+ noteType
2444
+ noteId
2445
+ }
2375
2446
  ownedByUser
2376
2447
  contactLog {
2377
2448
  id
@@ -2496,6 +2567,22 @@ query CampaignLogs($campaignId: ID!, $pagination: PaginationInput!, $search: Str
2496
2567
  isCustomer
2497
2568
  notes
2498
2569
  lastContactedAt
2570
+ lastContactedBy {
2571
+ id
2572
+ email
2573
+ firstName
2574
+ lastName
2575
+ picture
2576
+ }
2577
+ lastContactedVia {
2578
+ actionType
2579
+ actionId
2580
+ campaignName
2581
+ campaignId
2582
+ callCampaignId
2583
+ noteType
2584
+ noteId
2585
+ }
2499
2586
  ownedByUser
2500
2587
  contactLog {
2501
2588
  id
@@ -2546,6 +2633,18 @@ query CampaignLogs($campaignId: ID!, $pagination: PaginationInput!, $search: Str
2546
2633
  hasNextPage
2547
2634
  hasPreviousPage
2548
2635
  }
2636
+ stats {
2637
+ totalContacts
2638
+ contactedPast2Weeks
2639
+ contactedPast2WeeksDetails {
2640
+ contactId
2641
+ contactName
2642
+ companyName
2643
+ lastContactedAt
2644
+ daysSinceContact
2645
+ contactMethod
2646
+ }
2647
+ }
2549
2648
  }
2550
2649
  }`;
2551
2650
  exports.CAMPAIGN_CONTACTS = (0, client_1.gql) `
@@ -2564,6 +2663,25 @@ query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
2564
2663
  phone
2565
2664
  contactId
2566
2665
  customContactId
2666
+ isCustomer
2667
+ isProspect
2668
+ lastContactedAt
2669
+ lastContactedBy {
2670
+ id
2671
+ email
2672
+ firstName
2673
+ lastName
2674
+ picture
2675
+ }
2676
+ lastContactedVia {
2677
+ actionType
2678
+ actionId
2679
+ campaignName
2680
+ campaignId
2681
+ callCampaignId
2682
+ noteType
2683
+ noteId
2684
+ }
2567
2685
  }
2568
2686
  pagination {
2569
2687
  currentPage
@@ -2640,6 +2758,22 @@ query ContactsInSegment($segmentId: ID!, $pagination: PaginationInput) {
2640
2758
  isCustomer
2641
2759
  notes
2642
2760
  lastContactedAt
2761
+ lastContactedBy {
2762
+ id
2763
+ email
2764
+ firstName
2765
+ lastName
2766
+ picture
2767
+ }
2768
+ lastContactedVia {
2769
+ actionType
2770
+ actionId
2771
+ campaignName
2772
+ campaignId
2773
+ callCampaignId
2774
+ noteType
2775
+ noteId
2776
+ }
2643
2777
  ownedByUser
2644
2778
  contactLog {
2645
2779
  id
@@ -2706,6 +2840,16 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
2706
2840
  name
2707
2841
  description
2708
2842
  }
2843
+ owners {
2844
+ id
2845
+ user {
2846
+ id
2847
+ email
2848
+ firstName
2849
+ lastName
2850
+ picture
2851
+ }
2852
+ }
2709
2853
  locations {
2710
2854
  id
2711
2855
  address1
@@ -2758,6 +2902,22 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
2758
2902
  isCustomer
2759
2903
  notes
2760
2904
  lastContactedAt
2905
+ lastContactedBy {
2906
+ id
2907
+ email
2908
+ firstName
2909
+ lastName
2910
+ picture
2911
+ }
2912
+ lastContactedVia {
2913
+ actionType
2914
+ actionId
2915
+ campaignName
2916
+ campaignId
2917
+ callCampaignId
2918
+ noteType
2919
+ noteId
2920
+ }
2761
2921
  ownedByUser
2762
2922
  contactLog {
2763
2923
  id
@@ -3192,6 +3352,7 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3192
3352
  ownedByUser
3193
3353
  isProspect
3194
3354
  purchaseMetalConfidence
3355
+ lastContactedAt
3195
3356
  }
3196
3357
  pagination {
3197
3358
  currentPage
@@ -3223,6 +3384,22 @@ query Contacts {
3223
3384
  isCustomer
3224
3385
  notes
3225
3386
  lastContactedAt
3387
+ lastContactedBy {
3388
+ id
3389
+ email
3390
+ firstName
3391
+ lastName
3392
+ picture
3393
+ }
3394
+ lastContactedVia {
3395
+ actionType
3396
+ actionId
3397
+ campaignName
3398
+ campaignId
3399
+ callCampaignId
3400
+ noteType
3401
+ noteId
3402
+ }
3226
3403
  ownedByUser
3227
3404
  contactLog {
3228
3405
  id
@@ -3269,6 +3446,22 @@ query SearchContacts($filters: ContactFilterInput, $pagination: PaginationInput,
3269
3446
  isCustomer
3270
3447
  notes
3271
3448
  lastContactedAt
3449
+ lastContactedBy {
3450
+ id
3451
+ email
3452
+ firstName
3453
+ lastName
3454
+ picture
3455
+ }
3456
+ lastContactedVia {
3457
+ actionType
3458
+ actionId
3459
+ campaignName
3460
+ campaignId
3461
+ callCampaignId
3462
+ noteType
3463
+ noteId
3464
+ }
3272
3465
  ownedByUser
3273
3466
  contactLog {
3274
3467
  id
@@ -3334,6 +3527,16 @@ query Company($id: String) {
3334
3527
  name
3335
3528
  description
3336
3529
  }
3530
+ owners {
3531
+ id
3532
+ user {
3533
+ id
3534
+ email
3535
+ firstName
3536
+ lastName
3537
+ picture
3538
+ }
3539
+ }
3337
3540
  locations {
3338
3541
  id
3339
3542
  address1
@@ -3386,6 +3589,22 @@ query Company($id: String) {
3386
3589
  isCustomer
3387
3590
  notes
3388
3591
  lastContactedAt
3592
+ lastContactedBy {
3593
+ id
3594
+ email
3595
+ firstName
3596
+ lastName
3597
+ picture
3598
+ }
3599
+ lastContactedVia {
3600
+ actionType
3601
+ actionId
3602
+ campaignName
3603
+ campaignId
3604
+ callCampaignId
3605
+ noteType
3606
+ noteId
3607
+ }
3389
3608
  ownedByUser
3390
3609
  contactLog {
3391
3610
  id
@@ -3922,6 +4141,7 @@ query Company($id: String) {
3922
4141
  ownedByUser
3923
4142
  isProspect
3924
4143
  purchaseMetalConfidence
4144
+ lastContactedAt
3925
4145
  }
3926
4146
  }`;
3927
4147
  exports.CONTACT = (0, client_1.gql) `
@@ -3944,6 +4164,22 @@ query Contact($id: String) {
3944
4164
  isCustomer
3945
4165
  notes
3946
4166
  lastContactedAt
4167
+ lastContactedBy {
4168
+ id
4169
+ email
4170
+ firstName
4171
+ lastName
4172
+ picture
4173
+ }
4174
+ lastContactedVia {
4175
+ actionType
4176
+ actionId
4177
+ campaignName
4178
+ campaignId
4179
+ callCampaignId
4180
+ noteType
4181
+ noteId
4182
+ }
3947
4183
  ownedByUser
3948
4184
  contactLog {
3949
4185
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk-dharani",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",