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 _0x67f4=['./screenRecording.attributes','exports','define','ScreenRecording','interactionid','lodash','util','moment','bluebird','path','rimraf'];(function(_0x5ccde1,_0x28af3c){var _0x4e76a6=function(_0x599490){while(--_0x599490){_0x5ccde1['push'](_0x5ccde1['shift']());}};_0x4e76a6(++_0x28af3c);}(_0x67f4,0x89));var _0x467f=function(_0x4fab64,_0x55e4f3){_0x4fab64=_0x4fab64-0x0;var _0x58f7ae=_0x67f4[_0x4fab64];return _0x58f7ae;};'use strict';var _=require(_0x467f('0x0'));var util=require(_0x467f('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x467f('0x2'));var BPromise=require(_0x467f('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x467f('0x4'));var rimraf=require(_0x467f('0x5'));var config=require('../../config/environment');var attributes=require(_0x467f('0x6'));module[_0x467f('0x7')]=function(_0x558bdd,_0x6dabc8){return _0x558bdd[_0x467f('0x8')](_0x467f('0x9'),attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0x467f('0xa'),'fields':[_0x467f('0xa')]}],'timestamps':!![]});};