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 _0xe2eb=['../../config/logger','bluebird','path','rimraf','../../config/environment','./screenRecording.attributes','exports','define','ScreenRecording','screen_recordings','interactionid','lodash','util'];(function(_0x2f1107,_0x2f46ce){var _0x214931=function(_0x5e9011){while(--_0x5e9011){_0x2f1107['push'](_0x2f1107['shift']());}};_0x214931(++_0x2f46ce);}(_0xe2eb,0x9a));var _0xbe2e=function(_0x275fcc,_0x424570){_0x275fcc=_0x275fcc-0x0;var _0x3057c5=_0xe2eb[_0x275fcc];return _0x3057c5;};'use strict';var _=require(_0xbe2e('0x0'));var util=require(_0xbe2e('0x1'));var logger=require(_0xbe2e('0x2'))('api');var moment=require('moment');var BPromise=require(_0xbe2e('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbe2e('0x4'));var rimraf=require(_0xbe2e('0x5'));var config=require(_0xbe2e('0x6'));var attributes=require(_0xbe2e('0x7'));module[_0xbe2e('0x8')]=function(_0xa92fa3,_0x31d247){return _0xa92fa3[_0xbe2e('0x9')](_0xbe2e('0xa'),attributes,{'tableName':_0xbe2e('0xb'),'paranoid':![],'indexes':[{'name':_0xbe2e('0xc'),'fields':[_0xbe2e('0xc')]}],'timestamps':!![]});};