788decd89a4f4321163fc9110734090ac2673c5f
[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 _0x67fe=['api','bluebird','request-promise','path','rimraf','./cmHopperFinal.attributes','exports','define','calleridnum','uniqueid','lodash','../../config/logger'];(function(_0x4cd134,_0x4fce47){var _0x5ba533=function(_0x3ed9c5){while(--_0x3ed9c5){_0x4cd134['push'](_0x4cd134['shift']());}};_0x5ba533(++_0x4fce47);}(_0x67fe,0x112));var _0xe67f=function(_0x324eb1,_0x4a44cc){_0x324eb1=_0x324eb1-0x0;var _0x60d4f=_0x67fe[_0x324eb1];return _0x60d4f;};'use strict';var _=require(_0xe67f('0x0'));var util=require('util');var logger=require(_0xe67f('0x1'))(_0xe67f('0x2'));var moment=require('moment');var BPromise=require(_0xe67f('0x3'));var rp=require(_0xe67f('0x4'));var fs=require('fs');var path=require(_0xe67f('0x5'));var rimraf=require(_0xe67f('0x6'));var config=require('../../config/environment');var attributes=require(_0xe67f('0x7'));module[_0xe67f('0x8')]=function(_0x53bdad,_0x393671){return _0x53bdad[_0xe67f('0x9')]('CmHopperFinal',attributes,{'tableName':'cm_hopper_final','paranoid':![],'indexes':[{'name':_0xe67f('0xa'),'fields':['calleridnum']},{'name':_0xe67f('0xb'),'fields':[_0xe67f('0xb')]}],'timestamps':!![]});};