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 _0xe3dc=['CmHopperAdditionalPhone','cm_hopper_additional_phones','lodash','util','../../config/logger','bluebird','rimraf','../../config/environment','exports','define'];(function(_0x44678a,_0x46cb70){var _0x8a8bf8=function(_0x1dfdb6){while(--_0x1dfdb6){_0x44678a['push'](_0x44678a['shift']());}};_0x8a8bf8(++_0x46cb70);}(_0xe3dc,0x14c));var _0xce3d=function(_0x57a0a4,_0x5589c1){_0x57a0a4=_0x57a0a4-0x0;var _0x1b0ec5=_0xe3dc[_0x57a0a4];return _0x1b0ec5;};'use strict';var _=require(_0xce3d('0x0'));var util=require(_0xce3d('0x1'));var logger=require(_0xce3d('0x2'))('api');var moment=require('moment');var BPromise=require(_0xce3d('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xce3d('0x4'));var config=require(_0xce3d('0x5'));var attributes=require('./cmHopperAdditionalPhone.attributes');module[_0xce3d('0x6')]=function(_0x8c7dd6,_0x15a8b7){return _0x8c7dd6[_0xce3d('0x7')](_0xce3d('0x8'),attributes,{'tableName':_0xce3d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};