Built motion from commit (unavailable).|2.5.14
[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 _0xd817=['request-promise','../../config/environment','screen_recordings','interactionid','lodash','../../config/logger','api','bluebird'];(function(_0x26660c,_0xa474ef){var _0x21fb98=function(_0xcedc16){while(--_0xcedc16){_0x26660c['push'](_0x26660c['shift']());}};_0x21fb98(++_0xa474ef);}(_0xd817,0x13c));var _0x7d81=function(_0x503ffd,_0x8ecde){_0x503ffd=_0x503ffd-0x0;var _0x160437=_0xd817[_0x503ffd];return _0x160437;};'use strict';var _=require(_0x7d81('0x0'));var util=require('util');var logger=require(_0x7d81('0x1'))(_0x7d81('0x2'));var moment=require('moment');var BPromise=require(_0x7d81('0x3'));var rp=require(_0x7d81('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x7d81('0x5'));var attributes=require('./screenRecording.attributes');module['exports']=function(_0x44cc9c,_0x84a5c){return _0x44cc9c['define']('ScreenRecording',attributes,{'tableName':_0x7d81('0x6'),'paranoid':![],'indexes':[{'name':_0x7d81('0x7'),'fields':[_0x7d81('0x7')]}],'timestamps':!![]});};