Built motion from commit (unavailable).|2.5.12
[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 _0x8827=['path','../../config/environment','./screenRecording.attributes','ScreenRecording','interactionid','lodash','util','../../config/logger','api','moment'];(function(_0x47c54b,_0x1dc587){var _0x4d7e6e=function(_0x3801f1){while(--_0x3801f1){_0x47c54b['push'](_0x47c54b['shift']());}};_0x4d7e6e(++_0x1dc587);}(_0x8827,0x9b));var _0x7882=function(_0x5a9604,_0x3fab78){_0x5a9604=_0x5a9604-0x0;var _0x58ae80=_0x8827[_0x5a9604];return _0x58ae80;};'use strict';var _=require(_0x7882('0x0'));var util=require(_0x7882('0x1'));var logger=require(_0x7882('0x2'))(_0x7882('0x3'));var moment=require(_0x7882('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x7882('0x5'));var rimraf=require('rimraf');var config=require(_0x7882('0x6'));var attributes=require(_0x7882('0x7'));module['exports']=function(_0x29d13a,_0x297b88){return _0x29d13a['define'](_0x7882('0x8'),attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0x7882('0x9'),'fields':[_0x7882('0x9')]}],'timestamps':!![]});};