diff --git a/tap_ringcentral/schemas/company_call_log.json b/tap_ringcentral/schemas/company_call_log.json index f441fe6..2eb3fb1 100644 --- a/tap_ringcentral/schemas/company_call_log.json +++ b/tap_ringcentral/schemas/company_call_log.json @@ -15,7 +15,7 @@ }, "startTime": { "type": "string", - "format": "date-time" + "format": "datetime" }, "duration": { "type": "integer" @@ -26,6 +26,9 @@ "direction": { "type": ["null", "string"] }, + "recording": { + "type": ["null", "string"] + }, "action": { "type": ["null", "string"] }, diff --git a/tap_ringcentral/streams/company_call_log.py b/tap_ringcentral/streams/company_call_log.py index 604c558..c41008e 100644 --- a/tap_ringcentral/streams/company_call_log.py +++ b/tap_ringcentral/streams/company_call_log.py @@ -15,7 +15,7 @@ class CompanyCallLogStream(ContactBaseStream): @property def api_path(self): - return '/restapi/v1.0/account/~/call-log' + return '/restapi/v1.0/account/~/call-log?view=Detailed&withRecording=true' def sync_data_for_period(self, date, interval): self.sync_data_for_extension(date, interval, None)