cf-service-sdk 0.0.69 → 0.0.70

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.
@@ -535,7 +535,7 @@ export type CallReportLogObject = {
535
535
  productsOfInterest?: Maybe<Scalars['JSONString']['output']>;
536
536
  salespersonId?: Maybe<Scalars['Int']['output']>;
537
537
  salespersonName?: Maybe<Scalars['String']['output']>;
538
- /** Source of the call log: 'CallCampaign' or 'CombinedCampaign' */
538
+ /** Source of the call log: 'CallCampaign', 'CombinedCampaign', or 'CRMNote' */
539
539
  source?: Maybe<Scalars['String']['output']>;
540
540
  tasks?: Maybe<Array<Maybe<TaskObject>>>;
541
541
  timestamp?: Maybe<Scalars['DateTime']['output']>;
@@ -615,6 +615,8 @@ export type CampaignContactItemType = {
615
615
  lastContactedVia?: Maybe<LastContactedViaType>;
616
616
  /** Last name of the contact */
617
617
  lastName?: Maybe<Scalars['String']['output']>;
618
+ /** Logs for this contact in the combined campaign */
619
+ logs?: Maybe<Array<Maybe<CombinedCampaignLogObject>>>;
618
620
  /** Phone of the contact */
619
621
  phone?: Maybe<Scalars['String']['output']>;
620
622
  /** Step ID for combined campaign contacts */
@@ -19856,6 +19858,272 @@ export type CampaignContactsQuery = {
19856
19858
  picture?: string | null;
19857
19859
  } | null;
19858
19860
  } | null> | null;
19861
+ logs?: Array<{
19862
+ __typename?: 'CombinedCampaignLogObject';
19863
+ id?: string | null;
19864
+ uuid?: string | null;
19865
+ contact?: string | null;
19866
+ status?: string | null;
19867
+ scheduledFor?: any | null;
19868
+ startedAt?: any | null;
19869
+ completedAt?: any | null;
19870
+ outcome?: string | null;
19871
+ notes?: string | null;
19872
+ currentSupplier?: string | null;
19873
+ productsOfInterest?: any | null;
19874
+ businessOpportunities?: any | null;
19875
+ businessSize?: string | null;
19876
+ businessRevenue?: string | null;
19877
+ businessEmployees?: number | null;
19878
+ businessLocation?: string | null;
19879
+ businessIndustry?: string | null;
19880
+ metadata?: any | null;
19881
+ errorMessage?: string | null;
19882
+ attempts?: number | null;
19883
+ lastAttemptAt?: any | null;
19884
+ contactLogId?: string | null;
19885
+ taskId?: string | null;
19886
+ draftSubject?: string | null;
19887
+ draftBody?: string | null;
19888
+ createdAt?: any | null;
19889
+ updatedAt?: any | null;
19890
+ contactName?: string | null;
19891
+ contactEmail?: string | null;
19892
+ companyName?: string | null;
19893
+ campaign?: {
19894
+ __typename?: 'CombinedCampaignObject';
19895
+ id?: string | null;
19896
+ uuid?: string | null;
19897
+ name?: string | null;
19898
+ description?: string | null;
19899
+ status?: string | null;
19900
+ scheduledFor?: any | null;
19901
+ startedAt?: any | null;
19902
+ completedAt?: any | null;
19903
+ cancelledAt?: any | null;
19904
+ pausedAt?: any | null;
19905
+ settings?: any | null;
19906
+ totalContacts?: number | null;
19907
+ completedContacts?: number | null;
19908
+ lastActivity?: any | null;
19909
+ stepsPreview?: any | null;
19910
+ createdAt?: any | null;
19911
+ updatedAt?: any | null;
19912
+ steps?: Array<{
19913
+ __typename?: 'CombinedCampaignStepObject';
19914
+ id?: string | null;
19915
+ uuid?: string | null;
19916
+ order?: number | null;
19917
+ stepType?: string | null;
19918
+ status?: string | null;
19919
+ subject?: string | null;
19920
+ template?: string | null;
19921
+ taskTitle?: string | null;
19922
+ taskDescription?: string | null;
19923
+ taskCategory?: string | null;
19924
+ taskPriority?: string | null;
19925
+ delay?: number | null;
19926
+ delayUnit?: string | null;
19927
+ condition?: string | null;
19928
+ useBusinessDays?: boolean | null;
19929
+ settings?: any | null;
19930
+ createdAt?: any | null;
19931
+ updatedAt?: any | null;
19932
+ } | null> | null;
19933
+ segments?: Array<{
19934
+ __typename?: 'SegmentObject';
19935
+ id?: string | null;
19936
+ name?: string | null;
19937
+ description?: string | null;
19938
+ state?: string | null;
19939
+ industry?: string | null;
19940
+ metalType?: string | null;
19941
+ productCategory?: string | null;
19942
+ segmentType?: string | null;
19943
+ createdAt?: any | null;
19944
+ updatedAt?: any | null;
19945
+ isSystemTemplate?: boolean | null;
19946
+ totalContacts?: number | null;
19947
+ status?: string | null;
19948
+ } | null> | null;
19949
+ stepStats?: Array<{
19950
+ __typename?: 'CombinedCampaignStepStatsObject';
19951
+ stepId?: string | null;
19952
+ stepOrder?: number | null;
19953
+ stepType?: string | null;
19954
+ completed?: number | null;
19955
+ skipped?: number | null;
19956
+ total?: number | null;
19957
+ completionRate?: number | null;
19958
+ } | null> | null;
19959
+ } | null;
19960
+ step?: {
19961
+ __typename?: 'CombinedCampaignStepObject';
19962
+ id?: string | null;
19963
+ uuid?: string | null;
19964
+ order?: number | null;
19965
+ stepType?: string | null;
19966
+ status?: string | null;
19967
+ subject?: string | null;
19968
+ template?: string | null;
19969
+ taskTitle?: string | null;
19970
+ taskDescription?: string | null;
19971
+ taskCategory?: string | null;
19972
+ taskPriority?: string | null;
19973
+ delay?: number | null;
19974
+ delayUnit?: string | null;
19975
+ condition?: string | null;
19976
+ useBusinessDays?: boolean | null;
19977
+ settings?: any | null;
19978
+ createdAt?: any | null;
19979
+ updatedAt?: any | null;
19980
+ } | null;
19981
+ tasks?: Array<{
19982
+ __typename?: 'TaskObject';
19983
+ id?: number | null;
19984
+ title?: string | null;
19985
+ category?: string | null;
19986
+ description?: string | null;
19987
+ dueDate?: any | null;
19988
+ priority?: string | null;
19989
+ reminderType?: string | null;
19990
+ status?: string | null;
19991
+ completedAt?: any | null;
19992
+ createdAt?: any | null;
19993
+ updatedAt?: any | null;
19994
+ companyId?: number | null;
19995
+ companyName?: string | null;
19996
+ contactId?: number | null;
19997
+ contactName?: string | null;
19998
+ overdue?: boolean | null;
19999
+ assignedTo?: {
20000
+ __typename?: 'UserType';
20001
+ id?: string | null;
20002
+ email?: string | null;
20003
+ firstName?: string | null;
20004
+ lastName?: string | null;
20005
+ picture?: string | null;
20006
+ } | null;
20007
+ callCampaign?: {
20008
+ __typename?: 'CallCampaignObject';
20009
+ id?: string | null;
20010
+ createdAt?: any | null;
20011
+ updatedAt?: any | null;
20012
+ name?: string | null;
20013
+ description?: string | null;
20014
+ status?: string | null;
20015
+ contacts?: number | null;
20016
+ called?: number | null;
20017
+ connected?: number | null;
20018
+ lastActivity?: any | null;
20019
+ user?: {
20020
+ __typename?: 'UserType';
20021
+ id?: string | null;
20022
+ email?: string | null;
20023
+ firstName?: string | null;
20024
+ lastName?: string | null;
20025
+ picture?: string | null;
20026
+ } | null;
20027
+ account?: {
20028
+ __typename?: 'AccountType';
20029
+ id?: string | null;
20030
+ name?: string | null;
20031
+ isActive?: boolean | null;
20032
+ createdAt?: any | null;
20033
+ updatedAt?: any | null;
20034
+ } | null;
20035
+ segments?: Array<{
20036
+ __typename?: 'SegmentObject';
20037
+ id?: string | null;
20038
+ name?: string | null;
20039
+ description?: string | null;
20040
+ state?: string | null;
20041
+ industry?: string | null;
20042
+ metalType?: string | null;
20043
+ productCategory?: string | null;
20044
+ segmentType?: string | null;
20045
+ createdAt?: any | null;
20046
+ updatedAt?: any | null;
20047
+ isSystemTemplate?: boolean | null;
20048
+ totalContacts?: number | null;
20049
+ status?: string | null;
20050
+ } | null> | null;
20051
+ stats?: {
20052
+ __typename?: 'CallCampaignStatsObject';
20053
+ totalContacts?: number | null;
20054
+ calledCount?: number | null;
20055
+ connectedCount?: number | null;
20056
+ remainingCount?: number | null;
20057
+ lastActivity?: any | null;
20058
+ statusCounts?: any | null;
20059
+ } | null;
20060
+ } | null;
20061
+ callCampaignLog?: {
20062
+ __typename?: 'CallCampaignLogObject';
20063
+ id?: string | null;
20064
+ status?: string | null;
20065
+ outcome?: string | null;
20066
+ lastCalled?: any | null;
20067
+ notes?: string | null;
20068
+ businessSize?: string | null;
20069
+ businessRevenue?: string | null;
20070
+ businessEmployees?: number | null;
20071
+ businessLocation?: string | null;
20072
+ businessIndustry?: string | null;
20073
+ createdAt?: any | null;
20074
+ updatedAt?: any | null;
20075
+ metadata?: any | null;
20076
+ productsOfInterest?: any | null;
20077
+ businessOpportunities?: any | null;
20078
+ currentSupplier?: string | null;
20079
+ campaignId?: string | null;
20080
+ campaignName?: string | null;
20081
+ segmentId?: number | null;
20082
+ segmentName?: string | null;
20083
+ contactId?: number | null;
20084
+ contactName?: string | null;
20085
+ userId?: number | null;
20086
+ userName?: string | null;
20087
+ accountId?: number | null;
20088
+ } | null;
20089
+ companyNote?: {
20090
+ __typename?: 'CompanyNoteObject';
20091
+ id?: string | null;
20092
+ accountId?: number | null;
20093
+ contactPersonId?: number | null;
20094
+ contactPersonName?: string | null;
20095
+ date?: any | null;
20096
+ noteType?: string | null;
20097
+ duration?: string | null;
20098
+ competitorsMentioned?: string | null;
20099
+ notes?: string | null;
20100
+ summary?: string | null;
20101
+ setReminder?: boolean | null;
20102
+ pinned?: boolean | null;
20103
+ followUpDate?: any | null;
20104
+ followUpAction?: string | null;
20105
+ createdAt?: any | null;
20106
+ updatedAt?: any | null;
20107
+ companyId?: number | null;
20108
+ companyName?: string | null;
20109
+ userId?: number | null;
20110
+ userFirstName?: string | null;
20111
+ userLastName?: string | null;
20112
+ callCampaignLogId?: number | null;
20113
+ callCampaignName?: string | null;
20114
+ callCampaignId?: number | null;
20115
+ callCampaignLogOutcome?: string | null;
20116
+ } | null;
20117
+ createdBy?: {
20118
+ __typename?: 'UserType';
20119
+ id?: string | null;
20120
+ email?: string | null;
20121
+ firstName?: string | null;
20122
+ lastName?: string | null;
20123
+ picture?: string | null;
20124
+ } | null;
20125
+ } | null> | null;
20126
+ } | null> | null;
19859
20127
  } | null> | null;
