Built motion from commit ddca4d0d.|2.5.47
[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 _0x7c3a=['api','bluebird','request-promise','path','./cmHopperBlack.attributes','exports','define','CmHopperBlack','cm_hopper_black','lodash','util','../../config/logger'];(function(_0x1315a0,_0x521a5e){var _0x1785da=function(_0x549b5e){while(--_0x549b5e){_0x1315a0['push'](_0x1315a0['shift']());}};_0x1785da(++_0x521a5e);}(_0x7c3a,0x129));var _0xa7c3=function(_0x1fc84d,_0x3f469d){_0x1fc84d=_0x1fc84d-0x0;var _0x2658fa=_0x7c3a[_0x1fc84d];return _0x2658fa;};'use strict';var _=require(_0xa7c3('0x0'));var util=require(_0xa7c3('0x1'));var logger=require(_0xa7c3('0x2'))(_0xa7c3('0x3'));var moment=require('moment');var BPromise=require(_0xa7c3('0x4'));var rp=require(_0xa7c3('0x5'));var fs=require('fs');var path=require(_0xa7c3('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa7c3('0x7'));module[_0xa7c3('0x8')]=function(_0x5e641e,_0xfdb53b){return _0x5e641e[_0xa7c3('0x9')](_0xa7c3('0xa'),attributes,{'tableName':_0xa7c3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};