Built motion from commit 639a1a7f.|2.6.19
[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 _0x719d=['../../config/environment','./screenRecording.attributes','exports','ScreenRecording','screen_recordings','lodash','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x455dde,_0x1402b7){var _0x48e181=function(_0x53a68b){while(--_0x53a68b){_0x455dde['push'](_0x455dde['shift']());}};_0x48e181(++_0x1402b7);}(_0x719d,0x125));var _0xd719=function(_0x335ff9,_0x16d2ec){_0x335ff9=_0x335ff9-0x0;var _0x39df05=_0x719d[_0x335ff9];return _0x39df05;};'use strict';var _=require(_0xd719('0x0'));var util=require('util');var logger=require(_0xd719('0x1'))(_0xd719('0x2'));var moment=require(_0xd719('0x3'));var BPromise=require('bluebird');var rp=require(_0xd719('0x4'));var fs=require('fs');var path=require(_0xd719('0x5'));var rimraf=require(_0xd719('0x6'));var config=require(_0xd719('0x7'));var attributes=require(_0xd719('0x8'));module[_0xd719('0x9')]=function(_0x156071,_0x202651){return _0x156071['define'](_0xd719('0xa'),attributes,{'tableName':_0xd719('0xb'),'paranoid':![],'indexes':[{'name':'interactionid','fields':['interactionid']}],'timestamps':!![]});};