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 _0x8b2b=['rimraf','../../config/environment','define','ZendeskField','idField','FieldId','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x3b0358,_0x4b0b30){var _0x9857f5=function(_0x4c4b42){while(--_0x4c4b42){_0x3b0358['push'](_0x3b0358['shift']());}};_0x9857f5(++_0x4b0b30);}(_0x8b2b,0x1c0));var _0xb8b2=function(_0x54598c,_0x3b1edd){_0x54598c=_0x54598c-0x0;var _0x457007=_0x8b2b[_0x54598c];return _0x457007;};'use strict';var _=require(_0xb8b2('0x0'));var util=require(_0xb8b2('0x1'));var logger=require(_0xb8b2('0x2'))('api');var moment=require(_0xb8b2('0x3'));var BPromise=require(_0xb8b2('0x4'));var rp=require(_0xb8b2('0x5'));var fs=require('fs');var path=require(_0xb8b2('0x6'));var rimraf=require(_0xb8b2('0x7'));var config=require(_0xb8b2('0x8'));var attributes=require('./intZendeskField.attributes');module['exports']=function(_0xba7734,_0x31b3f9){return _0xba7734[_0xb8b2('0x9')](_0xb8b2('0xa'),attributes,{'tableName':'int_zendesk_fields','paranoid':![],'indexes':[{'name':'zendesk_unique_index','fields':[_0xb8b2('0xb'),_0xb8b2('0xc')],'unique':!![]}],'timestamps':!![]});};