Built motion from commit (unavailable).|2.5.22
[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 _0xdd62=['lodash','../../config/logger','api','bluebird','../../config/environment','screen_recordings','interactionid'];(function(_0xd79f26,_0x42fe61){var _0x519262=function(_0x1e36bd){while(--_0x1e36bd){_0xd79f26['push'](_0xd79f26['shift']());}};_0x519262(++_0x42fe61);}(_0xdd62,0xb6));var _0x2dd6=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0xdd62[_0x1facfa];return _0x9ec701;};'use strict';var _=require(_0x2dd6('0x0'));var util=require('util');var logger=require(_0x2dd6('0x1'))(_0x2dd6('0x2'));var moment=require('moment');var BPromise=require(_0x2dd6('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x2dd6('0x4'));var attributes=require('./screenRecording.attributes');module['exports']=function(_0x226aaa,_0xf04de3){return _0x226aaa['define']('ScreenRecording',attributes,{'tableName':_0x2dd6('0x5'),'paranoid':![],'indexes':[{'name':_0x2dd6('0x6'),'fields':[_0x2dd6('0x6')]}],'timestamps':!![]});};