318b18c200f60bc372ed11793512f66047fca4ca
[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 _0xe2f0=['path','rimraf','define','CmHopperBlack','cm_hopper_black','lodash','util','api','moment','request-promise'];(function(_0x274247,_0x32b42d){var _0x48accf=function(_0x51f4cb){while(--_0x51f4cb){_0x274247['push'](_0x274247['shift']());}};_0x48accf(++_0x32b42d);}(_0xe2f0,0x109));var _0x0e2f=function(_0x588791,_0x35a42e){_0x588791=_0x588791-0x0;var _0x28937a=_0xe2f0[_0x588791];return _0x28937a;};'use strict';var _=require(_0x0e2f('0x0'));var util=require(_0x0e2f('0x1'));var logger=require('../../config/logger')(_0x0e2f('0x2'));var moment=require(_0x0e2f('0x3'));var BPromise=require('bluebird');var rp=require(_0x0e2f('0x4'));var fs=require('fs');var path=require(_0x0e2f('0x5'));var rimraf=require(_0x0e2f('0x6'));var config=require('../../config/environment');var attributes=require('./cmHopperBlack.attributes');module['exports']=function(_0x2c76d1,_0x3dc7fa){return _0x2c76d1[_0x0e2f('0x7')](_0x0e2f('0x8'),attributes,{'tableName':_0x0e2f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};