e73ce29d36f2bde361898794e411fd7c8a29350e
[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 _0x57f9=['lodash','util','../../config/logger','path','rimraf','./cmHopperBlack.attributes','exports','define','CmHopperBlack','cm_hopper_black'];(function(_0x2e9533,_0x1f04a1){var _0x50b151=function(_0x37c7af){while(--_0x37c7af){_0x2e9533['push'](_0x2e9533['shift']());}};_0x50b151(++_0x1f04a1);}(_0x57f9,0x172));var _0x957f=function(_0x3f5830,_0x5c7316){_0x3f5830=_0x3f5830-0x0;var _0x210159=_0x57f9[_0x3f5830];return _0x210159;};'use strict';var _=require(_0x957f('0x0'));var util=require(_0x957f('0x1'));var logger=require(_0x957f('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x957f('0x3'));var rimraf=require(_0x957f('0x4'));var config=require('../../config/environment');var attributes=require(_0x957f('0x5'));module[_0x957f('0x6')]=function(_0x2bce02,_0x387714){return _0x2bce02[_0x957f('0x7')](_0x957f('0x8'),attributes,{'tableName':_0x957f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};