Built motion from commit b7e79837.|2.6.29
[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 _0x6324=['rimraf','../../config/environment','./screenRecording.attributes','exports','define','ScreenRecording','screen_recordings','interactionid','lodash','util','../../config/logger','api','moment','request-promise','path'];(function(_0x2e4cbb,_0x5799c9){var _0x1818b8=function(_0x5a06ce){while(--_0x5a06ce){_0x2e4cbb['push'](_0x2e4cbb['shift']());}};_0x1818b8(++_0x5799c9);}(_0x6324,0x80));var _0x4632=function(_0x31631c,_0x47179b){_0x31631c=_0x31631c-0x0;var _0x2de94e=_0x6324[_0x31631c];return _0x2de94e;};'use strict';var _=require(_0x4632('0x0'));var util=require(_0x4632('0x1'));var logger=require(_0x4632('0x2'))(_0x4632('0x3'));var moment=require(_0x4632('0x4'));var BPromise=require('bluebird');var rp=require(_0x4632('0x5'));var fs=require('fs');var path=require(_0x4632('0x6'));var rimraf=require(_0x4632('0x7'));var config=require(_0x4632('0x8'));var attributes=require(_0x4632('0x9'));module[_0x4632('0xa')]=function(_0xc0f494,_0x4c564b){return _0xc0f494[_0x4632('0xb')](_0x4632('0xc'),attributes,{'tableName':_0x4632('0xd'),'paranoid':![],'indexes':[{'name':_0x4632('0xe'),'fields':[_0x4632('0xe')]}],'timestamps':!![]});};