Built motion from commit 20b39a97.|2.6.29
[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 _0xafe8=['interactionid','util','../../config/logger','bluebird','request-promise','../../config/environment','./screenRecording.attributes','exports','screen_recordings'];(function(_0x5cbaf8,_0x1d6747){var _0x38a0f2=function(_0x53ce2f){while(--_0x53ce2f){_0x5cbaf8['push'](_0x5cbaf8['shift']());}};_0x38a0f2(++_0x1d6747);}(_0xafe8,0x1e7));var _0x8afe=function(_0x53c4f8,_0x44ccaf){_0x53c4f8=_0x53c4f8-0x0;var _0x416458=_0xafe8[_0x53c4f8];return _0x416458;};'use strict';var _=require('lodash');var util=require(_0x8afe('0x0'));var logger=require(_0x8afe('0x1'))('api');var moment=require('moment');var BPromise=require(_0x8afe('0x2'));var rp=require(_0x8afe('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x8afe('0x4'));var attributes=require(_0x8afe('0x5'));module[_0x8afe('0x6')]=function(_0x58a9c9,_0x102e9c){return _0x58a9c9['define']('ScreenRecording',attributes,{'tableName':_0x8afe('0x7'),'paranoid':![],'indexes':[{'name':_0x8afe('0x8'),'fields':['interactionid']}],'timestamps':!![]});};