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 _0x37a8=['../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./intZendeskAccount.attributes','exports','define','ZendeskAccount','int_zendesk_accounts','lodash'];(function(_0x1928c9,_0x13a6d1){var _0x51b5fb=function(_0x24cf70){while(--_0x24cf70){_0x1928c9['push'](_0x1928c9['shift']());}};_0x51b5fb(++_0x13a6d1);}(_0x37a8,0x6b));var _0x837a=function(_0x3bb0d4,_0xe492ec){_0x3bb0d4=_0x3bb0d4-0x0;var _0x269be3=_0x37a8[_0x3bb0d4];return _0x269be3;};'use strict';var _=require(_0x837a('0x0'));var util=require('util');var logger=require(_0x837a('0x1'))('api');var moment=require(_0x837a('0x2'));var BPromise=require(_0x837a('0x3'));var rp=require(_0x837a('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x837a('0x5'));var config=require(_0x837a('0x6'));var attributes=require(_0x837a('0x7'));var integrations=require('../../components/integrations/configuration');module[_0x837a('0x8')]=function(_0x3bdd64,_0x5f57bc){return _0x3bdd64[_0x837a('0x9')](_0x837a('0xa'),attributes,{'tableName':_0x837a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};