Built motion from commit 42801a18.|2.6.28
[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 _0xfa36=['lodash','util','api','moment','bluebird','request-promise','path','./screenRecording.attributes','exports','ScreenRecording','screen_recordings','interactionid'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0xfa36,0x9c));var _0x6fa3=function(_0x496688,_0x2236bf){_0x496688=_0x496688-0x0;var _0x3caf1d=_0xfa36[_0x496688];return _0x3caf1d;};'use strict';var _=require(_0x6fa3('0x0'));var util=require(_0x6fa3('0x1'));var logger=require('../../config/logger')(_0x6fa3('0x2'));var moment=require(_0x6fa3('0x3'));var BPromise=require(_0x6fa3('0x4'));var rp=require(_0x6fa3('0x5'));var fs=require('fs');var path=require(_0x6fa3('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x6fa3('0x7'));module[_0x6fa3('0x8')]=function(_0x348a63,_0x26ab00){return _0x348a63['define'](_0x6fa3('0x9'),attributes,{'tableName':_0x6fa3('0xa'),'paranoid':![],'indexes':[{'name':_0x6fa3('0xb'),'fields':[_0x6fa3('0xb')]}],'timestamps':!![]});};