6902d14e2f6dad91a1fcc8b3b096ea5770c00656
[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 _0x6304=['../../config/environment','define','interactionid','../../config/logger','api','moment','path','rimraf'];(function(_0xf9c359,_0x4ddc11){var _0x301772=function(_0x5a1fd5){while(--_0x5a1fd5){_0xf9c359['push'](_0xf9c359['shift']());}};_0x301772(++_0x4ddc11);}(_0x6304,0x123));var _0x4630=function(_0x369b84,_0x46d466){_0x369b84=_0x369b84-0x0;var _0x3da679=_0x6304[_0x369b84];return _0x3da679;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x4630('0x0'))(_0x4630('0x1'));var moment=require(_0x4630('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4630('0x3'));var rimraf=require(_0x4630('0x4'));var config=require(_0x4630('0x5'));var attributes=require('./screenRecording.attributes');module['exports']=function(_0x43ef10,_0x1a91e3){return _0x43ef10[_0x4630('0x6')]('ScreenRecording',attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0x4630('0x7'),'fields':[_0x4630('0x7')]}],'timestamps':!![]});};