Built motion from commit (unavailable).|2.4.15
[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 _0x4bc8=['../../config/logger','bluebird','request-promise','rimraf','../../config/environment','./screenRecording.attributes','define','ScreenRecording','screen_recordings','interactionid','lodash','util'];(function(_0x2ea751,_0x14a29b){var _0x45810c=function(_0x38a7f2){while(--_0x38a7f2){_0x2ea751['push'](_0x2ea751['shift']());}};_0x45810c(++_0x14a29b);}(_0x4bc8,0xfa));var _0x84bc=function(_0xcf8767,_0x137c39){_0xcf8767=_0xcf8767-0x0;var _0x2172a4=_0x4bc8[_0xcf8767];return _0x2172a4;};'use strict';var _=require(_0x84bc('0x0'));var util=require(_0x84bc('0x1'));var logger=require(_0x84bc('0x2'))('api');var moment=require('moment');var BPromise=require(_0x84bc('0x3'));var rp=require(_0x84bc('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x84bc('0x5'));var config=require(_0x84bc('0x6'));var attributes=require(_0x84bc('0x7'));module['exports']=function(_0x2a011a,_0x266a65){return _0x2a011a[_0x84bc('0x8')](_0x84bc('0x9'),attributes,{'tableName':_0x84bc('0xa'),'paranoid':![],'indexes':[{'name':_0x84bc('0xb'),'fields':['interactionid']}],'timestamps':!![]});};