Built motion from commit (unavailable).|2.5.5
[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 _0x7a6c=['screen_recordings','interactionid','lodash','util','../../config/logger','moment','bluebird','path','rimraf','./screenRecording.attributes','define','ScreenRecording'];(function(_0x1c571e,_0x548a78){var _0x4c546e=function(_0x4402b0){while(--_0x4402b0){_0x1c571e['push'](_0x1c571e['shift']());}};_0x4c546e(++_0x548a78);}(_0x7a6c,0xb6));var _0xc7a6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x7a6c[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xc7a6('0x0'));var util=require(_0xc7a6('0x1'));var logger=require(_0xc7a6('0x2'))('api');var moment=require(_0xc7a6('0x3'));var BPromise=require(_0xc7a6('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc7a6('0x5'));var rimraf=require(_0xc7a6('0x6'));var config=require('../../config/environment');var attributes=require(_0xc7a6('0x7'));module['exports']=function(_0x141e8a,_0x5f8eea){return _0x141e8a[_0xc7a6('0x8')](_0xc7a6('0x9'),attributes,{'tableName':_0xc7a6('0xa'),'paranoid':![],'indexes':[{'name':_0xc7a6('0xb'),'fields':[_0xc7a6('0xb')]}],'timestamps':!![]});};