13627f22927afadf8ef908dcb09381f83401648e
[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 _0x4e60=['rimraf','../../config/environment','exports','define','CmHopperBlack','cm_hopper_black','util','../../config/logger','api','moment','request-promise','path'];(function(_0x4b980d,_0x32fc6a){var _0x5c7974=function(_0x3b7af4){while(--_0x3b7af4){_0x4b980d['push'](_0x4b980d['shift']());}};_0x5c7974(++_0x32fc6a);}(_0x4e60,0xf6));var _0x04e6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4e60[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0x04e6('0x0'));var logger=require(_0x04e6('0x1'))(_0x04e6('0x2'));var moment=require(_0x04e6('0x3'));var BPromise=require('bluebird');var rp=require(_0x04e6('0x4'));var fs=require('fs');var path=require(_0x04e6('0x5'));var rimraf=require(_0x04e6('0x6'));var config=require(_0x04e6('0x7'));var attributes=require('./cmHopperBlack.attributes');module[_0x04e6('0x8')]=function(_0x4d86dc,_0x5c7ec1){return _0x4d86dc[_0x04e6('0x9')](_0x04e6('0xa'),attributes,{'tableName':_0x04e6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};