Built motion from commit (unavailable).|2.5.23
[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 _0xe402=['uniqueid','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./cmHopperFinal.attributes','exports','define','cm_hopper_final','calleridnum'];(function(_0x3df9dd,_0x26f5cd){var _0x4f11e4=function(_0x1993fe){while(--_0x1993fe){_0x3df9dd['push'](_0x3df9dd['shift']());}};_0x4f11e4(++_0x26f5cd);}(_0xe402,0xd3));var _0x2e40=function(_0x480eff,_0x541555){_0x480eff=_0x480eff-0x0;var _0x5c8aeb=_0xe402[_0x480eff];return _0x5c8aeb;};'use strict';var _=require(_0x2e40('0x0'));var util=require(_0x2e40('0x1'));var logger=require(_0x2e40('0x2'))(_0x2e40('0x3'));var moment=require(_0x2e40('0x4'));var BPromise=require(_0x2e40('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2e40('0x6'));var rimraf=require(_0x2e40('0x7'));var config=require(_0x2e40('0x8'));var attributes=require(_0x2e40('0x9'));module[_0x2e40('0xa')]=function(_0x28fe88,_0xc3a975){return _0x28fe88[_0x2e40('0xb')]('CmHopperFinal',attributes,{'tableName':_0x2e40('0xc'),'paranoid':![],'indexes':[{'name':_0x2e40('0xd'),'fields':[_0x2e40('0xd')]},{'name':_0x2e40('0xe'),'fields':['uniqueid']}],'timestamps':!![]});};