80093d8318ddb73a9a08034b5aee9a192c711da7
[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 _0x4d5a=['screen_recordings','interactionid','util','../../config/logger','api','bluebird','request-promise','path','rimraf','./screenRecording.attributes','define','ScreenRecording'];(function(_0x2da8c4,_0x27adda){var _0x3ee006=function(_0x4b9d7c){while(--_0x4b9d7c){_0x2da8c4['push'](_0x2da8c4['shift']());}};_0x3ee006(++_0x27adda);}(_0x4d5a,0x15e));var _0xa4d5=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0x4d5a[_0x1035c1];return _0x308d67;};'use strict';var _=require('lodash');var util=require(_0xa4d5('0x0'));var logger=require(_0xa4d5('0x1'))(_0xa4d5('0x2'));var moment=require('moment');var BPromise=require(_0xa4d5('0x3'));var rp=require(_0xa4d5('0x4'));var fs=require('fs');var path=require(_0xa4d5('0x5'));var rimraf=require(_0xa4d5('0x6'));var config=require('../../config/environment');var attributes=require(_0xa4d5('0x7'));module['exports']=function(_0x5e25a5,_0x32d194){return _0x5e25a5[_0xa4d5('0x8')](_0xa4d5('0x9'),attributes,{'tableName':_0xa4d5('0xa'),'paranoid':![],'indexes':[{'name':_0xa4d5('0xb'),'fields':[_0xa4d5('0xb')]}],'timestamps':!![]});};