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 _0xb71f=['lodash','../../config/logger','request-promise','path','rimraf','../../config/environment','./intZendeskField.attributes','exports','define','ZendeskField','int_zendesk_fields','zendesk_unique_index','idField'];(function(_0x158e93,_0xc7895){var _0x2f200a=function(_0x21cfc2){while(--_0x21cfc2){_0x158e93['push'](_0x158e93['shift']());}};_0x2f200a(++_0xc7895);}(_0xb71f,0x1e1));var _0xfb71=function(_0x16bb4b,_0x5fe431){_0x16bb4b=_0x16bb4b-0x0;var _0x8aeb84=_0xb71f[_0x16bb4b];return _0x8aeb84;};'use strict';var _=require(_0xfb71('0x0'));var util=require('util');var logger=require(_0xfb71('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xfb71('0x2'));var fs=require('fs');var path=require(_0xfb71('0x3'));var rimraf=require(_0xfb71('0x4'));var config=require(_0xfb71('0x5'));var attributes=require(_0xfb71('0x6'));module[_0xfb71('0x7')]=function(_0x14a651,_0x487c36){return _0x14a651[_0xfb71('0x8')](_0xfb71('0x9'),attributes,{'tableName':_0xfb71('0xa'),'paranoid':![],'indexes':[{'name':_0xfb71('0xb'),'fields':[_0xfb71('0xc'),'FieldId'],'unique':!![]}],'timestamps':!![]});};