1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xecdf=['bluebird','request-promise','path','exports','define','screen_recordings','interactionid','util','moment'];(function(_0x17b6e3,_0x4522ed){var _0x3906f3=function(_0x430f87){while(--_0x430f87){_0x17b6e3['push'](_0x17b6e3['shift']());}};_0x3906f3(++_0x4522ed);}(_0xecdf,0x7c));var _0xfecd=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0xecdf[_0x4565bf];return _0x5610ba;};'use strict';var _=require('lodash');var util=require(_0xfecd('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xfecd('0x1'));var BPromise=require(_0xfecd('0x2'));var rp=require(_0xfecd('0x3'));var fs=require('fs');var path=require(_0xfecd('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./screenRecording.attributes');module[_0xfecd('0x5')]=function(_0x396221,_0x1a8e28){return _0x396221[_0xfecd('0x6')]('ScreenRecording',attributes,{'tableName':_0xfecd('0x7'),'paranoid':![],'indexes':[{'name':_0xfecd('0x8'),'fields':['interactionid']}],'timestamps':!![]});};