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 _0xf6a7=['./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts','lodash','util','moment','bluebird','request-promise','path','rimraf'];(function(_0x560a65,_0x23ad23){var _0x2450b4=function(_0x370218){while(--_0x370218){_0x560a65['push'](_0x560a65['shift']());}};_0x2450b4(++_0x23ad23);}(_0xf6a7,0x1b3));var _0x7f6a=function(_0x313711,_0x36c1c5){_0x313711=_0x313711-0x0;var _0xd33e3c=_0xf6a7[_0x313711];return _0xd33e3c;};'use strict';var _=require(_0x7f6a('0x0'));var util=require(_0x7f6a('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x7f6a('0x2'));var BPromise=require(_0x7f6a('0x3'));var rp=require(_0x7f6a('0x4'));var fs=require('fs');var path=require(_0x7f6a('0x5'));var rimraf=require(_0x7f6a('0x6'));var config=require('../../config/environment');var attributes=require(_0x7f6a('0x7'));var integrations=require(_0x7f6a('0x8'));module[_0x7f6a('0x9')]=function(_0x406998,_0x30e047){return _0x406998[_0x7f6a('0xa')](_0x7f6a('0xb'),attributes,{'tableName':_0x7f6a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};