0bb8dd89be0b56caac179bad50e61d640e2a86d8
[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 _0xa501=['./screenRecording.attributes','define','ScreenRecording','screen_recordings','interactionid','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x592cea,_0x4e72f1){var _0x1e9cc6=function(_0x166217){while(--_0x166217){_0x592cea['push'](_0x592cea['shift']());}};_0x1e9cc6(++_0x4e72f1);}(_0xa501,0x12b));var _0x1a50=function(_0x45ada9,_0xf311f3){_0x45ada9=_0x45ada9-0x0;var _0x5b5dd7=_0xa501[_0x45ada9];return _0x5b5dd7;};'use strict';var _=require(_0x1a50('0x0'));var util=require(_0x1a50('0x1'));var logger=require(_0x1a50('0x2'))(_0x1a50('0x3'));var moment=require(_0x1a50('0x4'));var BPromise=require('bluebird');var rp=require(_0x1a50('0x5'));var fs=require('fs');var path=require(_0x1a50('0x6'));var rimraf=require(_0x1a50('0x7'));var config=require(_0x1a50('0x8'));var attributes=require(_0x1a50('0x9'));module['exports']=function(_0x37e6fd,_0x48f7a2){return _0x37e6fd[_0x1a50('0xa')](_0x1a50('0xb'),attributes,{'tableName':_0x1a50('0xc'),'paranoid':![],'indexes':[{'name':_0x1a50('0xd'),'fields':[_0x1a50('0xd')]}],'timestamps':!![]});};