1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x01e0=['lodash','../../config/logger','moment','bluebird','request-promise','rimraf','./cmHopperFinal.attributes','exports','CmHopperFinal','cm_hopper_final','uniqueid'];(function(_0x2e5f02,_0x42c839){var _0x57abe3=function(_0x4942aa){while(--_0x4942aa){_0x2e5f02['push'](_0x2e5f02['shift']());}};_0x57abe3(++_0x42c839);}(_0x01e0,0x84));var _0x001e=function(_0x64f4bc,_0x232ea1){_0x64f4bc=_0x64f4bc-0x0;var _0x3bec49=_0x01e0[_0x64f4bc];return _0x3bec49;};'use strict';var _=require(_0x001e('0x0'));var util=require('util');var logger=require(_0x001e('0x1'))('api');var moment=require(_0x001e('0x2'));var BPromise=require(_0x001e('0x3'));var rp=require(_0x001e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x001e('0x5'));var config=require('../../config/environment');var attributes=require(_0x001e('0x6'));module[_0x001e('0x7')]=function(_0x1e48ae,_0x51852d){return _0x1e48ae['define'](_0x001e('0x8'),attributes,{'tableName':_0x001e('0x9'),'paranoid':![],'indexes':[{'name':'calleridnum','fields':['calleridnum']},{'name':_0x001e('0xa'),'fields':[_0x001e('0xa')]}],'timestamps':!![]});};