5306d3b474d43042de4ecc2b12736435da0e6ef2
[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 _0x030a=['CmHopperBlack','cm_hopper_black','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x3d85ed,_0x2bc677){var _0xf2d579=function(_0x3f7dae){while(--_0x3f7dae){_0x3d85ed['push'](_0x3d85ed['shift']());}};_0xf2d579(++_0x2bc677);}(_0x030a,0x13d));var _0xa030=function(_0x10b4b8,_0x450fea){_0x10b4b8=_0x10b4b8-0x0;var _0x424293=_0x030a[_0x10b4b8];return _0x424293;};'use strict';var _=require('lodash');var util=require(_0xa030('0x0'));var logger=require(_0xa030('0x1'))(_0xa030('0x2'));var moment=require(_0xa030('0x3'));var BPromise=require(_0xa030('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa030('0x5'));var rimraf=require(_0xa030('0x6'));var config=require('../../config/environment');var attributes=require('./cmHopperBlack.attributes');module['exports']=function(_0xff93be,_0x54fafa){return _0xff93be['define'](_0xa030('0x7'),attributes,{'tableName':_0xa030('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};