Built motion from commit 85328c08.|2.5.50
[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 _0x42cb=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','./screenRecording.attributes','ScreenRecording','screen_recordings','interactionid'];(function(_0x1e7a3c,_0x3f7b46){var _0x1146ab=function(_0x505e3e){while(--_0x505e3e){_0x1e7a3c['push'](_0x1e7a3c['shift']());}};_0x1146ab(++_0x3f7b46);}(_0x42cb,0x180));var _0xb42c=function(_0x4576ff,_0x27b290){_0x4576ff=_0x4576ff-0x0;var _0x557c5d=_0x42cb[_0x4576ff];return _0x557c5d;};'use strict';var _=require(_0xb42c('0x0'));var util=require(_0xb42c('0x1'));var logger=require(_0xb42c('0x2'))(_0xb42c('0x3'));var moment=require(_0xb42c('0x4'));var BPromise=require(_0xb42c('0x5'));var rp=require(_0xb42c('0x6'));var fs=require('fs');var path=require(_0xb42c('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xb42c('0x8'));module['exports']=function(_0x3a18d7,_0x10b520){return _0x3a18d7['define'](_0xb42c('0x9'),attributes,{'tableName':_0xb42c('0xa'),'paranoid':![],'indexes':[{'name':_0xb42c('0xb'),'fields':['interactionid']}],'timestamps':!![]});};