Built motion from commit ffdca78c.|2.6.24
[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 _0xbd28=['../../config/environment','exports','define','CmHopperBlack','cm_hopper_black','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x259d17,_0x220710){var _0x407535=function(_0x49bc38){while(--_0x49bc38){_0x259d17['push'](_0x259d17['shift']());}};_0x407535(++_0x220710);}(_0xbd28,0x95));var _0x8bd2=function(_0x26b8b5,_0xf5c2c1){_0x26b8b5=_0x26b8b5-0x0;var _0x2150a9=_0xbd28[_0x26b8b5];return _0x2150a9;};'use strict';var _=require(_0x8bd2('0x0'));var util=require('util');var logger=require(_0x8bd2('0x1'))(_0x8bd2('0x2'));var moment=require(_0x8bd2('0x3'));var BPromise=require(_0x8bd2('0x4'));var rp=require(_0x8bd2('0x5'));var fs=require('fs');var path=require(_0x8bd2('0x6'));var rimraf=require('rimraf');var config=require(_0x8bd2('0x7'));var attributes=require('./cmHopperBlack.attributes');module[_0x8bd2('0x8')]=function(_0x34c16c,_0x1d209d){return _0x34c16c[_0x8bd2('0x9')](_0x8bd2('0xa'),attributes,{'tableName':_0x8bd2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};