e0bb6251fea9fccb557ff41a44859f03bde7ba54
[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 _0x7d30=['interactionid','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./screenRecording.attributes','exports','screen_recordings'];(function(_0x58b666,_0x233adc){var _0x47bbbb=function(_0x4ce7be){while(--_0x4ce7be){_0x58b666['push'](_0x58b666['shift']());}};_0x47bbbb(++_0x233adc);}(_0x7d30,0x12d));var _0x07d3=function(_0x331652,_0x1265bc){_0x331652=_0x331652-0x0;var _0xd6ddf4=_0x7d30[_0x331652];return _0xd6ddf4;};'use strict';var _=require(_0x07d3('0x0'));var util=require(_0x07d3('0x1'));var logger=require(_0x07d3('0x2'))('api');var moment=require(_0x07d3('0x3'));var BPromise=require(_0x07d3('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x07d3('0x5'));var rimraf=require(_0x07d3('0x6'));var config=require(_0x07d3('0x7'));var attributes=require(_0x07d3('0x8'));module[_0x07d3('0x9')]=function(_0x52b78b,_0xbd03a4){return _0x52b78b['define']('ScreenRecording',attributes,{'tableName':_0x07d3('0xa'),'paranoid':![],'indexes':[{'name':'interactionid','fields':[_0x07d3('0xb')]}],'timestamps':!![]});};