Built motion from commit (unavailable).|2.4.20
[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 _0x37e1=['screen_recordings','interactionid','lodash','util','api','moment','request-promise','rimraf','../../config/environment','./screenRecording.attributes','exports','define','ScreenRecording'];(function(_0x2714b6,_0x3ea552){var _0x109bea=function(_0x5c144d){while(--_0x5c144d){_0x2714b6['push'](_0x2714b6['shift']());}};_0x109bea(++_0x3ea552);}(_0x37e1,0x161));var _0x137e=function(_0x1a04d4,_0x1698d0){_0x1a04d4=_0x1a04d4-0x0;var _0xaf7106=_0x37e1[_0x1a04d4];return _0xaf7106;};'use strict';var _=require(_0x137e('0x0'));var util=require(_0x137e('0x1'));var logger=require('../../config/logger')(_0x137e('0x2'));var moment=require(_0x137e('0x3'));var BPromise=require('bluebird');var rp=require(_0x137e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x137e('0x5'));var config=require(_0x137e('0x6'));var attributes=require(_0x137e('0x7'));module[_0x137e('0x8')]=function(_0x1ce5e3,_0x1c08a2){return _0x1ce5e3[_0x137e('0x9')](_0x137e('0xa'),attributes,{'tableName':_0x137e('0xb'),'paranoid':![],'indexes':[{'name':_0x137e('0xc'),'fields':[_0x137e('0xc')]}],'timestamps':!![]});};