Built motion from commit b5996064.|2.6.21
[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 _0x1287=['exports','ScreenRecording','screen_recordings','interactionid','lodash','util','api','moment','request-promise','path','rimraf','./screenRecording.attributes'];(function(_0x1b6311,_0x42ec20){var _0x25aab6=function(_0x139a77){while(--_0x139a77){_0x1b6311['push'](_0x1b6311['shift']());}};_0x25aab6(++_0x42ec20);}(_0x1287,0x1c0));var _0x7128=function(_0x2b2ee0,_0x4c1166){_0x2b2ee0=_0x2b2ee0-0x0;var _0x2a506f=_0x1287[_0x2b2ee0];return _0x2a506f;};'use strict';var _=require(_0x7128('0x0'));var util=require(_0x7128('0x1'));var logger=require('../../config/logger')(_0x7128('0x2'));var moment=require(_0x7128('0x3'));var BPromise=require('bluebird');var rp=require(_0x7128('0x4'));var fs=require('fs');var path=require(_0x7128('0x5'));var rimraf=require(_0x7128('0x6'));var config=require('../../config/environment');var attributes=require(_0x7128('0x7'));module[_0x7128('0x8')]=function(_0x113627,_0x50be16){return _0x113627['define'](_0x7128('0x9'),attributes,{'tableName':_0x7128('0xa'),'paranoid':![],'indexes':[{'name':'interactionid','fields':[_0x7128('0xb')]}],'timestamps':!![]});};