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 _0x6bc4=['./screenRecording.attributes','exports','ScreenRecording','interactionid','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x3bb9d9,_0xe64235){var _0x4ca040=function(_0x592c59){while(--_0x592c59){_0x3bb9d9['push'](_0x3bb9d9['shift']());}};_0x4ca040(++_0xe64235);}(_0x6bc4,0xa9));var _0x46bc=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6bc4[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x46bc('0x0'));var moment=require(_0x46bc('0x1'));var BPromise=require(_0x46bc('0x2'));var rp=require(_0x46bc('0x3'));var fs=require('fs');var path=require(_0x46bc('0x4'));var rimraf=require(_0x46bc('0x5'));var config=require(_0x46bc('0x6'));var attributes=require(_0x46bc('0x7'));module[_0x46bc('0x8')]=function(_0xec0413,_0x383834){return _0xec0413['define'](_0x46bc('0x9'),attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0x46bc('0xa'),'fields':[_0x46bc('0xa')]}],'timestamps':!![]});};