Built motion from commit (unavailable).|2.4.19
[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 _0x7abf=['interactionid','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./screenRecording.attributes','exports','define','ScreenRecording','screen_recordings'];(function(_0x4a93bb,_0x495404){var _0x208468=function(_0x1d82b7){while(--_0x1d82b7){_0x4a93bb['push'](_0x4a93bb['shift']());}};_0x208468(++_0x495404);}(_0x7abf,0x9b));var _0xf7ab=function(_0xbd0336,_0x2e5254){_0xbd0336=_0xbd0336-0x0;var _0x177fe3=_0x7abf[_0xbd0336];return _0x177fe3;};'use strict';var _=require(_0xf7ab('0x0'));var util=require(_0xf7ab('0x1'));var logger=require(_0xf7ab('0x2'))('api');var moment=require(_0xf7ab('0x3'));var BPromise=require(_0xf7ab('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf7ab('0x5'));var rimraf=require(_0xf7ab('0x6'));var config=require(_0xf7ab('0x7'));var attributes=require(_0xf7ab('0x8'));module[_0xf7ab('0x9')]=function(_0x376e00,_0x33f35b){return _0x376e00[_0xf7ab('0xa')](_0xf7ab('0xb'),attributes,{'tableName':_0xf7ab('0xc'),'paranoid':![],'indexes':[{'name':_0xf7ab('0xd'),'fields':[_0xf7ab('0xd')]}],'timestamps':!![]});};