3ccd2f3df98916ea6e584536a16a75c983ae3b44
[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 _0x38c9=['define','ScreenRecording','screen_recordings','interactionid','lodash','util','moment','request-promise','path','../../config/environment','./screenRecording.attributes','exports'];(function(_0x48497f,_0x5a901f){var _0x440c1d=function(_0x5e5f7d){while(--_0x5e5f7d){_0x48497f['push'](_0x48497f['shift']());}};_0x440c1d(++_0x5a901f);}(_0x38c9,0x64));var _0x938c=function(_0x36bf88,_0x15c459){_0x36bf88=_0x36bf88-0x0;var _0x332914=_0x38c9[_0x36bf88];return _0x332914;};'use strict';var _=require(_0x938c('0x0'));var util=require(_0x938c('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x938c('0x2'));var BPromise=require('bluebird');var rp=require(_0x938c('0x3'));var fs=require('fs');var path=require(_0x938c('0x4'));var rimraf=require('rimraf');var config=require(_0x938c('0x5'));var attributes=require(_0x938c('0x6'));module[_0x938c('0x7')]=function(_0x3a9654,_0x2cd56e){return _0x3a9654[_0x938c('0x8')](_0x938c('0x9'),attributes,{'tableName':_0x938c('0xa'),'paranoid':![],'indexes':[{'name':'interactionid','fields':[_0x938c('0xb')]}],'timestamps':!![]});};