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 _0xe552=['define','ZendeskConfiguration','int_zendesk_configurations','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./intZendeskConfiguration.attributes','exports'];(function(_0x15bc81,_0x4d4f77){var _0x59440e=function(_0x1b60f2){while(--_0x1b60f2){_0x15bc81['push'](_0x15bc81['shift']());}};_0x59440e(++_0x4d4f77);}(_0xe552,0xd3));var _0x2e55=function(_0x150199,_0x5d8234){_0x150199=_0x150199-0x0;var _0x50fa5c=_0xe552[_0x150199];return _0x50fa5c;};'use strict';var _=require('lodash');var util=require(_0x2e55('0x0'));var logger=require(_0x2e55('0x1'))(_0x2e55('0x2'));var moment=require(_0x2e55('0x3'));var BPromise=require(_0x2e55('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2e55('0x5'));var rimraf=require(_0x2e55('0x6'));var config=require(_0x2e55('0x7'));var attributes=require(_0x2e55('0x8'));module[_0x2e55('0x9')]=function(_0x4c7ffa,_0x343a04){return _0x4c7ffa[_0x2e55('0xa')](_0x2e55('0xb'),attributes,{'tableName':_0x2e55('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};