Built motion from commit (unavailable).|2.5.11
[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 _0xb7ae=['../../config/environment','./screenRecording.attributes','exports','screen_recordings','interactionid','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x54334a,_0x56bcd8){var _0x51cd78=function(_0x4f9df3){while(--_0x4f9df3){_0x54334a['push'](_0x54334a['shift']());}};_0x51cd78(++_0x56bcd8);}(_0xb7ae,0x1c8));var _0xeb7a=function(_0x1adba6,_0x2e4c52){_0x1adba6=_0x1adba6-0x0;var _0x36ef49=_0xb7ae[_0x1adba6];return _0x36ef49;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xeb7a('0x0'))(_0xeb7a('0x1'));var moment=require('moment');var BPromise=require(_0xeb7a('0x2'));var rp=require(_0xeb7a('0x3'));var fs=require('fs');var path=require(_0xeb7a('0x4'));var rimraf=require(_0xeb7a('0x5'));var config=require(_0xeb7a('0x6'));var attributes=require(_0xeb7a('0x7'));module[_0xeb7a('0x8')]=function(_0x399476,_0x9f1f4f){return _0x399476['define']('ScreenRecording',attributes,{'tableName':_0xeb7a('0x9'),'paranoid':![],'indexes':[{'name':_0xeb7a('0xa'),'fields':['interactionid']}],'timestamps':!![]});};