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 _0x6ac8=['./cmHopperFinal.attributes','exports','CmHopperFinal','calleridnum','uniqueid','util','../../config/logger','moment','bluebird','path','rimraf'];(function(_0x261e29,_0x10fffd){var _0x25ef43=function(_0x21b8e7){while(--_0x21b8e7){_0x261e29['push'](_0x261e29['shift']());}};_0x25ef43(++_0x10fffd);}(_0x6ac8,0x68));var _0x86ac=function(_0x4bfac3,_0x58324d){_0x4bfac3=_0x4bfac3-0x0;var _0x15f0f2=_0x6ac8[_0x4bfac3];return _0x15f0f2;};'use strict';var _=require('lodash');var util=require(_0x86ac('0x0'));var logger=require(_0x86ac('0x1'))('api');var moment=require(_0x86ac('0x2'));var BPromise=require(_0x86ac('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x86ac('0x4'));var rimraf=require(_0x86ac('0x5'));var config=require('../../config/environment');var attributes=require(_0x86ac('0x6'));module[_0x86ac('0x7')]=function(_0x13e41c,_0x1e3c50){return _0x13e41c['define'](_0x86ac('0x8'),attributes,{'tableName':'cm_hopper_final','paranoid':![],'indexes':[{'name':_0x86ac('0x9'),'fields':['calleridnum']},{'name':_0x86ac('0xa'),'fields':['uniqueid']}],'timestamps':!![]});};