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 _0x697f=['../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts','lodash','util','../../config/logger','api','moment','bluebird','./intZendeskAccount.attributes'];(function(_0x411583,_0x46558a){var _0x49be05=function(_0x1bfa28){while(--_0x1bfa28){_0x411583['push'](_0x411583['shift']());}};_0x49be05(++_0x46558a);}(_0x697f,0x13d));var _0xf697=function(_0x1ca415,_0x19759c){_0x1ca415=_0x1ca415-0x0;var _0x3e60ce=_0x697f[_0x1ca415];return _0x3e60ce;};'use strict';var _=require(_0xf697('0x0'));var util=require(_0xf697('0x1'));var logger=require(_0xf697('0x2'))(_0xf697('0x3'));var moment=require(_0xf697('0x4'));var BPromise=require(_0xf697('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xf697('0x6'));var integrations=require(_0xf697('0x7'));module[_0xf697('0x8')]=function(_0x492116,_0x1c86bc){return _0x492116[_0xf697('0x9')](_0xf697('0xa'),attributes,{'tableName':_0xf697('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};