38a9d0188345a741158acae466f1d5a94d020737
[motion2.git] / server / api / cmHopperBlack / cmHopperBlack.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 _0xe4b6=['path','rimraf','exports','define','CmHopperBlack','cm_hopper_black','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x53fb07,_0x182f8f){var _0x435edd=function(_0xb1e1ea){while(--_0xb1e1ea){_0x53fb07['push'](_0x53fb07['shift']());}};_0x435edd(++_0x182f8f);}(_0xe4b6,0x1c0));var _0x6e4b=function(_0x148d34,_0x4c14a7){_0x148d34=_0x148d34-0x0;var _0x9266b4=_0xe4b6[_0x148d34];return _0x9266b4;};'use strict';var _=require(_0x6e4b('0x0'));var util=require(_0x6e4b('0x1'));var logger=require(_0x6e4b('0x2'))(_0x6e4b('0x3'));var moment=require(_0x6e4b('0x4'));var BPromise=require(_0x6e4b('0x5'));var rp=require(_0x6e4b('0x6'));var fs=require('fs');var path=require(_0x6e4b('0x7'));var rimraf=require(_0x6e4b('0x8'));var config=require('../../config/environment');var attributes=require('./cmHopperBlack.attributes');module[_0x6e4b('0x9')]=function(_0x3870f6,_0x96e22f){return _0x3870f6[_0x6e4b('0xa')](_0x6e4b('0xb'),attributes,{'tableName':_0x6e4b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};