Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / cmHopperFinal / cmHopperFinal.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 _0x4f3f=['lodash','util','../../config/logger','api','request-promise','path','rimraf','define','CmHopperFinal','cm_hopper_final','uniqueid'];(function(_0x3cc7b9,_0x5d893f){var _0x1c4496=function(_0x1f8cb6){while(--_0x1f8cb6){_0x3cc7b9['push'](_0x3cc7b9['shift']());}};_0x1c4496(++_0x5d893f);}(_0x4f3f,0x1ef));var _0xf4f3=function(_0x214c18,_0x4a7b79){_0x214c18=_0x214c18-0x0;var _0x1db402=_0x4f3f[_0x214c18];return _0x1db402;};'use strict';var _=require(_0xf4f3('0x0'));var util=require(_0xf4f3('0x1'));var logger=require(_0xf4f3('0x2'))(_0xf4f3('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf4f3('0x4'));var fs=require('fs');var path=require(_0xf4f3('0x5'));var rimraf=require(_0xf4f3('0x6'));var config=require('../../config/environment');var attributes=require('./cmHopperFinal.attributes');module['exports']=function(_0x46aeff,_0x49721c){return _0x46aeff[_0xf4f3('0x7')](_0xf4f3('0x8'),attributes,{'tableName':_0xf4f3('0x9'),'paranoid':![],'indexes':[{'name':'calleridnum','fields':['calleridnum']},{'name':_0xf4f3('0xa'),'fields':['uniqueid']}],'timestamps':!![]});};