Built motion from commit 4ca75f1b.|2.6.28
[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 _0x1ed4=['uniqueid','util','api','moment','request-promise','path','../../config/environment','./cmHopperFinal.attributes','exports','define','cm_hopper_final','calleridnum'];(function(_0x9aada2,_0xd2d349){var _0x196dff=function(_0x5ad061){while(--_0x5ad061){_0x9aada2['push'](_0x9aada2['shift']());}};_0x196dff(++_0xd2d349);}(_0x1ed4,0x9d));var _0x41ed=function(_0x1dc06e,_0x2bf1f8){_0x1dc06e=_0x1dc06e-0x0;var _0x1d3737=_0x1ed4[_0x1dc06e];return _0x1d3737;};'use strict';var _=require('lodash');var util=require(_0x41ed('0x0'));var logger=require('../../config/logger')(_0x41ed('0x1'));var moment=require(_0x41ed('0x2'));var BPromise=require('bluebird');var rp=require(_0x41ed('0x3'));var fs=require('fs');var path=require(_0x41ed('0x4'));var rimraf=require('rimraf');var config=require(_0x41ed('0x5'));var attributes=require(_0x41ed('0x6'));module[_0x41ed('0x7')]=function(_0x2132c7,_0x4a59e5){return _0x2132c7[_0x41ed('0x8')]('CmHopperFinal',attributes,{'tableName':_0x41ed('0x9'),'paranoid':![],'indexes':[{'name':_0x41ed('0xa'),'fields':['calleridnum']},{'name':'uniqueid','fields':[_0x41ed('0xb')]}],'timestamps':!![]});};