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 _0xf9e7=['exports','ZendeskAccount','../../config/logger','bluebird','request-promise','path','rimraf','../../components/integrations/configuration'];(function(_0x483102,_0x54e93d){var _0x5cc885=function(_0x54931c){while(--_0x54931c){_0x483102['push'](_0x483102['shift']());}};_0x5cc885(++_0x54e93d);}(_0xf9e7,0x1b2));var _0x7f9e=function(_0x15d9b4,_0x427b76){_0x15d9b4=_0x15d9b4-0x0;var _0x25543e=_0xf9e7[_0x15d9b4];return _0x25543e;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x7f9e('0x0'))('api');var moment=require('moment');var BPromise=require(_0x7f9e('0x1'));var rp=require(_0x7f9e('0x2'));var fs=require('fs');var path=require(_0x7f9e('0x3'));var rimraf=require(_0x7f9e('0x4'));var config=require('../../config/environment');var attributes=require('./intZendeskAccount.attributes');var integrations=require(_0x7f9e('0x5'));module[_0x7f9e('0x6')]=function(_0x3a0bb9,_0x5bed18){return _0x3a0bb9['define'](_0x7f9e('0x7'),attributes,{'tableName':'int_zendesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};