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 _0xe2f9=['path','rimraf','../../config/environment','exports','cm_hopper_additional_phones','../../config/logger','moment'];(function(_0x1b3c19,_0x56c84d){var _0x59f664=function(_0x2ccc3a){while(--_0x2ccc3a){_0x1b3c19['push'](_0x1b3c19['shift']());}};_0x59f664(++_0x56c84d);}(_0xe2f9,0x7c));var _0x9e2f=function(_0xd094d7,_0x1c4feb){_0xd094d7=_0xd094d7-0x0;var _0x2dc98a=_0xe2f9[_0xd094d7];return _0x2dc98a;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x9e2f('0x0'))('api');var moment=require(_0x9e2f('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x9e2f('0x2'));var rimraf=require(_0x9e2f('0x3'));var config=require(_0x9e2f('0x4'));var attributes=require('./cmHopperAdditionalPhone.attributes');module[_0x9e2f('0x5')]=function(_0x34be36,_0x147ba6){return _0x34be36['define']('CmHopperAdditionalPhone',attributes,{'tableName':_0x9e2f('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};