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 _0xa101=['./screenRecording.attributes','define','ScreenRecording','screen_recordings','interactionid','lodash','util','../../config/logger','moment','path','rimraf','../../config/environment'];(function(_0x484e36,_0x4482d8){var _0xafc85d=function(_0xaba9c8){while(--_0xaba9c8){_0x484e36['push'](_0x484e36['shift']());}};_0xafc85d(++_0x4482d8);}(_0xa101,0xdd));var _0x1a10=function(_0x59b2a1,_0x1f631f){_0x59b2a1=_0x59b2a1-0x0;var _0x4908d1=_0xa101[_0x59b2a1];return _0x4908d1;};'use strict';var _=require(_0x1a10('0x0'));var util=require(_0x1a10('0x1'));var logger=require(_0x1a10('0x2'))('api');var moment=require(_0x1a10('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x1a10('0x4'));var rimraf=require(_0x1a10('0x5'));var config=require(_0x1a10('0x6'));var attributes=require(_0x1a10('0x7'));module['exports']=function(_0x3ccb69,_0x391645){return _0x3ccb69[_0x1a10('0x8')](_0x1a10('0x9'),attributes,{'tableName':_0x1a10('0xa'),'paranoid':![],'indexes':[{'name':_0x1a10('0xb'),'fields':[_0x1a10('0xb')]}],'timestamps':!![]});};