7b4f0aec6ee3814ace8bcbe4605a43a3619c6b58
[motion2.git] / server / api / screenRecording / screenRecording.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x9c03=['../../config/logger','api','moment','request-promise','path','rimraf','./screenRecording.attributes','exports','define','screen_recordings','interactionid','lodash','util'];(function(_0x363fdb,_0x54eefa){var _0xdd2109=function(_0x31312d){while(--_0x31312d){_0x363fdb['push'](_0x363fdb['shift']());}};_0xdd2109(++_0x54eefa);}(_0x9c03,0x8d));var _0x39c0=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x9c03[_0x40a045];return _0x1a687c;};'use strict';var _=require(_0x39c0('0x0'));var util=require(_0x39c0('0x1'));var logger=require(_0x39c0('0x2'))(_0x39c0('0x3'));var moment=require(_0x39c0('0x4'));var BPromise=require('bluebird');var rp=require(_0x39c0('0x5'));var fs=require('fs');var path=require(_0x39c0('0x6'));var rimraf=require(_0x39c0('0x7'));var config=require('../../config/environment');var attributes=require(_0x39c0('0x8'));module[_0x39c0('0x9')]=function(_0x3b43dd,_0x51b817){return _0x3b43dd[_0x39c0('0xa')]('ScreenRecording',attributes,{'tableName':_0x39c0('0xb'),'paranoid':![],'indexes':[{'name':_0x39c0('0xc'),'fields':['interactionid']}],'timestamps':!![]});};