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 _0xffeb=['./contactItemType.attributes','define','ContactItemType','tools_contact_item_types','lodash','../../config/logger','moment','path','../../config/environment'];(function(_0x312ec2,_0x5327aa){var _0x54c6b9=function(_0x4db869){while(--_0x4db869){_0x312ec2['push'](_0x312ec2['shift']());}};_0x54c6b9(++_0x5327aa);}(_0xffeb,0x175));var _0xbffe=function(_0x2f1cab,_0x22bfb5){_0x2f1cab=_0x2f1cab-0x0;var _0x368201=_0xffeb[_0x2f1cab];return _0x368201;};'use strict';var _=require(_0xbffe('0x0'));var util=require('util');var logger=require(_0xbffe('0x1'))('api');var moment=require(_0xbffe('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xbffe('0x3'));var rimraf=require('rimraf');var config=require(_0xbffe('0x4'));var attributes=require(_0xbffe('0x5'));module['exports']=function(_0x306aa4,_0x2c8241){return _0x306aa4[_0xbffe('0x6')](_0xbffe('0x7'),attributes,{'tableName':_0xbffe('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};