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 _0x9438=['bluebird','request-promise','path','rimraf','./screenRecording.attributes','exports','define','ScreenRecording','screen_recordings','interactionid','lodash','api'];(function(_0x3c5151,_0xfbf2b4){var _0x39fac2=function(_0x590f38){while(--_0x590f38){_0x3c5151['push'](_0x3c5151['shift']());}};_0x39fac2(++_0xfbf2b4);}(_0x9438,0x82));var _0x8943=function(_0x301106,_0x121e1b){_0x301106=_0x301106-0x0;var _0x4a9353=_0x9438[_0x301106];return _0x4a9353;};'use strict';var _=require(_0x8943('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x8943('0x1'));var moment=require('moment');var BPromise=require(_0x8943('0x2'));var rp=require(_0x8943('0x3'));var fs=require('fs');var path=require(_0x8943('0x4'));var rimraf=require(_0x8943('0x5'));var config=require('../../config/environment');var attributes=require(_0x8943('0x6'));module[_0x8943('0x7')]=function(_0x38da7e,_0x2473bf){return _0x38da7e[_0x8943('0x8')](_0x8943('0x9'),attributes,{'tableName':_0x8943('0xa'),'paranoid':![],'indexes':[{'name':_0x8943('0xb'),'fields':[_0x8943('0xb')]}],'timestamps':!![]});};