4c234d9227b2b4a45296371750758f2305905c04
[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 _0x3ea3=['bluebird','path','rimraf','define','CmHopperBlack','cm_hopper_black','lodash','util','api','moment'];(function(_0x30078f,_0x442cc1){var _0x32f54a=function(_0x58ace6){while(--_0x58ace6){_0x30078f['push'](_0x30078f['shift']());}};_0x32f54a(++_0x442cc1);}(_0x3ea3,0x11e));var _0x33ea=function(_0x5e1a1d,_0x24d899){_0x5e1a1d=_0x5e1a1d-0x0;var _0x5e65a8=_0x3ea3[_0x5e1a1d];return _0x5e65a8;};'use strict';var _=require(_0x33ea('0x0'));var util=require(_0x33ea('0x1'));var logger=require('../../config/logger')(_0x33ea('0x2'));var moment=require(_0x33ea('0x3'));var BPromise=require(_0x33ea('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x33ea('0x5'));var rimraf=require(_0x33ea('0x6'));var config=require('../../config/environment');var attributes=require('./cmHopperBlack.attributes');module['exports']=function(_0x331ec7,_0x5502ed){return _0x331ec7[_0x33ea('0x7')](_0x33ea('0x8'),attributes,{'tableName':_0x33ea('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};