Built motion from commit (unavailable).|2.5.14
[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 _0xa1f5=['ScreenRecording','interactionid','lodash','../../config/logger','api','bluebird','request-promise','path','../../config/environment','exports','define'];(function(_0x3fafca,_0x195c8c){var _0x1096a5=function(_0x196eb9){while(--_0x196eb9){_0x3fafca['push'](_0x3fafca['shift']());}};_0x1096a5(++_0x195c8c);}(_0xa1f5,0x136));var _0x5a1f=function(_0x2f8629,_0x1862b6){_0x2f8629=_0x2f8629-0x0;var _0x4d9af4=_0xa1f5[_0x2f8629];return _0x4d9af4;};'use strict';var _=require(_0x5a1f('0x0'));var util=require('util');var logger=require(_0x5a1f('0x1'))(_0x5a1f('0x2'));var moment=require('moment');var BPromise=require(_0x5a1f('0x3'));var rp=require(_0x5a1f('0x4'));var fs=require('fs');var path=require(_0x5a1f('0x5'));var rimraf=require('rimraf');var config=require(_0x5a1f('0x6'));var attributes=require('./screenRecording.attributes');module[_0x5a1f('0x7')]=function(_0xb8d2d6,_0x256698){return _0xb8d2d6[_0x5a1f('0x8')](_0x5a1f('0x9'),attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0x5a1f('0xa'),'fields':[_0x5a1f('0xa')]}],'timestamps':!![]});};