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 _0x32ad=['ScreenRecording','screen_recordings','interactionid','lodash','../../config/logger','moment','path','../../config/environment','./screenRecording.attributes'];(function(_0x2427de,_0x321732){var _0x257fab=function(_0x2b72f7){while(--_0x2b72f7){_0x2427de['push'](_0x2427de['shift']());}};_0x257fab(++_0x321732);}(_0x32ad,0x1f2));var _0xd32a=function(_0x28e52f,_0x2c4c92){_0x28e52f=_0x28e52f-0x0;var _0x3ee591=_0x32ad[_0x28e52f];return _0x3ee591;};'use strict';var _=require(_0xd32a('0x0'));var util=require('util');var logger=require(_0xd32a('0x1'))('api');var moment=require(_0xd32a('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xd32a('0x3'));var rimraf=require('rimraf');var config=require(_0xd32a('0x4'));var attributes=require(_0xd32a('0x5'));module['exports']=function(_0x1a1e63,_0x2c80e0){return _0x1a1e63['define'](_0xd32a('0x6'),attributes,{'tableName':_0xd32a('0x7'),'paranoid':![],'indexes':[{'name':_0xd32a('0x8'),'fields':['interactionid']}],'timestamps':!![]});};