1791123718cd9d1f55bdf7b32cfdec7b0a8f368c
[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 _0xd1e0=['../../config/environment','./cmHopperBlack.attributes','exports','define','CmHopperBlack','cm_hopper_black','lodash','moment','path','rimraf'];(function(_0x5125c1,_0x5943c8){var _0x5ddcfb=function(_0x100c7e){while(--_0x100c7e){_0x5125c1['push'](_0x5125c1['shift']());}};_0x5ddcfb(++_0x5943c8);}(_0xd1e0,0x16e));var _0x0d1e=function(_0x422905,_0x3bce3a){_0x422905=_0x422905-0x0;var _0x33dc6c=_0xd1e0[_0x422905];return _0x33dc6c;};'use strict';var _=require(_0x0d1e('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x0d1e('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x0d1e('0x2'));var rimraf=require(_0x0d1e('0x3'));var config=require(_0x0d1e('0x4'));var attributes=require(_0x0d1e('0x5'));module[_0x0d1e('0x6')]=function(_0x52a522,_0x2bf1de){return _0x52a522[_0x0d1e('0x7')](_0x0d1e('0x8'),attributes,{'tableName':_0x0d1e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};