Built motion from commit (unavailable).|2.5.25
[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 _0xe83a=['../../config/environment','exports','define','ScreenRecording','screen_recordings','interactionid','lodash','util','../../config/logger','bluebird','request-promise','rimraf'];(function(_0x5eae6f,_0x40679f){var _0x255411=function(_0x192b33){while(--_0x192b33){_0x5eae6f['push'](_0x5eae6f['shift']());}};_0x255411(++_0x40679f);}(_0xe83a,0x19e));var _0xae83=function(_0x317d4c,_0x391e9d){_0x317d4c=_0x317d4c-0x0;var _0x433884=_0xe83a[_0x317d4c];return _0x433884;};'use strict';var _=require(_0xae83('0x0'));var util=require(_0xae83('0x1'));var logger=require(_0xae83('0x2'))('api');var moment=require('moment');var BPromise=require(_0xae83('0x3'));var rp=require(_0xae83('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xae83('0x5'));var config=require(_0xae83('0x6'));var attributes=require('./screenRecording.attributes');module[_0xae83('0x7')]=function(_0x1a4944,_0x1273c1){return _0x1a4944[_0xae83('0x8')](_0xae83('0x9'),attributes,{'tableName':_0xae83('0xa'),'paranoid':![],'indexes':[{'name':_0xae83('0xb'),'fields':[_0xae83('0xb')]}],'timestamps':!![]});};