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.
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
@@ -159,6 +175,22 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
159
175
  isCustomer
160
176
  notes
161
177
  lastContactedAt
178
+ lastContactedBy {
179
+ id
180
+ email
181
+ firstName
182
+ lastName
183
+ picture
184
+ }
185
+ lastContactedVia {
186
+ actionType
187
+ actionId
188
+ campaignName
189
+ campaignId
190
+ callCampaignId
191
+ noteType
192
+ noteId
193
+ }
162
194
  ownedByUser
163
195
  contactLog {
164
196
  id
@@ -561,6 +593,7 @@ query RecentHistory($filter: RecentHistoryFilterInput, $sort: RecentHistorySortI
561
593
  ownedByUser
562
594
  isProspect
563
595
  purchaseMetalConfidence
596
+ lastContactedAt
564
597
  }
565
598
  contactName
566
599
  contactTitle
@@ -1466,6 +1499,18 @@ query CallCampaignLogs($callCampaignId: ID!, $pagination: PaginationInput!, $sea
1466
1499
  hasNextPage
1467
1500
  hasPreviousPage
1468
1501
  }
1502
+ stats {
1503
+ totalContacts
1504
+ contactedPast2Weeks
1505
+ contactedPast2WeeksDetails {
1506
+ contactId
1507
+ contactName
1508
+ companyName
1509
+ lastContactedAt
1510
+ daysSinceContact
1511
+ contactMethod
1512
+ }
1513
+ }
1469
1514
  }
1470
1515
  }`;
1471
1516
  exports.CALL_CAMPAIGN_LOG = (0, client_1.gql) `
@@ -2150,6 +2195,7 @@ query EmailTemplate($uuid: UUID!) {
2150
2195
  description
2151
2196
  subject
2152
2197
  template
2198
+ templateData
2153
2199
  campaignType
2154
2200
  isDefault
2155
2201
  }
@@ -2164,6 +2210,7 @@ query EmailTemplates($campaignType: String, $campaignTypes: [String]) {
2164
2210
  description
2165
2211
  subject
2166
2212
  template
2213
+ templateData
2167
2214
  campaignType
2168
2215
  isDefault
2169
2216
  }
