Built motion from commit b5413ace.|2.6.9
[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 _0x8b1d=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./screenRecording.attributes','exports','define','interactionid','lodash','util'];(function(_0x2c6bad,_0x29ffed){var _0x5f5435=function(_0x23f89b){while(--_0x23f89b){_0x2c6bad['push'](_0x2c6bad['shift']());}};_0x5f5435(++_0x29ffed);}(_0x8b1d,0x177));var _0xd8b1=function(_0x4489d0,_0x412b09){_0x4489d0=_0x4489d0-0x0;var _0x41c938=_0x8b1d[_0x4489d0];return _0x41c938;};'use strict';var _=require(_0xd8b1('0x0'));var util=require(_0xd8b1('0x1'));var logger=require(_0xd8b1('0x2'))('api');var moment=require(_0xd8b1('0x3'));var BPromise=require(_0xd8b1('0x4'));var rp=require(_0xd8b1('0x5'));var fs=require('fs');var path=require(_0xd8b1('0x6'));var rimraf=require(_0xd8b1('0x7'));var config=require(_0xd8b1('0x8'));var attributes=require(_0xd8b1('0x9'));module[_0xd8b1('0xa')]=function(_0x2fdb02,_0x538788){return _0x2fdb02[_0xd8b1('0xb')]('ScreenRecording',attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0xd8b1('0xc'),'fields':[_0xd8b1('0xc')]}],'timestamps':!![]});};