19860
20128
  pagination?: {
19861
20129
  __typename?: 'PaginationInfo';
@@ -20417,6 +20685,272 @@ export type CombinedCampaignContactsQuery = {
20417
20685
  picture?: string | null;
20418
20686
  } | null;
20419
20687
  } | null> | null;
20688
+ logs?: Array<{
20689
+ __typename?: 'CombinedCampaignLogObject';
20690
+ id?: string | null;
20691
+ uuid?: string | null;
20692
+ contact?: string | null;
20693
+ status?: string | null;
20694
+ scheduledFor?: any | null;
20695
+ startedAt?: any | null;
20696
+ completedAt?: any | null;
20697
+ outcome?: string | null;
20698
+ notes?: string | null;
20699
+ currentSupplier?: string | null;
20700
+ productsOfInterest?: any | null;
20701
+ businessOpportunities?: any | null;
20702
+ businessSize?: string | null;
20703
+ businessRevenue?: string | null;
20704
+ businessEmployees?: number | null;
20705
+ businessLocation?: string | null;
20706
+ businessIndustry?: string | null;
20707
+ metadata?: any | null;
20708
+ errorMessage?: string | null;
20709
+ attempts?: number | null;
20710
+ lastAttemptAt?: any | null;
20711
+ contactLogId?: string | null;
20712
+ taskId?: string | null;
20713
+ draftSubject?: string | null;
20714
+ draftBody?: string | null;
20715
+ createdAt?: any | null;
20716
+ updatedAt?: any | null;
20717
+ contactName?: string | null;
20718
+ contactEmail?: string | null;
20719
+ companyName?: string | null;
20720
+ campaign?: {
20721
+ __typename?: 'CombinedCampaignObject';
20722
+ id?: string | null;
20723
+ uuid?: string | null;
20724
+ name?: string | null;
20725
+ description?: string | null;
20726
+ status?: string | null;
20727
+ scheduledFor?: any | null;
20728
+ startedAt?: any | null;
20729
+ completedAt?: any | null;
20730
+ cancelledAt?: any | null;
20731
+ pausedAt?: any | null;
20732
+ settings?: any | null;
20733
+ totalContacts?: number | null;
20734
+ completedContacts?: number | null;
20735
+ lastActivity?: any | null;
20736
+ stepsPreview?: any | null;
20737
+ createdAt?: any | null;
20738
+ updatedAt?: any | null;
20739
+ steps?: Array<{
20740
+ __typename?: 'CombinedCampaignStepObject';
20741
+ id?: string | null;
20742
+ uuid?: string | null;
20743
+ order?: number | null;
20744
+ stepType?: string | null;
20745
+ status?: string | null;
20746
+ subject?: string | null;
20747
+ template?: string | null;
20748
+ taskTitle?: string | null;
20749
+ taskDescription?: string | null;
20750
+ taskCategory?: string | null;
20751
+ taskPriority?: string | null;
20752
+ delay?: number | null;
20753
+ delayUnit?: string | null;
20754
+ condition?: string | null;
20755
+ useBusinessDays?: boolean | null;
20756
+ settings?: any | null;
20757
+ createdAt?: any | null;
20758
+ updatedAt?: any | null;
20759
+ } | null> | null;
20760
+ segments?: Array<{
20761
+ __typename?: 'SegmentObject';
20762
+ id?: string | null;
20763
+ name?: string | null;
20764
+ description?: string | null;
20765
+ state?: string | null;
20766
+ industry?: string | null;
20767
+ metalType?: string | null;
20768
+ productCategory?: string | null;
20769
+ segmentType?: string | null;
20770
+ createdAt?: any | null;
20771
+ updatedAt?: any | null;
20772
+ isSystemTemplate?: boolean | null;
20773
+ totalContacts?: number | null;
20774
+ status?: string | null;
20775
+ } | null> | null;
20776
+ stepStats?: Array<{
20777
+ __typename?: 'CombinedCampaignStepStatsObject';
20778
+ stepId?: string | null;
20779
+ stepOrder?: number | null;
20780
+ stepType?: string | null;
20781
+ completed?: number | null;
20782
+ skipped?: number | null;
20783
+ total?: number | null;
20784
+ completionRate?: number | null;
20785
+ } | null> | null;
20786
+ } | null;
20787
+ step?: {
20788
+ __typename?: 'CombinedCampaignStepObject';
20789
+ id?: string | null;
20790
+ uuid?: string | null;
20791
+ order?: number | null;
20792
+ stepType?: string | null;
20793
+ status?: string | null;
20794
+ subject?: string | null;
20795
+ template?: string | null;
20796
+ taskTitle?: string | null;
20797
+ taskDescription?: string | null;
20798
+ taskCategory?: string | null;
20799
+ taskPriority?: string | null;
20800
+ delay?: number | null;
20801
+ delayUnit?: string | null;
20802
+ condition?: string | null;
20803
+ useBusinessDays?: boolean | null;
20804
+ settings?: any | null;
20805
+ createdAt?: any | null;
20806
+ updatedAt?: any | null;
20807
+ } | null;
20808
+ tasks?: Array<{
20809
+ __typename?: 'TaskObject';
20810
+ id?: number | null;
20811
+ title?: string | null;
20812
+ category?: string | null;
20813
+ description?: string | null;
20814
+ dueDate?: any | null;
20815
+ priority?: string | null;
20816
+ reminderType?: string | null;
20817
+ status?: string | null;
20818
+ completedAt?: any | null;
20819
+ createdAt?: any | null;
20820
+ updatedAt?: any | null;
20821
+ companyId?: number | null;
20822
+ companyName?: string | null;
20823
+ contactId?: number | null;
20824
+ contactName?: string | null;
20825
+ overdue?: boolean | null;
20826
+ assignedTo?: {
20827
+ __typename?: 'UserType';
20828
+ id?: string | null;
20829
+ email?: string | null;
20830
+ firstName?: string | null;
20831
+ lastName?: string | null;
20832
+ picture?: string | null;
20833
+ } | null;
20834
+ callCampaign?: {
20835
+ __typename?: 'CallCampaignObject';
20836
+ id?: string | null;
20837
+ createdAt?: any | null;
20838
+ updatedAt?: any | null;
20839
+ name?: string | null;
20840
+ description?: string | null;
20841
+ status?: string | null;
20842
+ contacts?: number | null;
20843
+ called?: number | null;
20844
+ connected?: number | null;
20845
+ lastActivity?: any | null;
20846
+ user?: {
20847
+ __typename?: 'UserType';
20848
+ id?: string | null;
20849
+ email?: string | null;
20850
+ firstName?: string | null;
20851
+ lastName?: string | null;
20852
+ picture?: string | null;
20853
+ } | null;
20854
+ account?: {
20855
+ __typename?: 'AccountType';
20856
+ id?: string | null;
20857
+ name?: string | null;
20858
+ isActive?: boolean | null;
20859
+ createdAt?: any | null;
20860
+ updatedAt?: any | null;
20861
+ } | null;
20862
+ segments?: Array<{
20863
+ __typename?: 'SegmentObject';
20864
+ id?: string | null;
20865
+ name?: string | null;
20866
+ description?: string | null;
20867
+ state?: string | null;
20868
+ industry?: string | null;
20869
+ metalType?: string | null;
20870
+ productCategory?: string | null;
20871
+ segmentType?: string | null;
20872
+ createdAt?: any | null;
20873
+ updatedAt?: any | null;
20874
+ isSystemTemplate?: boolean | null;
20875
+ totalContacts?: number | null;
20876
+ status?: string | null;
20877
+ } | null> | null;
20878
+ stats?: {
20879
+ __typename?: 'CallCampaignStatsObject';
20880
+ totalContacts?: number | null;
20881
+ calledCount?: number | null;
20882
+ connectedCount?: number | null;
20883
+ remainingCount?: number | null;
20884
+ lastActivity?: any | null;
20885
+ statusCounts?: any | null;
20886
+ } | null;
20887
+ } | null;
20888
+ callCampaignLog?: {
20889
+ __typename?: 'CallCampaignLogObject';
20890
+ id?: string | null;
20891
+ status?: string | null;
20892
+ outcome?: string | null;
20893
+ lastCalled?: any | null;
20894
+ notes?: string | null;
20895
+ businessSize?: string | null;
20896
+ businessRevenue?: string | null;
20897
+ businessEmployees?: number | null;
20898
+ businessLocation?: string | null;
20899
+ businessIndustry?: string | null;
20900
+ createdAt?: any | null;
20901
+ updatedAt?: any | null;
20902
+ metadata?: any | null;
20903
+ productsOfInterest?: any | null;
20904
+ businessOpportunities?: any | null;
20905
+ currentSupplier?: string | null;
20906
+ campaignId?: string | null;
20907
+ campaignName?: string | null;
20908
+ segmentId?: number | null;
20909
+ segmentName?: string | null;
20910
+ contactId?: number | null;
20911
+ contactName?: string | null;
20912
+ userId?: number | null;
20913
+ userName?: string | null;
20914
+ accountId?: number | null;
20915
+ } | null;
20916
+ companyNote?: {
20917
+ __typename?: 'CompanyNoteObject';
20918
+ id?: string | null;
20919
+ accountId?: number | null;
20920
+ contactPersonId?: number | null;
20921
+ contactPersonName?: string | null;
20922
+ date?: any | null;
20923
+ noteType?: string | null;
20924
+ duration?: string | null;
20925
+ competitorsMentioned?: string | null;
20926
+ notes?: string | null;
20927
+ summary?: string | null;
20928
+ setReminder?: boolean | null;
20929
+ pinned?: boolean | null;
20930
+ followUpDate?: any | null;
20931
+ followUpAction?: string | null;
20932
+ createdAt?: any | null;
20933
+ updatedAt?: any | null;
20934
+ companyId?: number | null;
20935
+ companyName?: string | null;
20936
+ userId?: number | null;
20937
+ userFirstName?: string | null;
20938
+ userLastName?: string | null;
20939
+ callCampaignLogId?: number | null;
20940
+ callCampaignName?: string | null;
20941
+ callCampaignId?: number | null;
20942
+ callCampaignLogOutcome?: string | null;
20943
+ } | null;
20944
+ createdBy?: {
20945
+ __typename?: 'UserType';
20946
+ id?: string | null;
20947
+ email?: string | null;
20948
+ firstName?: string | null;
20949
+ lastName?: string | null;
20950
+ picture?: string | null;
20951
+ } | null;
20952
+ } | null> | null;
20953
+ } | null> | null;
20420
20954
  } | null> | null;
20421
20955
  pagination?: {
20422
20956
  __typename?: 'PaginationInfo';