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 _0x0a0a=['ScreenRecording','screen_recordings','interactionid','lodash','../../config/logger','bluebird','request-promise','rimraf','./screenRecording.attributes','exports'];(function(_0x39f4f4,_0x39f24d){var _0x2af097=function(_0x329053){while(--_0x329053){_0x39f4f4['push'](_0x39f4f4['shift']());}};_0x2af097(++_0x39f24d);}(_0x0a0a,0x1b1));var _0xa0a0=function(_0x40157e,_0x5532db){_0x40157e=_0x40157e-0x0;var _0x3c1388=_0x0a0a[_0x40157e];return _0x3c1388;};'use strict';var _=require(_0xa0a0('0x0'));var util=require('util');var logger=require(_0xa0a0('0x1'))('api');var moment=require('moment');var BPromise=require(_0xa0a0('0x2'));var rp=require(_0xa0a0('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa0a0('0x4'));var config=require('../../config/environment');var attributes=require(_0xa0a0('0x5'));module[_0xa0a0('0x6')]=function(_0x304633,_0x7fc90){return _0x304633['define'](_0xa0a0('0x7'),attributes,{'tableName':_0xa0a0('0x8'),'paranoid':![],'indexes':[{'name':_0xa0a0('0x9'),'fields':[_0xa0a0('0x9')]}],'timestamps':!![]});};