e9baa1f07db472aa23b76e8a2bba0a688321583c
[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 _0xe71d=['rimraf','./cmHopperBlack.attributes','exports','define','CmHopperBlack','cm_hopper_black','lodash','util','api','moment','request-promise','path'];(function(_0x3bf83c,_0xe09652){var _0x2f7323=function(_0x1d2920){while(--_0x1d2920){_0x3bf83c['push'](_0x3bf83c['shift']());}};_0x2f7323(++_0xe09652);}(_0xe71d,0xa2));var _0xde71=function(_0x4d8ed9,_0x2ae284){_0x4d8ed9=_0x4d8ed9-0x0;var _0x1e2140=_0xe71d[_0x4d8ed9];return _0x1e2140;};'use strict';var _=require(_0xde71('0x0'));var util=require(_0xde71('0x1'));var logger=require('../../config/logger')(_0xde71('0x2'));var moment=require(_0xde71('0x3'));var BPromise=require('bluebird');var rp=require(_0xde71('0x4'));var fs=require('fs');var path=require(_0xde71('0x5'));var rimraf=require(_0xde71('0x6'));var config=require('../../config/environment');var attributes=require(_0xde71('0x7'));module[_0xde71('0x8')]=function(_0x26578a,_0x1528d0){return _0x26578a[_0xde71('0x9')](_0xde71('0xa'),attributes,{'tableName':_0xde71('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};