Built motion from commit (unavailable).|2.5.10
[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 _0x5cd7=['rimraf','./screenRecording.attributes','exports','ScreenRecording','screen_recordings','interactionid','util','../../config/logger','api','bluebird','request-promise'];(function(_0x244f5d,_0x3c98c6){var _0x1a3886=function(_0x2bf049){while(--_0x2bf049){_0x244f5d['push'](_0x244f5d['shift']());}};_0x1a3886(++_0x3c98c6);}(_0x5cd7,0xf8));var _0x75cd=function(_0x448f8,_0x2aa1d7){_0x448f8=_0x448f8-0x0;var _0xa73126=_0x5cd7[_0x448f8];return _0xa73126;};'use strict';var _=require('lodash');var util=require(_0x75cd('0x0'));var logger=require(_0x75cd('0x1'))(_0x75cd('0x2'));var moment=require('moment');var BPromise=require(_0x75cd('0x3'));var rp=require(_0x75cd('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x75cd('0x5'));var config=require('../../config/environment');var attributes=require(_0x75cd('0x6'));module[_0x75cd('0x7')]=function(_0x55097a,_0xd44967){return _0x55097a['define'](_0x75cd('0x8'),attributes,{'tableName':_0x75cd('0x9'),'paranoid':![],'indexes':[{'name':'interactionid','fields':[_0x75cd('0xa')]}],'timestamps':!![]});};