56c4d5a9644a87176a656f2a521e222e54bf3b9d
[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 _0xb21e=['CmHopperBlack','cm_hopper_black','lodash','util','../../config/logger','moment','bluebird','../../config/environment','./cmHopperBlack.attributes','exports','define'];(function(_0x25c988,_0xce8221){var _0x45fcc2=function(_0x47fba5){while(--_0x47fba5){_0x25c988['push'](_0x25c988['shift']());}};_0x45fcc2(++_0xce8221);}(_0xb21e,0x12b));var _0xeb21=function(_0x13ea00,_0x12f610){_0x13ea00=_0x13ea00-0x0;var _0x1f7347=_0xb21e[_0x13ea00];return _0x1f7347;};'use strict';var _=require(_0xeb21('0x0'));var util=require(_0xeb21('0x1'));var logger=require(_0xeb21('0x2'))('api');var moment=require(_0xeb21('0x3'));var BPromise=require(_0xeb21('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xeb21('0x5'));var attributes=require(_0xeb21('0x6'));module[_0xeb21('0x7')]=function(_0x4f829e,_0x13b5df){return _0x4f829e[_0xeb21('0x8')](_0xeb21('0x9'),attributes,{'tableName':_0xeb21('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};