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 _0xf9bc=['./screenRecording.attributes','exports','define','ScreenRecording','screen_recordings','lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment'];(function(_0x17823f,_0xffd807){var _0x51fc21=function(_0x5e4921){while(--_0x5e4921){_0x17823f['push'](_0x17823f['shift']());}};_0x51fc21(++_0xffd807);}(_0xf9bc,0x157));var _0xcf9b=function(_0x3fdc1c,_0x37a475){_0x3fdc1c=_0x3fdc1c-0x0;var _0x495e29=_0xf9bc[_0x3fdc1c];return _0x495e29;};'use strict';var _=require(_0xcf9b('0x0'));var util=require(_0xcf9b('0x1'));var logger=require(_0xcf9b('0x2'))(_0xcf9b('0x3'));var moment=require(_0xcf9b('0x4'));var BPromise=require(_0xcf9b('0x5'));var rp=require(_0xcf9b('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xcf9b('0x7'));var attributes=require(_0xcf9b('0x8'));module[_0xcf9b('0x9')]=function(_0x2334b0,_0x12c881){return _0x2334b0[_0xcf9b('0xa')](_0xcf9b('0xb'),attributes,{'tableName':_0xcf9b('0xc'),'paranoid':![],'indexes':[{'name':'interactionid','fields':['interactionid']}],'timestamps':!![]});};