16a4c62600174c6f08db72c99a12b0019475fa34
[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 _0x1ae4=['interactionid','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','./screenRecording.attributes','define','screen_recordings'];(function(_0xb0f7c3,_0x4eae95){var _0x28ea68=function(_0x4395a7){while(--_0x4395a7){_0xb0f7c3['push'](_0xb0f7c3['shift']());}};_0x28ea68(++_0x4eae95);}(_0x1ae4,0x12a));var _0x41ae=function(_0x44a6b9,_0x306bfa){_0x44a6b9=_0x44a6b9-0x0;var _0x1cf3f0=_0x1ae4[_0x44a6b9];return _0x1cf3f0;};'use strict';var _=require(_0x41ae('0x0'));var util=require('util');var logger=require(_0x41ae('0x1'))('api');var moment=require(_0x41ae('0x2'));var BPromise=require(_0x41ae('0x3'));var rp=require(_0x41ae('0x4'));var fs=require('fs');var path=require(_0x41ae('0x5'));var rimraf=require(_0x41ae('0x6'));var config=require('../../config/environment');var attributes=require(_0x41ae('0x7'));module['exports']=function(_0x595da5,_0x389d4e){return _0x595da5[_0x41ae('0x8')]('ScreenRecording',attributes,{'tableName':_0x41ae('0x9'),'paranoid':![],'indexes':[{'name':_0x41ae('0xa'),'fields':[_0x41ae('0xa')]}],'timestamps':!![]});};