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 _0x0ef5=['../../config/environment','./cmHopperFinal.attributes','exports','define','CmHopperFinal','cm_hopper_final','calleridnum','uniqueid','util','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x4ee106,_0x5bd093){var _0x53fb39=function(_0x163337){while(--_0x163337){_0x4ee106['push'](_0x4ee106['shift']());}};_0x53fb39(++_0x5bd093);}(_0x0ef5,0x1e4));var _0x50ef=function(_0x513a81,_0x22881b){_0x513a81=_0x513a81-0x0;var _0x5550a5=_0x0ef5[_0x513a81];return _0x5550a5;};'use strict';var _=require('lodash');var util=require(_0x50ef('0x0'));var logger=require(_0x50ef('0x1'))('api');var moment=require('moment');var BPromise=require(_0x50ef('0x2'));var rp=require(_0x50ef('0x3'));var fs=require('fs');var path=require(_0x50ef('0x4'));var rimraf=require(_0x50ef('0x5'));var config=require(_0x50ef('0x6'));var attributes=require(_0x50ef('0x7'));module[_0x50ef('0x8')]=function(_0x5e3cfb,_0xb19aa0){return _0x5e3cfb[_0x50ef('0x9')](_0x50ef('0xa'),attributes,{'tableName':_0x50ef('0xb'),'paranoid':![],'indexes':[{'name':_0x50ef('0xc'),'fields':[_0x50ef('0xc')]},{'name':_0x50ef('0xd'),'fields':[_0x50ef('0xd')]}],'timestamps':!![]});};