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 _0xed20=['lodash','api','moment','bluebird','rimraf','exports','define','CmHopperAdditionalPhone','cm_hopper_additional_phones'];(function(_0x5cd54f,_0x2254a0){var _0x4c660d=function(_0x30c996){while(--_0x30c996){_0x5cd54f['push'](_0x5cd54f['shift']());}};_0x4c660d(++_0x2254a0);}(_0xed20,0x1b9));var _0x0ed2=function(_0x2341ea,_0x59b7d5){_0x2341ea=_0x2341ea-0x0;var _0x3b86bd=_0xed20[_0x2341ea];return _0x3b86bd;};'use strict';var _=require(_0x0ed2('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x0ed2('0x1'));var moment=require(_0x0ed2('0x2'));var BPromise=require(_0x0ed2('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0ed2('0x4'));var config=require('../../config/environment');var attributes=require('./cmHopperAdditionalPhone.attributes');module[_0x0ed2('0x5')]=function(_0x21f74a,_0x5ee21e){return _0x21f74a[_0x0ed2('0x6')](_0x0ed2('0x7'),attributes,{'tableName':_0x0ed2('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};