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 _0xfce1=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','exports','ScreenRecording','interactionid'];(function(_0x426603,_0x186747){var _0x32283f=function(_0x29e14f){while(--_0x29e14f){_0x426603['push'](_0x426603['shift']());}};_0x32283f(++_0x186747);}(_0xfce1,0xb0));var _0x1fce=function(_0x13d07a,_0x41efc3){_0x13d07a=_0x13d07a-0x0;var _0x5ee0ee=_0xfce1[_0x13d07a];return _0x5ee0ee;};'use strict';var _=require(_0x1fce('0x0'));var util=require(_0x1fce('0x1'));var logger=require(_0x1fce('0x2'))('api');var moment=require(_0x1fce('0x3'));var BPromise=require(_0x1fce('0x4'));var rp=require(_0x1fce('0x5'));var fs=require('fs');var path=require(_0x1fce('0x6'));var rimraf=require('rimraf');var config=require(_0x1fce('0x7'));var attributes=require('./screenRecording.attributes');module[_0x1fce('0x8')]=function(_0x3b5043,_0x231700){return _0x3b5043['define'](_0x1fce('0x9'),attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':'interactionid','fields':[_0x1fce('0xa')]}],'timestamps':!![]});};