@@ -64,10 +64,6 @@ async function getServiceManifest() {
6464 checkbox : true ,
6565 helper : `Select the types of communications you'd like automatically logged to your CRM.` ,
6666 options : [
67- {
68- id : 'oneTimeLog' ,
69- name : 'One-time call logging'
70- } ,
7167 {
7268 id : 'autoLogAnsweredIncoming' ,
7369 name : 'Answered incoming calls'
@@ -106,8 +102,7 @@ async function getServiceManifest() {
106102 ...( userCore . getAutoLogVoicemailsSetting ( userSettings ) . value ? [ 'autoLogVoicemails' ] : [ ] ) ,
107103 ...( userCore . getAutoLogSMSSetting ( userSettings ) . value ? [ 'autoLogSMS' ] : [ ] ) ,
108104 ...( userCore . getAutoLogInboundFaxSetting ( userSettings ) . value ? [ 'autoLogInboundFax' ] : [ ] ) ,
109- ...( userCore . getAutoLogOutboundFaxSetting ( userSettings ) . value ? [ 'autoLogOutboundFax' ] : [ ] ) ,
110- ...( userCore . getOneTimeLogSetting ( userSettings ) . value ? [ 'oneTimeLog' ] : [ ] )
105+ ...( userCore . getAutoLogOutboundFaxSetting ( userSettings ) . value ? [ 'autoLogOutboundFax' ] : [ ] )
111106 ] ;
112107 console . log ( 'Service manifest activity logging values:' , activityLoggingValues ) ;
113108 console . log ( 'User settings for activity logging:' , {
@@ -117,8 +112,7 @@ async function getServiceManifest() {
117112 autoLogVoicemails : userCore . getAutoLogVoicemailsSetting ( userSettings ) ,
118113 autoLogSMS : userCore . getAutoLogSMSSetting ( userSettings ) ,
119114 autoLogInboundFax : userCore . getAutoLogInboundFaxSetting ( userSettings ) ,
120- autoLogOutboundFax : userCore . getAutoLogOutboundFaxSetting ( userSettings ) ,
121- oneTimeLog : userCore . getOneTimeLogSetting ( userSettings )
115+ autoLogOutboundFax : userCore . getAutoLogOutboundFaxSetting ( userSettings )
122116 } ) ;
123117 return activityLoggingValues ;
124118 } ) ( ) ,
@@ -128,16 +122,14 @@ async function getServiceManifest() {
128122 userCore . getAutoLogVoicemailsSetting ( userSettings ) . readOnly ||
129123 userCore . getAutoLogSMSSetting ( userSettings ) . readOnly ||
130124 userCore . getAutoLogInboundFaxSetting ( userSettings ) . readOnly ||
131- userCore . getAutoLogOutboundFaxSetting ( userSettings ) . readOnly ||
132- userCore . getOneTimeLogSetting ( userSettings ) . readOnly ,
125+ userCore . getAutoLogOutboundFaxSetting ( userSettings ) . readOnly ,
133126 readOnlyReason : userCore . getAutoLogAnsweredIncomingSetting ( userSettings , isAdmin ) . readOnlyReason ||
134127 userCore . getAutoLogMissedIncomingSetting ( userSettings , isAdmin ) . readOnlyReason ||
135128 userCore . getAutoLogOutgoingSetting ( userSettings , isAdmin ) . readOnlyReason ||
136129 userCore . getAutoLogVoicemailsSetting ( userSettings ) . readOnlyReason ||
137130 userCore . getAutoLogSMSSetting ( userSettings ) . readOnlyReason ||
138131 userCore . getAutoLogInboundFaxSetting ( userSettings ) . readOnlyReason ||
139- userCore . getAutoLogOutboundFaxSetting ( userSettings ) . readOnlyReason ||
140- userCore . getOneTimeLogSetting ( userSettings ) . readOnlyReason
132+ userCore . getAutoLogOutboundFaxSetting ( userSettings ) . readOnlyReason
141133 } ,
142134 {
143135 id : "logSyncFrequency" ,
@@ -174,6 +166,15 @@ async function getServiceManifest() {
174166 readOnly : userCore . getLogSyncFrequencySetting ( userSettings ) . readOnly ,
175167 readOnlyReason : userCore . getLogSyncFrequencySetting ( userSettings ) . readOnlyReason ,
176168 } ,
169+ {
170+ id : 'oneTimeLog' ,
171+ type : 'boolean' ,
172+ name : 'One-time call logging' ,
173+ description : 'Enable one-time call logging functionality.' ,
174+ value : userCore . getOneTimeLogSetting ( userSettings ) . value ,
175+ readOnly : userCore . getOneTimeLogSetting ( userSettings ) . readOnly ,
176+ readOnlyReason : userCore . getOneTimeLogSetting ( userSettings ) . readOnlyReason
177+ } ,
177178 {
178179 id : 'autoOpenOptions' ,
179180 type : 'option' ,
0 commit comments