c56207c590e6f1969900904d43fc251411700d4c
[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 _0x0751=['../../config/environment','exports','screen_recordings','interactionid','lodash','request-promise','path','rimraf'];(function(_0x1fb321,_0x3fe5fa){var _0xf06b78=function(_0x48d814){while(--_0x48d814){_0x1fb321['push'](_0x1fb321['shift']());}};_0xf06b78(++_0x3fe5fa);}(_0x0751,0x194));var _0x1075=function(_0x1d2101,_0x167515){_0x1d2101=_0x1d2101-0x0;var _0x49757a=_0x0751[_0x1d2101];return _0x49757a;};'use strict';var _=require(_0x1075('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x1075('0x1'));var fs=require('fs');var path=require(_0x1075('0x2'));var rimraf=require(_0x1075('0x3'));var config=require(_0x1075('0x4'));var attributes=require('./screenRecording.attributes');module[_0x1075('0x5')]=function(_0x26bd94,_0x313452){return _0x26bd94['define']('ScreenRecording',attributes,{'tableName':_0x1075('0x6'),'paranoid':![],'indexes':[{'name':_0x1075('0x7'),'fields':[_0x1075('0x7')]}],'timestamps':!![]});};