829e90fea5151ba89762b2cf4c73451bbde08d97
[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 _0x6df6=['./screenRecording.attributes','exports','screen_recordings','interactionid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x2bf861,_0x2e9ccd){var _0x468d8b=function(_0x2051b9){while(--_0x2051b9){_0x2bf861['push'](_0x2bf861['shift']());}};_0x468d8b(++_0x2e9ccd);}(_0x6df6,0xa0));var _0x66df=function(_0x133277,_0xb1d6b2){_0x133277=_0x133277-0x0;var _0x5b4a22=_0x6df6[_0x133277];return _0x5b4a22;};'use strict';var _=require(_0x66df('0x0'));var util=require(_0x66df('0x1'));var logger=require(_0x66df('0x2'))(_0x66df('0x3'));var moment=require(_0x66df('0x4'));var BPromise=require(_0x66df('0x5'));var rp=require(_0x66df('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x66df('0x7'));var config=require(_0x66df('0x8'));var attributes=require(_0x66df('0x9'));module[_0x66df('0xa')]=function(_0x1abe5c,_0x22ce37){return _0x1abe5c['define']('ScreenRecording',attributes,{'tableName':_0x66df('0xb'),'paranoid':![],'indexes':[{'name':_0x66df('0xc'),'fields':[_0x66df('0xc')]}],'timestamps':!![]});};