@@ -2370,6 +2417,22 @@ query CampaignLogs($campaignId: ID!, $pagination: PaginationInput!, $search: Str
2370
2417
  isCustomer
2371
2418
  notes
2372
2419
  lastContactedAt
2420
+ lastContactedBy {
2421
+ id
2422
+ email
2423
+ firstName
2424
+ lastName
2425
+ picture
2426
+ }
2427
+ lastContactedVia {
2428
+ actionType
2429
+ actionId
2430
+ campaignName
2431
+ campaignId
2432
+ callCampaignId
2433
+ noteType
2434
+ noteId
2435
+ }
2373
2436
  ownedByUser
2374
2437
  contactLog {
2375
2438
  id
@@ -2494,6 +2557,22 @@ query CampaignLogs($campaignId: ID!, $pagination: PaginationInput!, $search: Str
2494
2557
  isCustomer
2495
2558
  notes
2496
2559
  lastContactedAt
2560
+ lastContactedBy {
2561
+ id
2562
+ email
2563
+ firstName
2564
+ lastName
2565
+ picture
2566
+ }
2567
+ lastContactedVia {
2568
+ actionType
2569
+ actionId
2570
+ campaignName
2571
+ campaignId
2572
+ callCampaignId
2573
+ noteType
2574
+ noteId
2575
+ }
2497
2576
  ownedByUser
2498
2577
  contactLog {
2499
2578
  id
@@ -2544,6 +2623,18 @@ query CampaignLogs($campaignId: ID!, $pagination: PaginationInput!, $search: Str
2544
2623
  hasNextPage
2545
2624
  hasPreviousPage
2546
2625
  }
2626
+ stats {
2627
+ totalContacts
2628
+ contactedPast2Weeks
2629
+ contactedPast2WeeksDetails {
2630
+ contactId
2631
+ contactName
2632
+ companyName
2633
+ lastContactedAt
2634
+ daysSinceContact
2635
+ contactMethod
2636
+ }
2637
+ }
2547
2638
  }
2548
2639
  }`;
2549
2640
  exports.CAMPAIGN_CONTACTS = (0, client_1.gql) `
@@ -2564,6 +2655,23 @@ query CampaignContacts($campaignUuid: ID!, $page: Int, $pageSize: Int) {
2564
2655
  customContactId
2565
2656
  isCustomer
2566
2657
  isProspect
2658
+ lastContactedAt
2659
+ lastContactedBy {
2660
+ id
2661
+ email
2662
+ firstName
2663
+ lastName
2664
+ picture
2665
+ }
2666
+ lastContactedVia {
2667
+ actionType
2668
+ actionId
2669
+ campaignName
2670
+ campaignId
2671
+ callCampaignId
2672
+ noteType
2673
+ noteId
2674
+ }
2567
2675
  }
2568
2676
  pagination {
2569
2677
  currentPage
@@ -2640,6 +2748,22 @@ query ContactsInSegment($segmentId: ID!, $pagination: PaginationInput) {
2640
2748
  isCustomer
2641
2749
  notes
2642
2750
  lastContactedAt
2751
+ lastContactedBy {
2752
+ id
2753
+ email
2754
+ firstName
2755
+ lastName
2756
+ picture
2757
+ }
2758
+ lastContactedVia {
2759
+ actionType
2760
+ actionId
2761
+ campaignName
2762
+ campaignId
2763
+ callCampaignId
2764
+ noteType
2765
+ noteId
2766
+ }
2643
2767
  ownedByUser
2644
2768
  contactLog {
2645
2769
  id
@@ -2758,6 +2882,22 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
2758
2882
  isCustomer
2759
2883
  notes
2760
2884
  lastContactedAt
2885
+ lastContactedBy {
2886
+ id
2887
+ email
2888
+ firstName
2889
+ lastName
2890
+ picture
2891
+ }
2892
+ lastContactedVia {
2893
+ actionType
2894
+ actionId
2895
+ campaignName
2896
+ campaignId
2897
+ callCampaignId
2898
+ noteType
2899
+ noteId
2900
+ }
2761
2901
  ownedByUser
2762
2902
  contactLog {
2763
2903
  id
@@ -3192,6 +3332,7 @@ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sor
3192
3332
  ownedByUser
3193
3333
  isProspect
3194
3334
  purchaseMetalConfidence
3335
+ lastContactedAt
3195
3336
  }
3196
3337
  pagination {
3197
3338
  currentPage
@@ -3223,6 +3364,22 @@ query Contacts {
3223
3364
  isCustomer
3224
3365
  notes
3225
3366
  lastContactedAt
3367
+ lastContactedBy {
3368
+ id
3369
+ email
3370
+ firstName
3371
+ lastName
3372
+ picture
3373
+ }
3374
+ lastContactedVia {
3375
+ actionType
3376
+ actionId
3377
+ campaignName
3378
+ campaignId
3379
+ callCampaignId
3380
+ noteType
3381
+ noteId
3382
+ }
3226
3383
  ownedByUser
3227
3384
  contactLog {
3228
3385
  id
@@ -3269,6 +3426,22 @@ query SearchContacts($filters: ContactFilterInput, $pagination: PaginationInput,
3269
3426
  isCustomer
3270
3427
  notes
3271
3428
  lastContactedAt
3429
+ lastContactedBy {
3430
+ id
3431
+ email
3432
+ firstName
3433
+ lastName
3434
+ picture
3435
+ }
3436
+ lastContactedVia {
3437
+ actionType
3438
+ actionId
3439
+ campaignName
3440
+ campaignId
3441
+ callCampaignId
3442
+ noteType
3443
+ noteId
3444
+ }
3272
3445
  ownedByUser
3273
3446
  contactLog {
3274
3447
  id
@@ -3386,6 +3559,22 @@ query Company($id: String) {
3386
3559
  isCustomer
3387
3560
  notes
3388
3561
  lastContactedAt
3562
+ lastContactedBy {
3563
+ id
3564
+ email
3565
+ firstName
3566
+ lastName
3567
+ picture
3568
+ }
3569
+ lastContactedVia {
3570
+ actionType
3571
+ actionId
3572
+ campaignName
3573
+ campaignId
3574
+ callCampaignId
3575
+ noteType
3576
+ noteId
3577
+ }
3389
3578
  ownedByUser
3390
3579
  contactLog {
3391
3580
  id
@@ -3922,6 +4111,7 @@ query Company($id: String) {
3922
4111
  ownedByUser
3923
4112
  isProspect
3924
4113
  purchaseMetalConfidence
4114
+ lastContactedAt
3925
4115
  }
3926
4116
  }`;
3927
4117
  exports.CONTACT = (0, client_1.gql) `
@@ -3944,6 +4134,22 @@ query Contact($id: String) {
3944
4134
  isCustomer
3945
4135
  notes
3946
4136
  lastContactedAt
4137
+ lastContactedBy {
4138
+ id
4139
+ email
4140
+ firstName
4141
+ lastName
4142
+ picture
4143
+ }
4144
+ lastContactedVia {
4145
+ actionType
4146
+ actionId
4147
+ campaignName
4148
+ campaignId
4149
+ callCampaignId
4150
+ noteType
4151
+ noteId
4152
+ }
3947
4153
  ownedByUser
3948
4154
  contactLog {
3949
4155
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk-dharani",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",