f6ea0563625ebf107678e54d7785ee6a983336dc
[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 _0xabda=['../../config/logger','moment','request-promise','path','rimraf','../../config/environment','exports','define','CmHopperBlack','cm_hopper_black','lodash'];(function(_0x3f7650,_0x50cd0a){var _0x308e4f=function(_0x1aa1b8){while(--_0x1aa1b8){_0x3f7650['push'](_0x3f7650['shift']());}};_0x308e4f(++_0x50cd0a);}(_0xabda,0x8e));var _0xaabd=function(_0x3b6f58,_0x5870de){_0x3b6f58=_0x3b6f58-0x0;var _0x987c61=_0xabda[_0x3b6f58];return _0x987c61;};'use strict';var _=require(_0xaabd('0x0'));var util=require('util');var logger=require(_0xaabd('0x1'))('api');var moment=require(_0xaabd('0x2'));var BPromise=require('bluebird');var rp=require(_0xaabd('0x3'));var fs=require('fs');var path=require(_0xaabd('0x4'));var rimraf=require(_0xaabd('0x5'));var config=require(_0xaabd('0x6'));var attributes=require('./cmHopperBlack.attributes');module[_0xaabd('0x7')]=function(_0x30b57f,_0x2cf2f2){return _0x30b57f[_0xaabd('0x8')](_0xaabd('0x9'),attributes,{'tableName':_0xaabd('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};