Built motion from commit e6806ed6.|2.6.0
[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 _0x5311=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./screenRecording.attributes','exports','ScreenRecording','interactionid','lodash','util','../../config/logger'];(function(_0xf03142,_0x29adf7){var _0x343c62=function(_0x1120f3){while(--_0x1120f3){_0xf03142['push'](_0xf03142['shift']());}};_0x343c62(++_0x29adf7);}(_0x5311,0x1d9));var _0x1531=function(_0x17a3a2,_0x7553e2){_0x17a3a2=_0x17a3a2-0x0;var _0x1ec576=_0x5311[_0x17a3a2];return _0x1ec576;};'use strict';var _=require(_0x1531('0x0'));var util=require(_0x1531('0x1'));var logger=require(_0x1531('0x2'))(_0x1531('0x3'));var moment=require(_0x1531('0x4'));var BPromise=require(_0x1531('0x5'));var rp=require(_0x1531('0x6'));var fs=require('fs');var path=require(_0x1531('0x7'));var rimraf=require(_0x1531('0x8'));var config=require(_0x1531('0x9'));var attributes=require(_0x1531('0xa'));module[_0x1531('0xb')]=function(_0xa0c6f3,_0x4e1825){return _0xa0c6f3['define'](_0x1531('0xc'),attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0x1531('0xd'),'fields':[_0x1531('0xd')]}],'timestamps':!![]});};