Built motion from commit (unavailable).|2.5.31
[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 _0x88c5=['define','ScreenRecording','screen_recordings','interactionid','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./screenRecording.attributes','exports'];(function(_0x13afb3,_0x19c0b9){var _0x20282e=function(_0x5921b5){while(--_0x5921b5){_0x13afb3['push'](_0x13afb3['shift']());}};_0x20282e(++_0x19c0b9);}(_0x88c5,0x1e0));var _0x588c=function(_0x5ad220,_0x27407e){_0x5ad220=_0x5ad220-0x0;var _0xdec77d=_0x88c5[_0x5ad220];return _0xdec77d;};'use strict';var _=require('lodash');var util=require(_0x588c('0x0'));var logger=require(_0x588c('0x1'))(_0x588c('0x2'));var moment=require(_0x588c('0x3'));var BPromise=require(_0x588c('0x4'));var rp=require(_0x588c('0x5'));var fs=require('fs');var path=require(_0x588c('0x6'));var rimraf=require('rimraf');var config=require(_0x588c('0x7'));var attributes=require(_0x588c('0x8'));module[_0x588c('0x9')]=function(_0x4d2129,_0x5cdcb5){return _0x4d2129[_0x588c('0xa')](_0x588c('0xb'),attributes,{'tableName':_0x588c('0xc'),'paranoid':![],'indexes':[{'name':'interactionid','fields':[_0x588c('0xd')]}],'timestamps':!![]});};