87c14bc0e2a8852dac0331ba3d08c29b1714e813
[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 _0xa2b7=['uniqueid','lodash','util','../../config/logger','api','moment','path','../../config/environment','exports','define','cm_hopper_final','calleridnum'];(function(_0x51a84c,_0x5eae5e){var _0x288f27=function(_0x5b7f7c){while(--_0x5b7f7c){_0x51a84c['push'](_0x51a84c['shift']());}};_0x288f27(++_0x5eae5e);}(_0xa2b7,0x1c9));var _0x7a2b=function(_0x18f76d,_0x534402){_0x18f76d=_0x18f76d-0x0;var _0xb70ebd=_0xa2b7[_0x18f76d];return _0xb70ebd;};'use strict';var _=require(_0x7a2b('0x0'));var util=require(_0x7a2b('0x1'));var logger=require(_0x7a2b('0x2'))(_0x7a2b('0x3'));var moment=require(_0x7a2b('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x7a2b('0x5'));var rimraf=require('rimraf');var config=require(_0x7a2b('0x6'));var attributes=require('./cmHopperFinal.attributes');module[_0x7a2b('0x7')]=function(_0x236a70,_0x1155dd){return _0x236a70[_0x7a2b('0x8')]('CmHopperFinal',attributes,{'tableName':_0x7a2b('0x9'),'paranoid':![],'indexes':[{'name':_0x7a2b('0xa'),'fields':[_0x7a2b('0xa')]},{'name':_0x7a2b('0xb'),'fields':[_0x7a2b('0xb')]}],'timestamps':!![]});};