cf-service-sdk 0.0.1

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.
@@ -0,0 +1,3300 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.USER_PROFILE = exports.MY_INVITATIONS = exports.BUSINESS_PROFILE = exports.PENDING_INVITATIONS = exports.ACCOUNT_MEMBERS = exports.CURRENT_ACCOUNT = exports.EMPLOYEE_SIZES = exports.US_STATES = exports.METAL_GRADES = exports.METAL_TYPES = exports.PRODUCT_CATEGORIES = exports.PRODUCT_TYPES = exports.INDUSTRY_SECTORS = exports.INDUSTRY_TYPES = exports.CONTACT = exports.COMPANY = exports.SEARCH_CONTACTS = exports.CONTACTS = exports.COMPANIES = exports.CONTACTS_IN_SEGMENT = exports.SEGMENT = exports.SEGMENTS = exports.CAMPAIGN_LOGS = exports.CAMPAIGN_ANALYTICS = exports.CAMPAIGN_STATS = exports.CAMPAIGN = exports.CAMPAIGNS = exports.EMAIL_TEMPLATES = exports.EMAIL_TEMPLATE = exports.NYLAS_CONNECTION = exports.RECENT_NOTIFICATIONS = exports.NOTIFICATION = exports.NOTIFICATIONS = exports.UNREAD_NOTIFICATIONS_COUNT = exports.TASK = exports.TASKS = exports.CALL_CAMPAIGN_LOG = exports.CALL_CAMPAIGN_LOGS = exports.CALL_CAMPAIGN_ANALYTICS = exports.CALL_CAMPAIGN = exports.CALL_CAMPAIGNS = void 0;
4
+ const client_1 = require("@apollo/client");
5
+ exports.CALL_CAMPAIGNS = (0, client_1.gql) `
6
+ query CallCampaigns($pagination: PaginationInput!) {
7
+ callCampaigns(pagination: $pagination) {
8
+ items {
9
+ id
10
+ user {
11
+ id
12
+ email
13
+ firstName
14
+ lastName
15
+ picture
16
+ }
17
+ account {
18
+ id
19
+ name
20
+ isActive
21
+ createdAt
22
+ updatedAt
23
+ }
24
+ createdAt
25
+ updatedAt
26
+ name
27
+ description
28
+ segments {
29
+ id
30
+ name
31
+ description
32
+ state
33
+ industry
34
+ metalType
35
+ productCategory
36
+ segmentType
37
+ createdAt
38
+ updatedAt
39
+ isSystemTemplate
40
+ totalContacts
41
+ }
42
+ status
43
+ stats {
44
+ totalContacts
45
+ calledCount
46
+ connectedCount
47
+ remainingCount
48
+ lastActivity
49
+ }
50
+ contacts
51
+ called
52
+ connected
53
+ lastActivity
54
+ }
55
+ pagination {
56
+ currentPage
57
+ pageSize
58
+ totalPages
59
+ totalCount
60
+ hasNextPage
61
+ hasPreviousPage
62
+ }
63
+ }
64
+ }`;
65
+ exports.CALL_CAMPAIGN = (0, client_1.gql) `
66
+ query CallCampaign($id: ID!) {
67
+ callCampaign(id: $id) {
68
+ id
69
+ user {
70
+ id
71
+ email
72
+ firstName
73
+ lastName
74
+ picture
75
+ }
76
+ account {
77
+ id
78
+ name
79
+ isActive
80
+ createdAt
81
+ updatedAt
82
+ }
83
+ createdAt
84
+ updatedAt
85
+ name
86
+ description
87
+ segments {
88
+ id
89
+ name
90
+ description
91
+ state
92
+ industry
93
+ metalType
94
+ productCategory
95
+ segmentType
96
+ createdAt
97
+ updatedAt
98
+ isSystemTemplate
99
+ totalContacts
100
+ }
101
+ status
102
+ stats {
103
+ totalContacts
104
+ calledCount
105
+ connectedCount
106
+ remainingCount
107
+ lastActivity
108
+ }
109
+ contacts
110
+ called
111
+ connected
112
+ lastActivity
113
+ }
114
+ }`;
115
+ exports.CALL_CAMPAIGN_ANALYTICS = (0, client_1.gql) `
116
+ query CallCampaignAnalytics($campaignId: ID, $startDate: String, $endDate: String) {
117
+ callCampaignAnalytics(campaignId: $campaignId, startDate: $startDate, endDate: $endDate) {
118
+ summary {
119
+ totalCalls
120
+ completedCalls
121
+ pendingCalls
122
+ interestedCount
123
+ notInterestedCount
124
+ dealClosedCount
125
+ conversionRate
126
+ completionRate
127
+ }
128
+ leaderboard {
129
+ userId
130
+ userName
131
+ userEmail
132
+ totalCalls
133
+ completedCalls
134
+ interestedCount
135
+ dealClosedCount
136
+ conversionRate
137
+ }
138
+ }
139
+ }`;
140
+ exports.CALL_CAMPAIGN_LOGS = (0, client_1.gql) `
141
+ query CallCampaignLogs($callCampaignId: ID!, $pagination: PaginationInput!, $search: String, $status: String) {
142
+ callCampaignLogs(callCampaignId: $callCampaignId, pagination: $pagination, search: $search, status: $status) {
143
+ items {
144
+ id
145
+ campaign {
146
+ id
147
+ user {
148
+ id
149
+ email
150
+ firstName
151
+ lastName
152
+ picture
153
+ }
154
+ account {
155
+ id
156
+ name
157
+ isActive
158
+ createdAt
159
+ updatedAt
160
+ }
161
+ createdAt
162
+ updatedAt
163
+ name
164
+ description
165
+ segments {
166
+ id
167
+ name
168
+ description
169
+ state
170
+ industry
171
+ metalType
172
+ productCategory
173
+ segmentType
174
+ createdAt
175
+ updatedAt
176
+ isSystemTemplate
177
+ totalContacts
178
+ }
179
+ status
180
+ stats {
181
+ totalContacts
182
+ calledCount
183
+ connectedCount
184
+ remainingCount
185
+ lastActivity
186
+ }
187
+ contacts
188
+ called
189
+ connected
190
+ lastActivity
191
+ }
192
+ contact {
193
+ id
194
+ name
195
+ firstName
196
+ lastName
197
+ email
198
+ workEmail
199
+ workEmail2
200
+ personalEmail
201
+ personalEmail2
202
+ phone
203
+ phone2
204
+ phone3
205
+ title
206
+ linkedinUrl
207
+ isPrimary
208
+ isCustomer
209
+ notes
210
+ lastContactedAt
211
+ ownedByUser
212
+ contactLog {
213
+ id
214
+ sentAt
215
+ openedAt
216
+ clickedAt
217
+ bouncedAt
218
+ status
219
+ }
220
+ inSegments {
221
+ id
222
+ name
223
+ state
224
+ industry
225
+ }
226
+ companyName
227
+ stats {
228
+ totalOpened
229
+ totalReplied
230
+ totalBounced
231
+ }
232
+ }
233
+ user {
234
+ id
235
+ email
236
+ firstName
237
+ lastName
238
+ picture
239
+ }
240
+ account {
241
+ id
242
+ name
243
+ isActive
244
+ createdAt
245
+ updatedAt
246
+ }
247
+ status
248
+ outcome
249
+ notes
250
+ businessSize
251
+ businessRevenue
252
+ businessEmployees
253
+ businessLocation
254
+ businessIndustry
255
+ createdAt
256
+ updatedAt
257
+ }
258
+ pagination {
259
+ currentPage
260
+ pageSize
261
+ totalPages
262
+ totalCount
263
+ hasNextPage
264
+ hasPreviousPage
265
+ }
266
+ }
267
+ }`;
268
+ exports.CALL_CAMPAIGN_LOG = (0, client_1.gql) `
269
+ query CallCampaignLog($id: ID!) {
270
+ callCampaignLog(id: $id) {
271
+ id
272
+ campaign {
273
+ id
274
+ user {
275
+ id
276
+ email
277
+ firstName
278
+ lastName
279
+ picture
280
+ }
281
+ account {
282
+ id
283
+ name
284
+ isActive
285
+ createdAt
286
+ updatedAt
287
+ }
288
+ createdAt
289
+ updatedAt
290
+ name
291
+ description
292
+ segments {
293
+ id
294
+ name
295
+ description
296
+ state
297
+ industry
298
+ metalType
299
+ productCategory
300
+ segmentType
301
+ createdAt
302
+ updatedAt
303
+ isSystemTemplate
304
+ totalContacts
305
+ }
306
+ status
307
+ stats {
308
+ totalContacts
309
+ calledCount
310
+ connectedCount
311
+ remainingCount
312
+ lastActivity
313
+ }
314
+ contacts
315
+ called
316
+ connected
317
+ lastActivity
318
+ }
319
+ contact {
320
+ id
321
+ name
322
+ firstName
323
+ lastName
324
+ email
325
+ workEmail
326
+ workEmail2
327
+ personalEmail
328
+ personalEmail2
329
+ phone
330
+ phone2
331
+ phone3
332
+ title
333
+ linkedinUrl
334
+ isPrimary
335
+ isCustomer
336
+ notes
337
+ lastContactedAt
338
+ ownedByUser
339
+ contactLog {
340
+ id
341
+ sentAt
342
+ openedAt
343
+ clickedAt
344
+ bouncedAt
345
+ status
346
+ }
347
+ inSegments {
348
+ id
349
+ name
350
+ state
351
+ industry
352
+ }
353
+ companyName
354
+ stats {
355
+ totalOpened
356
+ totalReplied
357
+ totalBounced
358
+ }
359
+ }
360
+ user {
361
+ id
362
+ email
363
+ firstName
364
+ lastName
365
+ picture
366
+ }
367
+ account {
368
+ id
369
+ name
370
+ isActive
371
+ createdAt
372
+ updatedAt
373
+ }
374
+ status
375
+ outcome
376
+ notes
377
+ businessSize
378
+ businessRevenue
379
+ businessEmployees
380
+ businessLocation
381
+ businessIndustry
382
+ createdAt
383
+ updatedAt
384
+ }
385
+ }`;
386
+ exports.TASKS = (0, client_1.gql) `
387
+ query Tasks($filters: TaskFilterInput) {
388
+ tasks(filters: $filters) {
389
+ id
390
+ title
391
+ category
392
+ description
393
+ company {
394
+ id
395
+ createdAt
396
+ updatedAt
397
+ companyName
398
+ location
399
+ state
400
+ employeeSize
401
+ website
402
+ description
403
+ keywords
404
+ isCustomer
405
+ logoUrl
406
+ facebookUrl
407
+ twitterUrl
408
+ linkedinUrl
409
+ address1
410
+ address2
411
+ city
412
+ zipCode
413
+ phone
414
+ email
415
+ annualRevenue
416
+ locations {
417
+ id
418
+ address1
419
+ address2
420
+ city
421
+ state
422
+ zipCode
423
+ country
424
+ isPrimary
425
+ locationType
426
+ locationName
427
+ phone
428
+ email
429
+ createdAt
430
+ updatedAt
431
+ fullAddress
432
+ }
433
+ companyIndustries {
434
+ id
435
+ pk
436
+ industry {
437
+ industrySector {
438
+ id
439
+ name
440
+ description
441
+ orderBy
442
+ }
443
+ id
444
+ pk
445
+ name
446
+ description
447
+ }
448
+ matchScore
449
+ }
450
+ contacts {
451
+ id
452
+ name
453
+ firstName
454
+ lastName
455
+ email
456
+ workEmail
457
+ workEmail2
458
+ personalEmail
459
+ personalEmail2
460
+ phone
461
+ phone2
462
+ phone3
463
+ title
464
+ linkedinUrl
465
+ isPrimary
466
+ isCustomer
467
+ notes
468
+ lastContactedAt
469
+ ownedByUser
470
+ contactLog {
471
+ id
472
+ sentAt
473
+ openedAt
474
+ clickedAt
475
+ bouncedAt
476
+ status
477
+ }
478
+ inSegments {
479
+ id
480
+ name
481
+ state
482
+ industry
483
+ }
484
+ companyName
485
+ stats {
486
+ totalOpened
487
+ totalReplied
488
+ totalBounced
489
+ }
490
+ }
491
+ productMetalScores {
492
+ id
493
+ productType {
494
+ id
495
+ name
496
+ orderBy
497
+ productCategories {
498
+ id
499
+ name
500
+ orderBy
501
+ pk
502
+ }
503
+ pk
504
+ }
505
+ metalType {
506
+ id
507
+ name
508
+ orderBy
509
+ }
510
+ metalGrade {
511
+ id
512
+ name
513
+ metalType {
514
+ id
515
+ name
516
+ orderBy
517
+ }
518
+ }
519
+ score
520
+ productCategory {
521
+ id
522
+ pk
523
+ name
524
+ orderBy
525
+ }
526
+ matchedFilter
527
+ reasoning
528
+ }
529
+ pk
530
+ industry {
531
+ industrySector {
532
+ id
533
+ name
534
+ description
535
+ orderBy
536
+ }
537
+ id
538
+ pk
539
+ name
540
+ description
541
+ }
542
+ primaryLocation {
543
+ id
544
+ address1
545
+ address2
546
+ city
547
+ state
548
+ zipCode
549
+ country
550
+ isPrimary
551
+ locationType
552
+ locationName
553
+ phone
554
+ email
555
+ createdAt
556
+ updatedAt
557
+ fullAddress
558
+ }
559
+ averageScore
560
+ ownedByUser
561
+ }
562
+ contact {
563
+ id
564
+ name
565
+ firstName
566
+ lastName
567
+ email
568
+ workEmail
569
+ workEmail2
570
+ personalEmail
571
+ personalEmail2
572
+ phone
573
+ phone2
574
+ phone3
575
+ title
576
+ linkedinUrl
577
+ isPrimary
578
+ isCustomer
579
+ notes
580
+ lastContactedAt
581
+ ownedByUser
582
+ contactLog {
583
+ id
584
+ sentAt
585
+ openedAt
586
+ clickedAt
587
+ bouncedAt
588
+ status
589
+ }
590
+ inSegments {
591
+ id
592
+ name
593
+ state
594
+ industry
595
+ }
596
+ companyName
597
+ stats {
598
+ totalOpened
599
+ totalReplied
600
+ totalBounced
601
+ }
602
+ }
603
+ dueDate
604
+ priority
605
+ reminderType
606
+ status
607
+ assignedTo {
608
+ id
609
+ email
610
+ firstName
611
+ lastName
612
+ picture
613
+ }
614
+ completedAt
615
+ createdAt
616
+ updatedAt
617
+ callCampaign {
618
+ id
619
+ user {
620
+ id
621
+ email
622
+ firstName
623
+ lastName
624
+ picture
625
+ }
626
+ account {
627
+ id
628
+ name
629
+ isActive
630
+ createdAt
631
+ updatedAt
632
+ }
633
+ createdAt
634
+ updatedAt
635
+ name
636
+ description
637
+ segments {
638
+ id
639
+ name
640
+ description
641
+ state
642
+ industry
643
+ metalType
644
+ productCategory
645
+ segmentType
646
+ createdAt
647
+ updatedAt
648
+ isSystemTemplate
649
+ totalContacts
650
+ }
651
+ status
652
+ stats {
653
+ totalContacts
654
+ calledCount
655
+ connectedCount
656
+ remainingCount
657
+ lastActivity
658
+ }
659
+ contacts
660
+ called
661
+ connected
662
+ lastActivity
663
+ }
664
+ }
665
+ }`;
666
+ exports.TASK = (0, client_1.gql) `
667
+ query Task($id: Int!) {
668
+ task(id: $id) {
669
+ id
670
+ title
671
+ category
672
+ description
673
+ company {
674
+ id
675
+ createdAt
676
+ updatedAt
677
+ companyName
678
+ location
679
+ state
680
+ employeeSize
681
+ website
682
+ description
683
+ keywords
684
+ isCustomer
685
+ logoUrl
686
+ facebookUrl
687
+ twitterUrl
688
+ linkedinUrl
689
+ address1
690
+ address2
691
+ city
692
+ zipCode
693
+ phone
694
+ email
695
+ annualRevenue
696
+ locations {
697
+ id
698
+ address1
699
+ address2
700
+ city
701
+ state
702
+ zipCode
703
+ country
704
+ isPrimary
705
+ locationType
706
+ locationName
707
+ phone
708
+ email
709
+ createdAt
710
+ updatedAt
711
+ fullAddress
712
+ }
713
+ companyIndustries {
714
+ id
715
+ pk
716
+ industry {
717
+ industrySector {
718
+ id
719
+ name
720
+ description
721
+ orderBy
722
+ }
723
+ id
724
+ pk
725
+ name
726
+ description
727
+ }
728
+ matchScore
729
+ }
730
+ contacts {
731
+ id
732
+ name
733
+ firstName
734
+ lastName
735
+ email
736
+ workEmail
737
+ workEmail2
738
+ personalEmail
739
+ personalEmail2
740
+ phone
741
+ phone2
742
+ phone3
743
+ title
744
+ linkedinUrl
745
+ isPrimary
746
+ isCustomer
747
+ notes
748
+ lastContactedAt
749
+ ownedByUser
750
+ contactLog {
751
+ id
752
+ sentAt
753
+ openedAt
754
+ clickedAt
755
+ bouncedAt
756
+ status
757
+ }
758
+ inSegments {
759
+ id
760
+ name
761
+ state
762
+ industry
763
+ }
764
+ companyName
765
+ stats {
766
+ totalOpened
767
+ totalReplied
768
+ totalBounced
769
+ }
770
+ }
771
+ productMetalScores {
772
+ id
773
+ productType {
774
+ id
775
+ name
776
+ orderBy
777
+ productCategories {
778
+ id
779
+ name
780
+ orderBy
781
+ pk
782
+ }
783
+ pk
784
+ }
785
+ metalType {
786
+ id
787
+ name
788
+ orderBy
789
+ }
790
+ metalGrade {
791
+ id
792
+ name
793
+ metalType {
794
+ id
795
+ name
796
+ orderBy
797
+ }
798
+ }
799
+ score
800
+ productCategory {
801
+ id
802
+ pk
803
+ name
804
+ orderBy
805
+ }
806
+ matchedFilter
807
+ reasoning
808
+ }
809
+ pk
810
+ industry {
811
+ industrySector {
812
+ id
813
+ name
814
+ description
815
+ orderBy
816
+ }
817
+ id
818
+ pk
819
+ name
820
+ description
821
+ }
822
+ primaryLocation {
823
+ id
824
+ address1
825
+ address2
826
+ city
827
+ state
828
+ zipCode
829
+ country
830
+ isPrimary
831
+ locationType
832
+ locationName
833
+ phone
834
+ email
835
+ createdAt
836
+ updatedAt
837
+ fullAddress
838
+ }
839
+ averageScore
840
+ ownedByUser
841
+ }
842
+ contact {
843
+ id
844
+ name
845
+ firstName
846
+ lastName
847
+ email
848
+ workEmail
849
+ workEmail2
850
+ personalEmail
851
+ personalEmail2
852
+ phone
853
+ phone2
854
+ phone3
855
+ title
856
+ linkedinUrl
857
+ isPrimary
858
+ isCustomer
859
+ notes
860
+ lastContactedAt
861
+ ownedByUser
862
+ contactLog {
863
+ id
864
+ sentAt
865
+ openedAt
866
+ clickedAt
867
+ bouncedAt
868
+ status
869
+ }
870
+ inSegments {
871
+ id
872
+ name
873
+ state
874
+ industry
875
+ }
876
+ companyName
877
+ stats {
878
+ totalOpened
879
+ totalReplied
880
+ totalBounced
881
+ }
882
+ }
883
+ dueDate
884
+ priority
885
+ reminderType
886
+ status
887
+ assignedTo {
888
+ id
889
+ email
890
+ firstName
891
+ lastName
892
+ picture
893
+ }
894
+ completedAt
895
+ createdAt
896
+ updatedAt
897
+ callCampaign {
898
+ id
899
+ user {
900
+ id
901
+ email
902
+ firstName
903
+ lastName
904
+ picture
905
+ }
906
+ account {
907
+ id
908
+ name
909
+ isActive
910
+ createdAt
911
+ updatedAt
912
+ }
913
+ createdAt
914
+ updatedAt
915
+ name
916
+ description
917
+ segments {
918
+ id
919
+ name
920
+ description
921
+ state
922
+ industry
923
+ metalType
924
+ productCategory
925
+ segmentType
926
+ createdAt
927
+ updatedAt
928
+ isSystemTemplate
929
+ totalContacts
930
+ }
931
+ status
932
+ stats {
933
+ totalContacts
934
+ calledCount
935
+ connectedCount
936
+ remainingCount
937
+ lastActivity
938
+ }
939
+ contacts
940
+ called
941
+ connected
942
+ lastActivity
943
+ }
944
+ }
945
+ }`;
946
+ exports.UNREAD_NOTIFICATIONS_COUNT = (0, client_1.gql) `
947
+ query UnreadNotificationsCount {
948
+ unreadNotificationsCount
949
+ }`;
950
+ exports.NOTIFICATIONS = (0, client_1.gql) `
951
+ query Notifications($limit: Int, $offset: Int, $unreadOnly: Boolean) {
952
+ notifications(limit: $limit, offset: $offset, unreadOnly: $unreadOnly) {
953
+ id
954
+ createdAt
955
+ updatedAt
956
+ title
957
+ message
958
+ notificationType
959
+ isRead
960
+ readAt
961
+ metadata
962
+ expiresAt
963
+ }
964
+ }`;
965
+ exports.NOTIFICATION = (0, client_1.gql) `
966
+ query Notification($id: ID!) {
967
+ notification(id: $id) {
968
+ id
969
+ createdAt
970
+ updatedAt
971
+ title
972
+ message
973
+ notificationType
974
+ isRead
975
+ readAt
976
+ metadata
977
+ expiresAt
978
+ }
979
+ }`;
980
+ exports.RECENT_NOTIFICATIONS = (0, client_1.gql) `
981
+ query RecentNotifications($limit: Int) {
982
+ recentNotifications(limit: $limit) {
983
+ id
984
+ createdAt
985
+ updatedAt
986
+ title
987
+ message
988
+ notificationType
989
+ isRead
990
+ readAt
991
+ metadata
992
+ expiresAt
993
+ }
994
+ }`;
995
+ exports.NYLAS_CONNECTION = (0, client_1.gql) `
996
+ query NylasConnection {
997
+ nylasConnection {
998
+ email
999
+ provider
1000
+ lastSync
1001
+ }
1002
+ }`;
1003
+ exports.EMAIL_TEMPLATE = (0, client_1.gql) `
1004
+ query EmailTemplate($uuid: UUID!) {
1005
+ emailTemplate(uuid: $uuid) {
1006
+ createdAt
1007
+ updatedAt
1008
+ uuid
1009
+ name
1010
+ description
1011
+ subject
1012
+ template
1013
+ campaignType
1014
+ isDefault
1015
+ }
1016
+ }`;
1017
+ exports.EMAIL_TEMPLATES = (0, client_1.gql) `
1018
+ query EmailTemplates($campaignType: String, $campaignTypes: [String]) {
1019
+ emailTemplates(campaignType: $campaignType, campaignTypes: $campaignTypes) {
1020
+ createdAt
1021
+ updatedAt
1022
+ uuid
1023
+ name
1024
+ description
1025
+ subject
1026
+ template
1027
+ campaignType
1028
+ isDefault
1029
+ }
1030
+ }`;
1031
+ exports.CAMPAIGNS = (0, client_1.gql) `
1032
+ query Campaigns($pagination: PaginationInput!) {
1033
+ campaigns(pagination: $pagination) {
1034
+ items {
1035
+ uuid
1036
+ name
1037
+ description
1038
+ campaignDetails
1039
+ scheduledFor
1040
+ startedAt
1041
+ completedAt
1042
+ cancelledAt
1043
+ pausedAt
1044
+ status
1045
+ segments {
1046
+ id
1047
+ name
1048
+ description
1049
+ state
1050
+ industry
1051
+ metalType
1052
+ productCategory
1053
+ segmentType
1054
+ createdAt
1055
+ updatedAt
1056
+ isSystemTemplate
1057
+ totalContacts
1058
+ }
1059
+ stats
1060
+ createdAt
1061
+ updatedAt
1062
+ emailTemplate {
1063
+ uuid
1064
+ name
1065
+ description
1066
+ subject
1067
+ template
1068
+ createdAt
1069
+ updatedAt
1070
+ campaignType
1071
+ }
1072
+ campaignType
1073
+ emailPreview
1074
+ totalSent
1075
+ totalOpened
1076
+ totalClicked
1077
+ totalBounced
1078
+ totalReplied
1079
+ openRate
1080
+ clickRate
1081
+ bounceRate
1082
+ reasonForPause
1083
+ pausedUntil
1084
+ }
1085
+ pagination {
1086
+ currentPage
1087
+ pageSize
1088
+ totalPages
1089
+ totalCount
1090
+ hasNextPage
1091
+ hasPreviousPage
1092
+ }
1093
+ }
1094
+ }`;
1095
+ exports.CAMPAIGN = (0, client_1.gql) `
1096
+ query Campaign($id: ID!) {
1097
+ campaign(id: $id) {
1098
+ uuid
1099
+ name
1100
+ description
1101
+ campaignDetails
1102
+ scheduledFor
1103
+ startedAt
1104
+ completedAt
1105
+ cancelledAt
1106
+ pausedAt
1107
+ status
1108
+ segments {
1109
+ id
1110
+ name
1111
+ description
1112
+ state
1113
+ industry
1114
+ metalType
1115
+ productCategory
1116
+ segmentType
1117
+ createdAt
1118
+ updatedAt
1119
+ isSystemTemplate
1120
+ totalContacts
1121
+ }
1122
+ stats
1123
+ createdAt
1124
+ updatedAt
1125
+ emailTemplate {
1126
+ uuid
1127
+ name
1128
+ description
1129
+ subject
1130
+ template
1131
+ createdAt
1132
+ updatedAt
1133
+ campaignType
1134
+ }
1135
+ campaignType
1136
+ emailPreview
1137
+ totalSent
1138
+ totalOpened
1139
+ totalClicked
1140
+ totalBounced
1141
+ totalReplied
1142
+ openRate
1143
+ clickRate
1144
+ bounceRate
1145
+ reasonForPause
1146
+ pausedUntil
1147
+ }
1148
+ }`;
1149
+ exports.CAMPAIGN_STATS = (0, client_1.gql) `
1150
+ query CampaignStats($fromDate: Date, $toDate: Date) {
1151
+ campaignStats(fromDate: $fromDate, toDate: $toDate) {
1152
+ fromDate
1153
+ toDate
1154
+ email {
1155
+ totalContacts
1156
+ sent
1157
+ opened
1158
+ responded
1159
+ }
1160
+ industry {
1161
+ industry
1162
+ percentage
1163
+ }
1164
+ account {
1165
+ userName
1166
+ userId
1167
+ emailsSent
1168
+ }
1169
+ }
1170
+ }`;
1171
+ exports.CAMPAIGN_ANALYTICS = (0, client_1.gql) `
1172
+ query CampaignAnalytics($campaignId: ID!) {
1173
+ campaignAnalytics(campaignId: $campaignId) {
1174
+ campaignId
1175
+ campaignName
1176
+ summary {
1177
+ sent
1178
+ opened
1179
+ clicked
1180
+ replied
1181
+ bounced
1182
+ openRate
1183
+ clickRate
1184
+ replyRate
1185
+ bounceRate
1186
+ }
1187
+ steps {
1188
+ step
1189
+ sent
1190
+ opened
1191
+ clicked
1192
+ replied
1193
+ bounced
1194
+ openRate
1195
+ clickRate
1196
+ replyRate
1197
+ bounceRate
1198
+ }
1199
+ isMultiStep
1200
+ totalSteps
1201
+ }
1202
+ }`;
1203
+ exports.CAMPAIGN_LOGS = (0, client_1.gql) `
1204
+ query CampaignLogs($campaignId: ID!, $pagination: PaginationInput!) {
1205
+ campaignLogs(campaignId: $campaignId, pagination: $pagination) {
1206
+ items {
1207
+ contact {
1208
+ id
1209
+ name
1210
+ firstName
1211
+ lastName
1212
+ email
1213
+ workEmail
1214
+ workEmail2
1215
+ personalEmail
1216
+ personalEmail2
1217
+ phone
1218
+ phone2
1219
+ phone3
1220
+ title
1221
+ linkedinUrl
1222
+ isPrimary
1223
+ isCustomer
1224
+ notes
1225
+ lastContactedAt
1226
+ ownedByUser
1227
+ contactLog {
1228
+ id
1229
+ sentAt
1230
+ openedAt
1231
+ clickedAt
1232
+ bouncedAt
1233
+ status
1234
+ }
1235
+ inSegments {
1236
+ id
1237
+ name
1238
+ state
1239
+ industry
1240
+ }
1241
+ companyName
1242
+ stats {
1243
+ totalOpened
1244
+ totalReplied
1245
+ totalBounced
1246
+ }
1247
+ }
1248
+ campaignStats {
1249
+ totalSent
1250
+ totalOpened
1251
+ totalClicked
1252
+ totalReplied
1253
+ totalBounced
1254
+ lastSentAt
1255
+ lastOpenedAt
1256
+ lastClickedAt
1257
+ lastRepliedAt
1258
+ }
1259
+ contactLogs {
1260
+ id
1261
+ campaign {
1262
+ uuid
1263
+ name
1264
+ description
1265
+ campaignDetails
1266
+ scheduledFor
1267
+ startedAt
1268
+ completedAt
1269
+ cancelledAt
1270
+ pausedAt
1271
+ status
1272
+ segments {
1273
+ id
1274
+ name
1275
+ description
1276
+ state
1277
+ industry
1278
+ metalType
1279
+ productCategory
1280
+ segmentType
1281
+ createdAt
1282
+ updatedAt
1283
+ isSystemTemplate
1284
+ totalContacts
1285
+ }
1286
+ stats
1287
+ createdAt
1288
+ updatedAt
1289
+ emailTemplate {
1290
+ uuid
1291
+ name
1292
+ description
1293
+ subject
1294
+ template
1295
+ createdAt
1296
+ updatedAt
1297
+ campaignType
1298
+ }
1299
+ campaignType
1300
+ emailPreview
1301
+ totalSent
1302
+ totalOpened
1303
+ totalClicked
1304
+ totalBounced
1305
+ totalReplied
1306
+ openRate
1307
+ clickRate
1308
+ bounceRate
1309
+ reasonForPause
1310
+ pausedUntil
1311
+ }
1312
+ contact {
1313
+ id
1314
+ name
1315
+ firstName
1316
+ lastName
1317
+ email
1318
+ workEmail
1319
+ workEmail2
1320
+ personalEmail
1321
+ personalEmail2
1322
+ phone
1323
+ phone2
1324
+ phone3
1325
+ title
1326
+ linkedinUrl
1327
+ isPrimary
1328
+ isCustomer
1329
+ notes
1330
+ lastContactedAt
1331
+ ownedByUser
1332
+ contactLog {
1333
+ id
1334
+ sentAt
1335
+ openedAt
1336
+ clickedAt
1337
+ bouncedAt
1338
+ status
1339
+ }
1340
+ inSegments {
1341
+ id
1342
+ name
1343
+ state
1344
+ industry
1345
+ }
1346
+ companyName
1347
+ stats {
1348
+ totalOpened
1349
+ totalReplied
1350
+ totalBounced
1351
+ }
1352
+ }
1353
+ sentAt
1354
+ openedAt
1355
+ clickedAt
1356
+ bouncedAt
1357
+ bounceReason
1358
+ openCount
1359
+ clickCount
1360
+ clickedLinks
1361
+ requestId
1362
+ threadId
1363
+ grantId
1364
+ emailId
1365
+ status
1366
+ errorMessage
1367
+ lastTriedAt
1368
+ attempts
1369
+ }
1370
+ }
1371
+ pagination {
1372
+ currentPage
1373
+ pageSize
1374
+ totalPages
1375
+ totalCount
1376
+ hasNextPage
1377
+ hasPreviousPage
1378
+ }
1379
+ }
1380
+ }`;
1381
+ exports.SEGMENTS = (0, client_1.gql) `
1382
+ query Segments($pagination: PaginationInput, $includeSystemTemplates: Boolean, $filters: SegmentFilterInput) {
1383
+ segments(pagination: $pagination, includeSystemTemplates: $includeSystemTemplates, filters: $filters) {
1384
+ items {
1385
+ id
1386
+ name
1387
+ description
1388
+ state
1389
+ industry
1390
+ metalType
1391
+ productCategory
1392
+ segmentType
1393
+ createdAt
1394
+ updatedAt
1395
+ isSystemTemplate
1396
+ totalContacts
1397
+ }
1398
+ pagination {
1399
+ currentPage
1400
+ pageSize
1401
+ totalPages
1402
+ totalCount
1403
+ hasNextPage
1404
+ hasPreviousPage
1405
+ }
1406
+ }
1407
+ }`;
1408
+ exports.SEGMENT = (0, client_1.gql) `
1409
+ query Segment($id: ID!) {
1410
+ segment(id: $id) {
1411
+ id
1412
+ name
1413
+ description
1414
+ state
1415
+ industry
1416
+ metalType
1417
+ productCategory
1418
+ segmentType
1419
+ createdAt
1420
+ updatedAt
1421
+ isSystemTemplate
1422
+ totalContacts
1423
+ }
1424
+ }`;
1425
+ exports.CONTACTS_IN_SEGMENT = (0, client_1.gql) `
1426
+ query ContactsInSegment($segmentId: ID!, $pagination: PaginationInput) {
1427
+ contactsInSegment(segmentId: $segmentId, pagination: $pagination) {
1428
+ items {
1429
+ id
1430
+ name
1431
+ firstName
1432
+ lastName
1433
+ email
1434
+ workEmail
1435
+ workEmail2
1436
+ personalEmail
1437
+ personalEmail2
1438
+ phone
1439
+ phone2
1440
+ phone3
1441
+ title
1442
+ linkedinUrl
1443
+ isPrimary
1444
+ isCustomer
1445
+ notes
1446
+ lastContactedAt
1447
+ ownedByUser
1448
+ contactLog {
1449
+ id
1450
+ sentAt
1451
+ openedAt
1452
+ clickedAt
1453
+ bouncedAt
1454
+ status
1455
+ }
1456
+ inSegments {
1457
+ id
1458
+ name
1459
+ state
1460
+ industry
1461
+ }
1462
+ companyName
1463
+ stats {
1464
+ totalOpened
1465
+ totalReplied
1466
+ totalBounced
1467
+ }
1468
+ }
1469
+ pagination {
1470
+ currentPage
1471
+ pageSize
1472
+ totalPages
1473
+ totalCount
1474
+ hasNextPage
1475
+ hasPreviousPage
1476
+ }
1477
+ }
1478
+ }`;
1479
+ exports.COMPANIES = (0, client_1.gql) `
1480
+ query Companies($filters: CompanyFilterInput, $pagination: PaginationInput, $sort: CompanySortInput) {
1481
+ companies(filters: $filters, pagination: $pagination, sort: $sort) {
1482
+ items {
1483
+ id
1484
+ createdAt
1485
+ updatedAt
1486
+ companyName
1487
+ location
1488
+ state
1489
+ employeeSize
1490
+ website
1491
+ description
1492
+ keywords
1493
+ isCustomer
1494
+ logoUrl
1495
+ facebookUrl
1496
+ twitterUrl
1497
+ linkedinUrl
1498
+ address1
1499
+ address2
1500
+ city
1501
+ zipCode
1502
+ phone
1503
+ email
1504
+ annualRevenue
1505
+ locations {
1506
+ id
1507
+ address1
1508
+ address2
1509
+ city
1510
+ state
1511
+ zipCode
1512
+ country
1513
+ isPrimary
1514
+ locationType
1515
+ locationName
1516
+ phone
1517
+ email
1518
+ createdAt
1519
+ updatedAt
1520
+ fullAddress
1521
+ }
1522
+ companyIndustries {
1523
+ id
1524
+ pk
1525
+ industry {
1526
+ industrySector {
1527
+ id
1528
+ name
1529
+ description
1530
+ orderBy
1531
+ }
1532
+ id
1533
+ pk
1534
+ name
1535
+ description
1536
+ }
1537
+ matchScore
1538
+ }
1539
+ contacts {
1540
+ id
1541
+ name
1542
+ firstName
1543
+ lastName
1544
+ email
1545
+ workEmail
1546
+ workEmail2
1547
+ personalEmail
1548
+ personalEmail2
1549
+ phone
1550
+ phone2
1551
+ phone3
1552
+ title
1553
+ linkedinUrl
1554
+ isPrimary
1555
+ isCustomer
1556
+ notes
1557
+ lastContactedAt
1558
+ ownedByUser
1559
+ contactLog {
1560
+ id
1561
+ sentAt
1562
+ openedAt
1563
+ clickedAt
1564
+ bouncedAt
1565
+ status
1566
+ }
1567
+ inSegments {
1568
+ id
1569
+ name
1570
+ state
1571
+ industry
1572
+ }
1573
+ companyName
1574
+ stats {
1575
+ totalOpened
1576
+ totalReplied
1577
+ totalBounced
1578
+ }
1579
+ }
1580
+ productMetalScores {
1581
+ id
1582
+ productType {
1583
+ id
1584
+ name
1585
+ orderBy
1586
+ productCategories {
1587
+ id
1588
+ name
1589
+ orderBy
1590
+ pk
1591
+ }
1592
+ pk
1593
+ }
1594
+ metalType {
1595
+ id
1596
+ name
1597
+ orderBy
1598
+ }
1599
+ metalGrade {
1600
+ id
1601
+ name
1602
+ metalType {
1603
+ id
1604
+ name
1605
+ orderBy
1606
+ }
1607
+ }
1608
+ score
1609
+ productCategory {
1610
+ id
1611
+ pk
1612
+ name
1613
+ orderBy
1614
+ }
1615
+ matchedFilter
1616
+ reasoning
1617
+ }
1618
+ tasks {
1619
+ id
1620
+ title
1621
+ category
1622
+ description
1623
+ company {
1624
+ id
1625
+ createdAt
1626
+ updatedAt
1627
+ companyName
1628
+ location
1629
+ state
1630
+ employeeSize
1631
+ website
1632
+ description
1633
+ keywords
1634
+ isCustomer
1635
+ logoUrl
1636
+ facebookUrl
1637
+ twitterUrl
1638
+ linkedinUrl
1639
+ address1
1640
+ address2
1641
+ city
1642
+ zipCode
1643
+ phone
1644
+ email
1645
+ annualRevenue
1646
+ locations {
1647
+ id
1648
+ address1
1649
+ address2
1650
+ city
1651
+ state
1652
+ zipCode
1653
+ country
1654
+ isPrimary
1655
+ locationType
1656
+ locationName
1657
+ phone
1658
+ email
1659
+ createdAt
1660
+ updatedAt
1661
+ fullAddress
1662
+ }
1663
+ companyIndustries {
1664
+ id
1665
+ pk
1666
+ industry {
1667
+ industrySector {
1668
+ id
1669
+ name
1670
+ description
1671
+ orderBy
1672
+ }
1673
+ id
1674
+ pk
1675
+ name
1676
+ description
1677
+ }
1678
+ matchScore
1679
+ }
1680
+ contacts {
1681
+ id
1682
+ name
1683
+ firstName
1684
+ lastName
1685
+ email
1686
+ workEmail
1687
+ workEmail2
1688
+ personalEmail
1689
+ personalEmail2
1690
+ phone
1691
+ phone2
1692
+ phone3
1693
+ title
1694
+ linkedinUrl
1695
+ isPrimary
1696
+ isCustomer
1697
+ notes
1698
+ lastContactedAt
1699
+ ownedByUser
1700
+ contactLog {
1701
+ id
1702
+ sentAt
1703
+ openedAt
1704
+ clickedAt
1705
+ bouncedAt
1706
+ status
1707
+ }
1708
+ inSegments {
1709
+ id
1710
+ name
1711
+ state
1712
+ industry
1713
+ }
1714
+ companyName
1715
+ stats {
1716
+ totalOpened
1717
+ totalReplied
1718
+ totalBounced
1719
+ }
1720
+ }
1721
+ productMetalScores {
1722
+ id
1723
+ productType {
1724
+ id
1725
+ name
1726
+ orderBy
1727
+ productCategories {
1728
+ id
1729
+ name
1730
+ orderBy
1731
+ pk
1732
+ }
1733
+ pk
1734
+ }
1735
+ metalType {
1736
+ id
1737
+ name
1738
+ orderBy
1739
+ }
1740
+ metalGrade {
1741
+ id
1742
+ name
1743
+ metalType {
1744
+ id
1745
+ name
1746
+ orderBy
1747
+ }
1748
+ }
1749
+ score
1750
+ productCategory {
1751
+ id
1752
+ pk
1753
+ name
1754
+ orderBy
1755
+ }
1756
+ matchedFilter
1757
+ reasoning
1758
+ }
1759
+ tasks {
1760
+ id
1761
+ title
1762
+ category
1763
+ description
1764
+ company {
1765
+ id
1766
+ createdAt
1767
+ updatedAt
1768
+ companyName
1769
+ location
1770
+ state
1771
+ employeeSize
1772
+ website
1773
+ description
1774
+ keywords
1775
+ isCustomer
1776
+ logoUrl
1777
+ facebookUrl
1778
+ twitterUrl
1779
+ linkedinUrl
1780
+ address1
1781
+ address2
1782
+ city
1783
+ zipCode
1784
+ phone
1785
+ email
1786
+ annualRevenue
1787
+ locations {
1788
+ id
1789
+ address1
1790
+ address2
1791
+ city
1792
+ state
1793
+ zipCode
1794
+ country
1795
+ isPrimary
1796
+ locationType
1797
+ locationName
1798
+ phone
1799
+ email
1800
+ createdAt
1801
+ updatedAt
1802
+ fullAddress
1803
+ }
1804
+ companyIndustries {
1805
+ id
1806
+ pk
1807
+ industry {
1808
+ industrySector {
1809
+ id
1810
+ name
1811
+ description
1812
+ orderBy
1813
+ }
1814
+ id
1815
+ pk
1816
+ name
1817
+ description
1818
+ }
1819
+ matchScore
1820
+ }
1821
+ contacts {
1822
+ id
1823
+ name
1824
+ firstName
1825
+ lastName
1826
+ email
1827
+ workEmail
1828
+ workEmail2
1829
+ personalEmail
1830
+ personalEmail2
1831
+ phone
1832
+ phone2
1833
+ phone3
1834
+ title
1835
+ linkedinUrl
1836
+ isPrimary
1837
+ isCustomer
1838
+ notes
1839
+ lastContactedAt
1840
+ ownedByUser
1841
+ contactLog {
1842
+ id
1843
+ sentAt
1844
+ openedAt
1845
+ clickedAt
1846
+ bouncedAt
1847
+ status
1848
+ }
1849
+ inSegments {
1850
+ id
1851
+ name
1852
+ state
1853
+ industry
1854
+ }
1855
+ companyName
1856
+ stats {
1857
+ totalOpened
1858
+ totalReplied
1859
+ totalBounced
1860
+ }
1861
+ }
1862
+ productMetalScores {
1863
+ id
1864
+ productType {
1865
+ id
1866
+ name
1867
+ orderBy
1868
+ productCategories {
1869
+ id
1870
+ name
1871
+ orderBy
1872
+ pk
1873
+ }
1874
+ pk
1875
+ }
1876
+ metalType {
1877
+ id
1878
+ name
1879
+ orderBy
1880
+ }
1881
+ metalGrade {
1882
+ id
1883
+ name
1884
+ metalType {
1885
+ id
1886
+ name
1887
+ orderBy
1888
+ }
1889
+ }
1890
+ score
1891
+ productCategory {
1892
+ id
1893
+ pk
1894
+ name
1895
+ orderBy
1896
+ }
1897
+ matchedFilter
1898
+ reasoning
1899
+ }
1900
+ pk
1901
+ industry {
1902
+ industrySector {
1903
+ id
1904
+ name
1905
+ description
1906
+ orderBy
1907
+ }
1908
+ id
1909
+ pk
1910
+ name
1911
+ description
1912
+ }
1913
+ primaryLocation {
1914
+ id
1915
+ address1
1916
+ address2
1917
+ city
1918
+ state
1919
+ zipCode
1920
+ country
1921
+ isPrimary
1922
+ locationType
1923
+ locationName
1924
+ phone
1925
+ email
1926
+ createdAt
1927
+ updatedAt
1928
+ fullAddress
1929
+ }
1930
+ averageScore
1931
+ ownedByUser
1932
+ }
1933
+ contact {
1934
+ id
1935
+ name
1936
+ firstName
1937
+ lastName
1938
+ email
1939
+ workEmail
1940
+ workEmail2
1941
+ personalEmail
1942
+ personalEmail2
1943
+ phone
1944
+ phone2
1945
+ phone3
1946
+ title
1947
+ linkedinUrl
1948
+ isPrimary
1949
+ isCustomer
1950
+ notes
1951
+ lastContactedAt
1952
+ ownedByUser
1953
+ contactLog {
1954
+ id
1955
+ sentAt
1956
+ openedAt
1957
+ clickedAt
1958
+ bouncedAt
1959
+ status
1960
+ }
1961
+ inSegments {
1962
+ id
1963
+ name
1964
+ state
1965
+ industry
1966
+ }
1967
+ companyName
1968
+ stats {
1969
+ totalOpened
1970
+ totalReplied
1971
+ totalBounced
1972
+ }
1973
+ }
1974
+ dueDate
1975
+ priority
1976
+ reminderType
1977
+ status
1978
+ assignedTo {
1979
+ id
1980
+ email
1981
+ firstName
1982
+ lastName
1983
+ picture
1984
+ }
1985
+ completedAt
1986
+ createdAt
1987
+ updatedAt
1988
+ callCampaign {
1989
+ id
1990
+ user {
1991
+ id
1992
+ email
1993
+ firstName
1994
+ lastName
1995
+ picture
1996
+ }
1997
+ account {
1998
+ id
1999
+ name
2000
+ isActive
2001
+ createdAt
2002
+ updatedAt
2003
+ }
2004
+ createdAt
2005
+ updatedAt
2006
+ name
2007
+ description
2008
+ segments {
2009
+ id
2010
+ name
2011
+ description
2012
+ state
2013
+ industry
2014
+ metalType
2015
+ productCategory
2016
+ segmentType
2017
+ createdAt
2018
+ updatedAt
2019
+ isSystemTemplate
2020
+ totalContacts
2021
+ }
2022
+ status
2023
+ stats {
2024
+ totalContacts
2025
+ calledCount
2026
+ connectedCount
2027
+ remainingCount
2028
+ lastActivity
2029
+ }
2030
+ contacts
2031
+ called
2032
+ connected
2033
+ lastActivity
2034
+ }
2035
+ }
2036
+ pk
2037
+ industry {
2038
+ industrySector {
2039
+ id
2040
+ name
2041
+ description
2042
+ orderBy
2043
+ }
2044
+ id
2045
+ pk
2046
+ name
2047
+ description
2048
+ }
2049
+ industries {
2050
+ id
2051
+ pk
2052
+ industry {
2053
+ industrySector {
2054
+ id
2055
+ name
2056
+ description
2057
+ orderBy
2058
+ }
2059
+ id
2060
+ pk
2061
+ name
2062
+ description
2063
+ }
2064
+ matchScore
2065
+ }
2066
+ primaryLocation {
2067
+ id
2068
+ address1
2069
+ address2
2070
+ city
2071
+ state
2072
+ zipCode
2073
+ country
2074
+ isPrimary
2075
+ locationType
2076
+ locationName
2077
+ phone
2078
+ email
2079
+ createdAt
2080
+ updatedAt
2081
+ fullAddress
2082
+ }
2083
+ averageScore
2084
+ ownedByUser
2085
+ }
2086
+ contact {
2087
+ id
2088
+ name
2089
+ firstName
2090
+ lastName
2091
+ email
2092
+ workEmail
2093
+ workEmail2
2094
+ personalEmail
2095
+ personalEmail2
2096
+ phone
2097
+ phone2
2098
+ phone3
2099
+ title
2100
+ linkedinUrl
2101
+ isPrimary
2102
+ isCustomer
2103
+ notes
2104
+ lastContactedAt
2105
+ ownedByUser
2106
+ contactLog {
2107
+ id
2108
+ sentAt
2109
+ openedAt
2110
+ clickedAt
2111
+ bouncedAt
2112
+ status
2113
+ }
2114
+ inSegments {
2115
+ id
2116
+ name
2117
+ state
2118
+ industry
2119
+ }
2120
+ companyName
2121
+ stats {
2122
+ totalOpened
2123
+ totalReplied
2124
+ totalBounced
2125
+ }
2126
+ }
2127
+ dueDate
2128
+ priority
2129
+ reminderType
2130
+ status
2131
+ assignedTo {
2132
+ id
2133
+ email
2134
+ firstName
2135
+ lastName
2136
+ picture
2137
+ }
2138
+ completedAt
2139
+ createdAt
2140
+ updatedAt
2141
+ callCampaign {
2142
+ id
2143
+ user {
2144
+ id
2145
+ email
2146
+ firstName
2147
+ lastName
2148
+ picture
2149
+ }
2150
+ account {
2151
+ id
2152
+ name
2153
+ isActive
2154
+ createdAt
2155
+ updatedAt
2156
+ }
2157
+ createdAt
2158
+ updatedAt
2159
+ name
2160
+ description
2161
+ segments {
2162
+ id
2163
+ name
2164
+ description
2165
+ state
2166
+ industry
2167
+ metalType
2168
+ productCategory
2169
+ segmentType
2170
+ createdAt
2171
+ updatedAt
2172
+ isSystemTemplate
2173
+ totalContacts
2174
+ }
2175
+ status
2176
+ stats {
2177
+ totalContacts
2178
+ calledCount
2179
+ connectedCount
2180
+ remainingCount
2181
+ lastActivity
2182
+ }
2183
+ contacts
2184
+ called
2185
+ connected
2186
+ lastActivity
2187
+ }
2188
+ }
2189
+ pk
2190
+ industry {
2191
+ industrySector {
2192
+ id
2193
+ name
2194
+ description
2195
+ orderBy
2196
+ }
2197
+ id
2198
+ pk
2199
+ name
2200
+ description
2201
+ }
2202
+ primaryLocation {
2203
+ id
2204
+ address1
2205
+ address2
2206
+ city
2207
+ state
2208
+ zipCode
2209
+ country
2210
+ isPrimary
2211
+ locationType
2212
+ locationName
2213
+ phone
2214
+ email
2215
+ createdAt
2216
+ updatedAt
2217
+ fullAddress
2218
+ }
2219
+ averageScore
2220
+ ownedByUser
2221
+ }
2222
+ pagination {
2223
+ currentPage
2224
+ pageSize
2225
+ totalPages
2226
+ totalCount
2227
+ hasNextPage
2228
+ hasPreviousPage
2229
+ }
2230
+ }
2231
+ }`;
2232
+ exports.CONTACTS = (0, client_1.gql) `
2233
+ query Contacts {
2234
+ contacts {
2235
+ id
2236
+ name
2237
+ firstName
2238
+ lastName
2239
+ email
2240
+ workEmail
2241
+ workEmail2
2242
+ personalEmail
2243
+ personalEmail2
2244
+ phone
2245
+ phone2
2246
+ phone3
2247
+ title
2248
+ linkedinUrl
2249
+ isPrimary
2250
+ isCustomer
2251
+ notes
2252
+ lastContactedAt
2253
+ ownedByUser
2254
+ contactLog {
2255
+ id
2256
+ sentAt
2257
+ openedAt
2258
+ clickedAt
2259
+ bouncedAt
2260
+ status
2261
+ }
2262
+ inSegments {
2263
+ id
2264
+ name
2265
+ state
2266
+ industry
2267
+ }
2268
+ companyName
2269
+ stats {
2270
+ totalOpened
2271
+ totalReplied
2272
+ totalBounced
2273
+ }
2274
+ }
2275
+ }`;
2276
+ exports.SEARCH_CONTACTS = (0, client_1.gql) `
2277
+ query SearchContacts($filters: ContactFilterInput, $pagination: PaginationInput, $sort: ContactSortInput) {
2278
+ searchContacts(filters: $filters, pagination: $pagination, sort: $sort) {
2279
+ items {
2280
+ id
2281
+ name
2282
+ firstName
2283
+ lastName
2284
+ email
2285
+ workEmail
2286
+ workEmail2
2287
+ personalEmail
2288
+ personalEmail2
2289
+ phone
2290
+ phone2
2291
+ phone3
2292
+ title
2293
+ linkedinUrl
2294
+ isPrimary
2295
+ isCustomer
2296
+ notes
2297
+ lastContactedAt
2298
+ ownedByUser
2299
+ contactLog {
2300
+ id
2301
+ sentAt
2302
+ openedAt
2303
+ clickedAt
2304
+ bouncedAt
2305
+ status
2306
+ }
2307
+ inSegments {
2308
+ id
2309
+ name
2310
+ state
2311
+ industry
2312
+ }
2313
+ companyName
2314
+ stats {
2315
+ totalOpened
2316
+ totalReplied
2317
+ totalBounced
2318
+ }
2319
+ }
2320
+ pagination {
2321
+ currentPage
2322
+ pageSize
2323
+ totalPages
2324
+ totalCount
2325
+ hasNextPage
2326
+ hasPreviousPage
2327
+ }
2328
+ }
2329
+ }`;
2330
+ exports.COMPANY = (0, client_1.gql) `
2331
+ query Company($id: String) {
2332
+ company(id: $id) {
2333
+ id
2334
+ createdAt
2335
+ updatedAt
2336
+ companyName
2337
+ location
2338
+ state
2339
+ employeeSize
2340
+ website
2341
+ description
2342
+ keywords
2343
+ isCustomer
2344
+ logoUrl
2345
+ facebookUrl
2346
+ twitterUrl
2347
+ linkedinUrl
2348
+ address1
2349
+ address2
2350
+ city
2351
+ zipCode
2352
+ phone
2353
+ email
2354
+ annualRevenue
2355
+ locations {
2356
+ id
2357
+ address1
2358
+ address2
2359
+ city
2360
+ state
2361
+ zipCode
2362
+ country
2363
+ isPrimary
2364
+ locationType
2365
+ locationName
2366
+ phone
2367
+ email
2368
+ createdAt
2369
+ updatedAt
2370
+ fullAddress
2371
+ }
2372
+ companyIndustries {
2373
+ id
2374
+ pk
2375
+ industry {
2376
+ industrySector {
2377
+ id
2378
+ name
2379
+ description
2380
+ orderBy
2381
+ }
2382
+ id
2383
+ pk
2384
+ name
2385
+ description
2386
+ }
2387
+ matchScore
2388
+ }
2389
+ contacts {
2390
+ id
2391
+ name
2392
+ firstName
2393
+ lastName
2394
+ email
2395
+ workEmail
2396
+ workEmail2
2397
+ personalEmail
2398
+ personalEmail2
2399
+ phone
2400
+ phone2
2401
+ phone3
2402
+ title
2403
+ linkedinUrl
2404
+ isPrimary
2405
+ isCustomer
2406
+ notes
2407
+ lastContactedAt
2408
+ ownedByUser
2409
+ contactLog {
2410
+ id
2411
+ sentAt
2412
+ openedAt
2413
+ clickedAt
2414
+ bouncedAt
2415
+ status
2416
+ }
2417
+ inSegments {
2418
+ id
2419
+ name
2420
+ state
2421
+ industry
2422
+ }
2423
+ companyName
2424
+ stats {
2425
+ totalOpened
2426
+ totalReplied
2427
+ totalBounced
2428
+ }
2429
+ }
2430
+ productMetalScores {
2431
+ id
2432
+ productType {
2433
+ id
2434
+ name
2435
+ orderBy
2436
+ productCategories {
2437
+ id
2438
+ name
2439
+ orderBy
2440
+ pk
2441
+ }
2442
+ pk
2443
+ }
2444
+ metalType {
2445
+ id
2446
+ name
2447
+ orderBy
2448
+ }
2449
+ metalGrade {
2450
+ id
2451
+ name
2452
+ metalType {
2453
+ id
2454
+ name
2455
+ orderBy
2456
+ }
2457
+ }
2458
+ score
2459
+ productCategory {
2460
+ id
2461
+ pk
2462
+ name
2463
+ orderBy
2464
+ }
2465
+ matchedFilter
2466
+ reasoning
2467
+ }
2468
+ tasks {
2469
+ id
2470
+ title
2471
+ category
2472
+ description
2473
+ company {
2474
+ id
2475
+ createdAt
2476
+ updatedAt
2477
+ companyName
2478
+ location
2479
+ state
2480
+ employeeSize
2481
+ website
2482
+ description
2483
+ keywords
2484
+ isCustomer
2485
+ logoUrl
2486
+ facebookUrl
2487
+ twitterUrl
2488
+ linkedinUrl
2489
+ address1
2490
+ address2
2491
+ city
2492
+ zipCode
2493
+ phone
2494
+ email
2495
+ annualRevenue
2496
+ locations {
2497
+ id
2498
+ address1
2499
+ address2
2500
+ city
2501
+ state
2502
+ zipCode
2503
+ country
2504
+ isPrimary
2505
+ locationType
2506
+ locationName
2507
+ phone
2508
+ email
2509
+ createdAt
2510
+ updatedAt
2511
+ fullAddress
2512
+ }
2513
+ companyIndustries {
2514
+ id
2515
+ pk
2516
+ industry {
2517
+ industrySector {
2518
+ id
2519
+ name
2520
+ description
2521
+ orderBy
2522
+ }
2523
+ id
2524
+ pk
2525
+ name
2526
+ description
2527
+ }
2528
+ matchScore
2529
+ }
2530
+ contacts {
2531
+ id
2532
+ name
2533
+ firstName
2534
+ lastName
2535
+ email
2536
+ workEmail
2537
+ workEmail2
2538
+ personalEmail
2539
+ personalEmail2
2540
+ phone
2541
+ phone2
2542
+ phone3
2543
+ title
2544
+ linkedinUrl
2545
+ isPrimary
2546
+ isCustomer
2547
+ notes
2548
+ lastContactedAt
2549
+ ownedByUser
2550
+ contactLog {
2551
+ id
2552
+ sentAt
2553
+ openedAt
2554
+ clickedAt
2555
+ bouncedAt
2556
+ status
2557
+ }
2558
+ inSegments {
2559
+ id
2560
+ name
2561
+ state
2562
+ industry
2563
+ }
2564
+ companyName
2565
+ stats {
2566
+ totalOpened
2567
+ totalReplied
2568
+ totalBounced
2569
+ }
2570
+ }
2571
+ productMetalScores {
2572
+ id
2573
+ productType {
2574
+ id
2575
+ name
2576
+ orderBy
2577
+ productCategories {
2578
+ id
2579
+ name
2580
+ orderBy
2581
+ pk
2582
+ }
2583
+ pk
2584
+ }
2585
+ metalType {
2586
+ id
2587
+ name
2588
+ orderBy
2589
+ }
2590
+ metalGrade {
2591
+ id
2592
+ name
2593
+ metalType {
2594
+ id
2595
+ name
2596
+ orderBy
2597
+ }
2598
+ }
2599
+ score
2600
+ productCategory {
2601
+ id
2602
+ pk
2603
+ name
2604
+ orderBy
2605
+ }
2606
+ matchedFilter
2607
+ reasoning
2608
+ }
2609
+ tasks {
2610
+ id
2611
+ title
2612
+ category
2613
+ description
2614
+ company {
2615
+ id
2616
+ createdAt
2617
+ updatedAt
2618
+ companyName
2619
+ location
2620
+ state
2621
+ employeeSize
2622
+ website
2623
+ description
2624
+ keywords
2625
+ isCustomer
2626
+ logoUrl
2627
+ facebookUrl
2628
+ twitterUrl
2629
+ linkedinUrl
2630
+ address1
2631
+ address2
2632
+ city
2633
+ zipCode
2634
+ phone
2635
+ email
2636
+ annualRevenue
2637
+ locations {
2638
+ id
2639
+ address1
2640
+ address2
2641
+ city
2642
+ state
2643
+ zipCode
2644
+ country
2645
+ isPrimary
2646
+ locationType
2647
+ locationName
2648
+ phone
2649
+ email
2650
+ createdAt
2651
+ updatedAt
2652
+ fullAddress
2653
+ }
2654
+ companyIndustries {
2655
+ id
2656
+ pk
2657
+ industry {
2658
+ industrySector {
2659
+ id
2660
+ name
2661
+ description
2662
+ orderBy
2663
+ }
2664
+ id
2665
+ pk
2666
+ name
2667
+ description
2668
+ }
2669
+ matchScore
2670
+ }
2671
+ contacts {
2672
+ id
2673
+ name
2674
+ firstName
2675
+ lastName
2676
+ email
2677
+ workEmail
2678
+ workEmail2
2679
+ personalEmail
2680
+ personalEmail2
2681
+ phone
2682
+ phone2
2683
+ phone3
2684
+ title
2685
+ linkedinUrl
2686
+ isPrimary
2687
+ isCustomer
2688
+ notes
2689
+ lastContactedAt
2690
+ ownedByUser
2691
+ contactLog {
2692
+ id
2693
+ sentAt
2694
+ openedAt
2695
+ clickedAt
2696
+ bouncedAt
2697
+ status
2698
+ }
2699
+ inSegments {
2700
+ id
2701
+ name
2702
+ state
2703
+ industry
2704
+ }
2705
+ companyName
2706
+ stats {
2707
+ totalOpened
2708
+ totalReplied
2709
+ totalBounced
2710
+ }
2711
+ }
2712
+ productMetalScores {
2713
+ id
2714
+ productType {
2715
+ id
2716
+ name
2717
+ orderBy
2718
+ productCategories {
2719
+ id
2720
+ name
2721
+ orderBy
2722
+ pk
2723
+ }
2724
+ pk
2725
+ }
2726
+ metalType {
2727
+ id
2728
+ name
2729
+ orderBy
2730
+ }
2731
+ metalGrade {
2732
+ id
2733
+ name
2734
+ metalType {
2735
+ id
2736
+ name
2737
+ orderBy
2738
+ }
2739
+ }
2740
+ score
2741
+ productCategory {
2742
+ id
2743
+ pk
2744
+ name
2745
+ orderBy
2746
+ }
2747
+ matchedFilter
2748
+ reasoning
2749
+ }
2750
+ pk
2751
+ industry {
2752
+ industrySector {
2753
+ id
2754
+ name
2755
+ description
2756
+ orderBy
2757
+ }
2758
+ id
2759
+ pk
2760
+ name
2761
+ description
2762
+ }
2763
+ primaryLocation {
2764
+ id
2765
+ address1
2766
+ address2
2767
+ city
2768
+ state
2769
+ zipCode
2770
+ country
2771
+ isPrimary
2772
+ locationType
2773
+ locationName
2774
+ phone
2775
+ email
2776
+ createdAt
2777
+ updatedAt
2778
+ fullAddress
2779
+ }
2780
+ averageScore
2781
+ ownedByUser
2782
+ }
2783
+ contact {
2784
+ id
2785
+ name
2786
+ firstName
2787
+ lastName
2788
+ email
2789
+ workEmail
2790
+ workEmail2
2791
+ personalEmail
2792
+ personalEmail2
2793
+ phone
2794
+ phone2
2795
+ phone3
2796
+ title
2797
+ linkedinUrl
2798
+ isPrimary
2799
+ isCustomer
2800
+ notes
2801
+ lastContactedAt
2802
+ ownedByUser
2803
+ contactLog {
2804
+ id
2805
+ sentAt
2806
+ openedAt
2807
+ clickedAt
2808
+ bouncedAt
2809
+ status
2810
+ }
2811
+ inSegments {
2812
+ id
2813
+ name
2814
+ state
2815
+ industry
2816
+ }
2817
+ companyName
2818
+ stats {
2819
+ totalOpened
2820
+ totalReplied
2821
+ totalBounced
2822
+ }
2823
+ }
2824
+ dueDate
2825
+ priority
2826
+ reminderType
2827
+ status
2828
+ assignedTo {
2829
+ id
2830
+ email
2831
+ firstName
2832
+ lastName
2833
+ picture
2834
+ }
2835
+ completedAt
2836
+ createdAt
2837
+ updatedAt
2838
+ callCampaign {
2839
+ id
2840
+ user {
2841
+ id
2842
+ email
2843
+ firstName
2844
+ lastName
2845
+ picture
2846
+ }
2847
+ account {
2848
+ id
2849
+ name
2850
+ isActive
2851
+ createdAt
2852
+ updatedAt
2853
+ }
2854
+ createdAt
2855
+ updatedAt
2856
+ name
2857
+ description
2858
+ segments {
2859
+ id
2860
+ name
2861
+ description
2862
+ state
2863
+ industry
2864
+ metalType
2865
+ productCategory
2866
+ segmentType
2867
+ createdAt
2868
+ updatedAt
2869
+ isSystemTemplate
2870
+ totalContacts
2871
+ }
2872
+ status
2873
+ stats {
2874
+ totalContacts
2875
+ calledCount
2876
+ connectedCount
2877
+ remainingCount
2878
+ lastActivity
2879
+ }
2880
+ contacts
2881
+ called
2882
+ connected
2883
+ lastActivity
2884
+ }
2885
+ }
2886
+ pk
2887
+ industry {
2888
+ industrySector {
2889
+ id
2890
+ name
2891
+ description
2892
+ orderBy
2893
+ }
2894
+ id
2895
+ pk
2896
+ name
2897
+ description
2898
+ }
2899
+ industries {
2900
+ id
2901
+ pk
2902
+ industry {
2903
+ industrySector {
2904
+ id
2905
+ name
2906
+ description
2907
+ orderBy
2908
+ }
2909
+ id
2910
+ pk
2911
+ name
2912
+ description
2913
+ }
2914
+ matchScore
2915
+ }
2916
+ primaryLocation {
2917
+ id
2918
+ address1
2919
+ address2
2920
+ city
2921
+ state
2922
+ zipCode
2923
+ country
2924
+ isPrimary
2925
+ locationType
2926
+ locationName
2927
+ phone
2928
+ email
2929
+ createdAt
2930
+ updatedAt
2931
+ fullAddress
2932
+ }
2933
+ averageScore
2934
+ ownedByUser
2935
+ }
2936
+ contact {
2937
+ id
2938
+ name
2939
+ firstName
2940
+ lastName
2941
+ email
2942
+ workEmail
2943
+ workEmail2
2944
+ personalEmail
2945
+ personalEmail2
2946
+ phone
2947
+ phone2
2948
+ phone3
2949
+ title
2950
+ linkedinUrl
2951
+ isPrimary
2952
+ isCustomer
2953
+ notes
2954
+ lastContactedAt
2955
+ ownedByUser
2956
+ contactLog {
2957
+ id
2958
+ sentAt
2959
+ openedAt
2960
+ clickedAt
2961
+ bouncedAt
2962
+ status
2963
+ }
2964
+ inSegments {
2965
+ id
2966
+ name
2967
+ state
2968
+ industry
2969
+ }
2970
+ companyName
2971
+ stats {
2972
+ totalOpened
2973
+ totalReplied
2974
+ totalBounced
2975
+ }
2976
+ }
2977
+ dueDate
2978
+ priority
2979
+ reminderType
2980
+ status
2981
+ assignedTo {
2982
+ id
2983
+ email
2984
+ firstName
2985
+ lastName
2986
+ picture
2987
+ }
2988
+ completedAt
2989
+ createdAt
2990
+ updatedAt
2991
+ callCampaign {
2992
+ id
2993
+ user {
2994
+ id
2995
+ email
2996
+ firstName
2997
+ lastName
2998
+ picture
2999
+ }
3000
+ account {
3001
+ id
3002
+ name
3003
+ isActive
3004
+ createdAt
3005
+ updatedAt
3006
+ }
3007
+ createdAt
3008
+ updatedAt
3009
+ name
3010
+ description
3011
+ segments {
3012
+ id
3013
+ name
3014
+ description
3015
+ state
3016
+ industry
3017
+ metalType
3018
+ productCategory
3019
+ segmentType
3020
+ createdAt
3021
+ updatedAt
3022
+ isSystemTemplate
3023
+ totalContacts
3024
+ }
3025
+ status
3026
+ stats {
3027
+ totalContacts
3028
+ calledCount
3029
+ connectedCount
3030
+ remainingCount
3031
+ lastActivity
3032
+ }
3033
+ contacts
3034
+ called
3035
+ connected
3036
+ lastActivity
3037
+ }
3038
+ }
3039
+ pk
3040
+ industry {
3041
+ industrySector {
3042
+ id
3043
+ name
3044
+ description
3045
+ orderBy
3046
+ }
3047
+ id
3048
+ pk
3049
+ name
3050
+ description
3051
+ }
3052
+ primaryLocation {
3053
+ id
3054
+ address1
3055
+ address2
3056
+ city
3057
+ state
3058
+ zipCode
3059
+ country
3060
+ isPrimary
3061
+ locationType
3062
+ locationName
3063
+ phone
3064
+ email
3065
+ createdAt
3066
+ updatedAt
3067
+ fullAddress
3068
+ }
3069
+ averageScore
3070
+ ownedByUser
3071
+ }
3072
+ }`;
3073
+ exports.CONTACT = (0, client_1.gql) `
3074
+ query Contact($id: String) {
3075
+ contact(id: $id) {
3076
+ id
3077
+ name
3078
+ firstName
3079
+ lastName
3080
+ email
3081
+ workEmail
3082
+ workEmail2
3083
+ personalEmail
3084
+ personalEmail2
3085
+ phone
3086
+ phone2
3087
+ phone3
3088
+ title
3089
+ linkedinUrl
3090
+ isPrimary
3091
+ isCustomer
3092
+ notes
3093
+ lastContactedAt
3094
+ ownedByUser
3095
+ contactLog {
3096
+ id
3097
+ sentAt
3098
+ openedAt
3099
+ clickedAt
3100
+ bouncedAt
3101
+ status
3102
+ }
3103
+ inSegments {
3104
+ id
3105
+ name
3106
+ state
3107
+ industry
3108
+ }
3109
+ companyName
3110
+ stats {
3111
+ totalOpened
3112
+ totalReplied
3113
+ totalBounced
3114
+ }
3115
+ }
3116
+ }`;
3117
+ exports.INDUSTRY_TYPES = (0, client_1.gql) `
3118
+ query IndustryTypes {
3119
+ industryTypes {
3120
+ industrySector {
3121
+ id
3122
+ name
3123
+ description
3124
+ orderBy
3125
+ }
3126
+ id
3127
+ pk
3128
+ name
3129
+ description
3130
+ }
3131
+ }`;
3132
+ exports.INDUSTRY_SECTORS = (0, client_1.gql) `
3133
+ query IndustrySectors {
3134
+ industrySectors {
3135
+ id
3136
+ name
3137
+ description
3138
+ orderBy
3139
+ }
3140
+ }`;
3141
+ exports.PRODUCT_TYPES = (0, client_1.gql) `
3142
+ query ProductTypes {
3143
+ productTypes {
3144
+ id
3145
+ name
3146
+ orderBy
3147
+ productCategories {
3148
+ id
3149
+ name
3150
+ orderBy
3151
+ pk
3152
+ }
3153
+ pk
3154
+ }
3155
+ }`;
3156
+ exports.PRODUCT_CATEGORIES = (0, client_1.gql) `
3157
+ query ProductCategories {
3158
+ productCategories {
3159
+ id
3160
+ name
3161
+ orderBy
3162
+ productTypes {
3163
+ id
3164
+ name
3165
+ orderBy
3166
+ pk
3167
+ }
3168
+ pk
3169
+ }
3170
+ }`;
3171
+ exports.METAL_TYPES = (0, client_1.gql) `
3172
+ query MetalTypes {
3173
+ metalTypes {
3174
+ id
3175
+ name
3176
+ orderBy
3177
+ }
3178
+ }`;
3179
+ exports.METAL_GRADES = (0, client_1.gql) `
3180
+ query MetalGrades {
3181
+ metalGrades {
3182
+ id
3183
+ name
3184
+ metalType {
3185
+ id
3186
+ name
3187
+ orderBy
3188
+ }
3189
+ }
3190
+ }`;
3191
+ exports.US_STATES = (0, client_1.gql) `
3192
+ query UsStates {
3193
+ usStates {
3194
+ name
3195
+ abbreviation
3196
+ }
3197
+ }`;
3198
+ exports.EMPLOYEE_SIZES = (0, client_1.gql) `
3199
+ query EmployeeSizes {
3200
+ employeeSizes {
3201
+ name
3202
+ abbreviation
3203
+ }
3204
+ }`;
3205
+ exports.CURRENT_ACCOUNT = (0, client_1.gql) `
3206
+ query CurrentAccount {
3207
+ currentAccount {
3208
+ id
3209
+ name
3210
+ isActive
3211
+ createdAt
3212
+ updatedAt
3213
+ }
3214
+ }`;
3215
+ exports.ACCOUNT_MEMBERS = (0, client_1.gql) `
3216
+ query AccountMembers {
3217
+ accountMembers {
3218
+ user {
3219
+ id
3220
+ email
3221
+ firstName
3222
+ lastName
3223
+ picture
3224
+ }
3225
+ isAdmin
3226
+ id
3227
+ createdAt
3228
+ updatedAt
3229
+ }
3230
+ }`;
3231
+ exports.PENDING_INVITATIONS = (0, client_1.gql) `
3232
+ query PendingInvitations {
3233
+ pendingInvitations {
3234
+ email
3235
+ status
3236
+ }
3237
+ }`;
3238
+ exports.BUSINESS_PROFILE = (0, client_1.gql) `
3239
+ query BusinessProfile {
3240
+ businessProfile {
3241
+ id
3242
+ createdAt
3243
+ updatedAt
3244
+ name
3245
+ email
3246
+ phone
3247
+ website
3248
+ logo
3249
+ address1
3250
+ address2
3251
+ city
3252
+ state
3253
+ zipCode
3254
+ locationLatitude
3255
+ locationLongitude
3256
+ }
3257
+ }`;
3258
+ exports.MY_INVITATIONS = (0, client_1.gql) `
3259
+ query MyInvitations {
3260
+ myInvitations {
3261
+ email
3262
+ status
3263
+ id
3264
+ account {
3265
+ id
3266
+ name
3267
+ isActive
3268
+ createdAt
3269
+ updatedAt
3270
+ }
3271
+ invitedBy {
3272
+ id
3273
+ email
3274
+ firstName
3275
+ lastName
3276
+ picture
3277
+ }
3278
+ token
3279
+ }
3280
+ }`;
3281
+ exports.USER_PROFILE = (0, client_1.gql) `
3282
+ query UserProfile {
3283
+ userProfile {
3284
+ id
3285
+ firstName
3286
+ lastName
3287
+ phoneNumber
3288
+ timezone
3289
+ createdAt
3290
+ updatedAt
3291
+ emailSignature
3292
+ user {
3293
+ id
3294
+ email
3295
+ firstName
3296
+ lastName
3297
+ picture
3298
+ }
3299
+ }
3300
+ }`;