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 _0xf986=['request-promise','CmContactHasPhone','cm_contact_has_phones','lodash','util','../../config/logger','moment','bluebird'];(function(_0x1f865a,_0xf1cdb6){var _0x42c455=function(_0x32f853){while(--_0x32f853){_0x1f865a['push'](_0x1f865a['shift']());}};_0x42c455(++_0xf1cdb6);}(_0xf986,0x163));var _0x6f98=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xf986[_0x19e35c];return _0x3e1fe8;};'use strict';var _=require(_0x6f98('0x0'));var util=require(_0x6f98('0x1'));var logger=require(_0x6f98('0x2'))('api');var moment=require(_0x6f98('0x3'));var BPromise=require(_0x6f98('0x4'));var rp=require(_0x6f98('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./cmContactHasPhone.attributes');module['exports']=function(_0x256c18,_0x3a4934){return _0x256c18['define'](_0x6f98('0x6'),attributes,{'tableName':_0x6f98('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};