Built motion from commit (unavailable).|2.5.4
[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 _0x22c5=['moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','screen_recordings','interactionid','util','../../config/logger','api'];(function(_0x440e58,_0x413edb){var _0x47b98c=function(_0x2ec908){while(--_0x2ec908){_0x440e58['push'](_0x440e58['shift']());}};_0x47b98c(++_0x413edb);}(_0x22c5,0x141));var _0x522c=function(_0x317680,_0x455dfd){_0x317680=_0x317680-0x0;var _0x4b5466=_0x22c5[_0x317680];return _0x4b5466;};'use strict';var _=require('lodash');var util=require(_0x522c('0x0'));var logger=require(_0x522c('0x1'))(_0x522c('0x2'));var moment=require(_0x522c('0x3'));var BPromise=require(_0x522c('0x4'));var rp=require(_0x522c('0x5'));var fs=require('fs');var path=require(_0x522c('0x6'));var rimraf=require(_0x522c('0x7'));var config=require(_0x522c('0x8'));var attributes=require('./screenRecording.attributes');module[_0x522c('0x9')]=function(_0x15ce11,_0x8e8049){return _0x15ce11['define']('ScreenRecording',attributes,{'tableName':_0x522c('0xa'),'paranoid':![],'indexes':[{'name':_0x522c('0xb'),'fields':[_0x522c('0xb')]}],'timestamps':!![]});};