Built motion from commit (unavailable).|2.5.24
[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 _0x55c2=['util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./screenRecording.attributes','define','ScreenRecording','screen_recordings','interactionid','lodash'];(function(_0x5c4d27,_0x5b0822){var _0x1dda1a=function(_0x5ea638){while(--_0x5ea638){_0x5c4d27['push'](_0x5c4d27['shift']());}};_0x1dda1a(++_0x5b0822);}(_0x55c2,0x15d));var _0x255c=function(_0x458775,_0x523411){_0x458775=_0x458775-0x0;var _0x48eb06=_0x55c2[_0x458775];return _0x48eb06;};'use strict';var _=require(_0x255c('0x0'));var util=require(_0x255c('0x1'));var logger=require('../../config/logger')(_0x255c('0x2'));var moment=require(_0x255c('0x3'));var BPromise=require(_0x255c('0x4'));var rp=require(_0x255c('0x5'));var fs=require('fs');var path=require(_0x255c('0x6'));var rimraf=require(_0x255c('0x7'));var config=require(_0x255c('0x8'));var attributes=require(_0x255c('0x9'));module['exports']=function(_0x332adc,_0x432329){return _0x332adc[_0x255c('0xa')](_0x255c('0xb'),attributes,{'tableName':_0x255c('0xc'),'paranoid':![],'indexes':[{'name':_0x255c('0xd'),'fields':[_0x255c('0xd')]}],'timestamps':!![]});};