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 _0x4692=['request-promise','path','../../config/environment','./screenRecording.attributes','exports','define','ScreenRecording','screen_recordings','interactionid','lodash','util','../../config/logger','moment'];(function(_0x4794b5,_0x34efd1){var _0x1ff218=function(_0x1dd96f){while(--_0x1dd96f){_0x4794b5['push'](_0x4794b5['shift']());}};_0x1ff218(++_0x34efd1);}(_0x4692,0x127));var _0x2469=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4692[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x2469('0x0'));var util=require(_0x2469('0x1'));var logger=require(_0x2469('0x2'))('api');var moment=require(_0x2469('0x3'));var BPromise=require('bluebird');var rp=require(_0x2469('0x4'));var fs=require('fs');var path=require(_0x2469('0x5'));var rimraf=require('rimraf');var config=require(_0x2469('0x6'));var attributes=require(_0x2469('0x7'));module[_0x2469('0x8')]=function(_0x136b2e,_0x4acad9){return _0x136b2e[_0x2469('0x9')](_0x2469('0xa'),attributes,{'tableName':_0x2469('0xb'),'paranoid':![],'indexes':[{'name':_0x2469('0xc'),'fields':[_0x2469('0xc')]}],'timestamps':!![]});};