Built motion from commit 092f8824.|2.5.49
[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 _0x410d=['../../config/environment','exports','define','ScreenRecording','interactionid','lodash','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x4f5170,_0x2a1251){var _0x1b5cc8=function(_0x5a5da5){while(--_0x5a5da5){_0x4f5170['push'](_0x4f5170['shift']());}};_0x1b5cc8(++_0x2a1251);}(_0x410d,0x1cd));var _0xd410=function(_0x565c49,_0x54acd0){_0x565c49=_0x565c49-0x0;var _0x20ca34=_0x410d[_0x565c49];return _0x20ca34;};'use strict';var _=require(_0xd410('0x0'));var util=require('util');var logger=require(_0xd410('0x1'))(_0xd410('0x2'));var moment=require(_0xd410('0x3'));var BPromise=require('bluebird');var rp=require(_0xd410('0x4'));var fs=require('fs');var path=require(_0xd410('0x5'));var rimraf=require(_0xd410('0x6'));var config=require(_0xd410('0x7'));var attributes=require('./screenRecording.attributes');module[_0xd410('0x8')]=function(_0x365f7f,_0x21c68f){return _0x365f7f[_0xd410('0x9')](_0xd410('0xa'),attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0xd410('0xb'),'fields':[_0xd410('0xb')]}],'timestamps':!![]});};