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 _0xf94e=['rimraf','./intZendeskAccount.attributes','../../components/integrations/configuration','exports','define','ZendeskAccount','int_zendesk_accounts','lodash','bluebird','request-promise','path'];(function(_0x99ed20,_0x2afa60){var _0x130add=function(_0x3233d6){while(--_0x3233d6){_0x99ed20['push'](_0x99ed20['shift']());}};_0x130add(++_0x2afa60);}(_0xf94e,0x1eb));var _0xef94=function(_0x108c1a,_0x5553f7){_0x108c1a=_0x108c1a-0x0;var _0x58ff9d=_0xf94e[_0x108c1a];return _0x58ff9d;};'use strict';var _=require(_0xef94('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xef94('0x1'));var rp=require(_0xef94('0x2'));var fs=require('fs');var path=require(_0xef94('0x3'));var rimraf=require(_0xef94('0x4'));var config=require('../../config/environment');var attributes=require(_0xef94('0x5'));var integrations=require(_0xef94('0x6'));module[_0xef94('0x7')]=function(_0x449dea,_0x1f7ea2){return _0x449dea[_0xef94('0x8')](_0xef94('0x9'),attributes,{'tableName':_0xef94('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};