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 _0x2611=['screen_recordings','interactionid','../../config/logger','moment','../../config/environment','define','ScreenRecording'];(function(_0x1196d8,_0x3853a0){var _0x89d9bc=function(_0x2e1a29){while(--_0x2e1a29){_0x1196d8['push'](_0x1196d8['shift']());}};_0x89d9bc(++_0x3853a0);}(_0x2611,0x17c));var _0x1261=function(_0x368a9e,_0x1f83ba){_0x368a9e=_0x368a9e-0x0;var _0x4376ce=_0x2611[_0x368a9e];return _0x4376ce;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x1261('0x0'))('api');var moment=require(_0x1261('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x1261('0x2'));var attributes=require('./screenRecording.attributes');module['exports']=function(_0x4e6a69,_0x1f00e2){return _0x4e6a69[_0x1261('0x3')](_0x1261('0x4'),attributes,{'tableName':_0x1261('0x5'),'paranoid':![],'indexes':[{'name':_0x1261('0x6'),'fields':[_0x1261('0x6')]}],'timestamps':!![]});};