ff7f9793a59a2416d1443adf714ec1858193a6ed
[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 _0x8792=['interactionid','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','exports','screen_recordings'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x8792,0x1cd));var _0x2879=function(_0x4535e4,_0x46fc0c){_0x4535e4=_0x4535e4-0x0;var _0x3d2f9d=_0x8792[_0x4535e4];return _0x3d2f9d;};'use strict';var _=require(_0x2879('0x0'));var util=require('util');var logger=require(_0x2879('0x1'))('api');var moment=require(_0x2879('0x2'));var BPromise=require(_0x2879('0x3'));var rp=require(_0x2879('0x4'));var fs=require('fs');var path=require(_0x2879('0x5'));var rimraf=require(_0x2879('0x6'));var config=require('../../config/environment');var attributes=require('./screenRecording.attributes');module[_0x2879('0x7')]=function(_0x340b54,_0x1fde53){return _0x340b54['define']('ScreenRecording',attributes,{'tableName':_0x2879('0x8'),'paranoid':![],'indexes':[{'name':_0x2879('0x9'),'fields':[_0x2879('0x9')]}],'timestamps':!![]});};