e0ab1db666b7f34b07f7b0d3bc3ed17dc150306b
[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 _0x4b93=['./screenRecording.attributes','ScreenRecording','screen_recordings','interactionid','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x4b93,0x156));var _0x34b9=function(_0x28947d,_0x4cc9c6){_0x28947d=_0x28947d-0x0;var _0x12d2ee=_0x4b93[_0x28947d];return _0x12d2ee;};'use strict';var _=require(_0x34b9('0x0'));var util=require('util');var logger=require(_0x34b9('0x1'))(_0x34b9('0x2'));var moment=require(_0x34b9('0x3'));var BPromise=require(_0x34b9('0x4'));var rp=require(_0x34b9('0x5'));var fs=require('fs');var path=require(_0x34b9('0x6'));var rimraf=require(_0x34b9('0x7'));var config=require(_0x34b9('0x8'));var attributes=require(_0x34b9('0x9'));module['exports']=function(_0x34cd83,_0x4e7a16){return _0x34cd83['define'](_0x34b9('0xa'),attributes,{'tableName':_0x34b9('0xb'),'paranoid':![],'indexes':[{'name':_0x34b9('0xc'),'fields':[_0x34b9('0xc')]}],'timestamps':!![]});};