Built motion from commit b5413ace.|2.6.9
[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 _0xd584=['rimraf','../../config/environment','exports','define','CmHopperBlack','cm_hopper_black','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x44fb48,_0x7f723f){var _0x5a536f=function(_0x59792a){while(--_0x59792a){_0x44fb48['push'](_0x44fb48['shift']());}};_0x5a536f(++_0x7f723f);}(_0xd584,0xae));var _0x4d58=function(_0x8ff49b,_0x30e617){_0x8ff49b=_0x8ff49b-0x0;var _0x1e4754=_0xd584[_0x8ff49b];return _0x1e4754;};'use strict';var _=require(_0x4d58('0x0'));var util=require(_0x4d58('0x1'));var logger=require(_0x4d58('0x2'))(_0x4d58('0x3'));var moment=require(_0x4d58('0x4'));var BPromise=require(_0x4d58('0x5'));var rp=require(_0x4d58('0x6'));var fs=require('fs');var path=require(_0x4d58('0x7'));var rimraf=require(_0x4d58('0x8'));var config=require(_0x4d58('0x9'));var attributes=require('./cmHopperBlack.attributes');module[_0x4d58('0xa')]=function(_0x3d1870,_0x3c9fd8){return _0x3d1870[_0x4d58('0xb')](_0x4d58('0xc'),attributes,{'tableName':_0x4d58('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};