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 _0x15e8=['exports','define','cm_hopper_final','calleridnum','lodash','util','api','moment','bluebird','request-promise','rimraf','../../config/environment','./cmHopperFinal.attributes'];(function(_0x2a92fc,_0x34d1e6){var _0x236359=function(_0x4845e3){while(--_0x4845e3){_0x2a92fc['push'](_0x2a92fc['shift']());}};_0x236359(++_0x34d1e6);}(_0x15e8,0x1e5));var _0x815e=function(_0x120da5,_0x35e37c){_0x120da5=_0x120da5-0x0;var _0x2564ab=_0x15e8[_0x120da5];return _0x2564ab;};'use strict';var _=require(_0x815e('0x0'));var util=require(_0x815e('0x1'));var logger=require('../../config/logger')(_0x815e('0x2'));var moment=require(_0x815e('0x3'));var BPromise=require(_0x815e('0x4'));var rp=require(_0x815e('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x815e('0x6'));var config=require(_0x815e('0x7'));var attributes=require(_0x815e('0x8'));module[_0x815e('0x9')]=function(_0x2eaf6d,_0x4e3286){return _0x2eaf6d[_0x815e('0xa')]('CmHopperFinal',attributes,{'tableName':_0x815e('0xb'),'paranoid':![],'indexes':[{'name':_0x815e('0xc'),'fields':['calleridnum']},{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};