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 _0x873a=['lodash','util','../../config/logger','moment','path','rimraf','./contactItemType.attributes','exports','ContactItemType','tools_contact_item_types'];(function(_0xbdf03f,_0x595215){var _0x2bbe9e=function(_0x59fbd4){while(--_0x59fbd4){_0xbdf03f['push'](_0xbdf03f['shift']());}};_0x2bbe9e(++_0x595215);}(_0x873a,0x1c2));var _0xa873=function(_0x6472ed,_0x2ae443){_0x6472ed=_0x6472ed-0x0;var _0x23ab07=_0x873a[_0x6472ed];return _0x23ab07;};'use strict';var _=require(_0xa873('0x0'));var util=require(_0xa873('0x1'));var logger=require(_0xa873('0x2'))('api');var moment=require(_0xa873('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xa873('0x4'));var rimraf=require(_0xa873('0x5'));var config=require('../../config/environment');var attributes=require(_0xa873('0x6'));module[_0xa873('0x7')]=function(_0x5c0d74,_0x370b8a){return _0x5c0d74['define'](_0xa873('0x8'),attributes,{'tableName':_0xa873('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};