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 _0x3876=['../../config/logger','moment','bluebird','exports','define','interactionid','lodash','util'];(function(_0x6287b6,_0x5682e7){var _0x5d6be4=function(_0x3e3975){while(--_0x3e3975){_0x6287b6['push'](_0x6287b6['shift']());}};_0x5d6be4(++_0x5682e7);}(_0x3876,0x106));var _0x6387=function(_0x37389e,_0x57c745){_0x37389e=_0x37389e-0x0;var _0x4466fc=_0x3876[_0x37389e];return _0x4466fc;};'use strict';var _=require(_0x6387('0x0'));var util=require(_0x6387('0x1'));var logger=require(_0x6387('0x2'))('api');var moment=require(_0x6387('0x3'));var BPromise=require(_0x6387('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./screenRecording.attributes');module[_0x6387('0x5')]=function(_0xdb253b,_0x3910c9){return _0xdb253b[_0x6387('0x6')]('ScreenRecording',attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0x6387('0x7'),'fields':[_0x6387('0x7')]}],'timestamps':!![]});};