Built motion from commit fa4c4286.|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 _0x895f=['rimraf','../../config/environment','./screenRecording.attributes','define','ScreenRecording','interactionid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x281c00,_0x5c073c){var _0x1ae99c=function(_0x160d2d){while(--_0x160d2d){_0x281c00['push'](_0x281c00['shift']());}};_0x1ae99c(++_0x5c073c);}(_0x895f,0xae));var _0xf895=function(_0x1b5e3b,_0x15d580){_0x1b5e3b=_0x1b5e3b-0x0;var _0x513202=_0x895f[_0x1b5e3b];return _0x513202;};'use strict';var _=require(_0xf895('0x0'));var util=require(_0xf895('0x1'));var logger=require(_0xf895('0x2'))(_0xf895('0x3'));var moment=require(_0xf895('0x4'));var BPromise=require(_0xf895('0x5'));var rp=require(_0xf895('0x6'));var fs=require('fs');var path=require(_0xf895('0x7'));var rimraf=require(_0xf895('0x8'));var config=require(_0xf895('0x9'));var attributes=require(_0xf895('0xa'));module['exports']=function(_0x5e0b3b,_0x4240bb){return _0x5e0b3b[_0xf895('0xb')](_0xf895('0xc'),attributes,{'tableName':'screen_recordings','paranoid':![],'indexes':[{'name':_0xf895('0xd'),'fields':[_0xf895('0xd')]}],'timestamps':!![]});};