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 _0x309a=['freshdesk_unique_index','FieldId','util','../../config/logger','api','moment','request-promise','path','./intFreshdeskField.attributes','exports','int_freshdesk_fields'];(function(_0x1caf6a,_0x26a5bf){var _0x1bf493=function(_0x3982f5){while(--_0x3982f5){_0x1caf6a['push'](_0x1caf6a['shift']());}};_0x1bf493(++_0x26a5bf);}(_0x309a,0x7b));var _0xa309=function(_0x5a171b,_0x189093){_0x5a171b=_0x5a171b-0x0;var _0x56ed9f=_0x309a[_0x5a171b];return _0x56ed9f;};'use strict';var _=require('lodash');var util=require(_0xa309('0x0'));var logger=require(_0xa309('0x1'))(_0xa309('0x2'));var moment=require(_0xa309('0x3'));var BPromise=require('bluebird');var rp=require(_0xa309('0x4'));var fs=require('fs');var path=require(_0xa309('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa309('0x6'));module[_0xa309('0x7')]=function(_0x438832,_0x3b1f13){return _0x438832['define']('FreshdeskField',attributes,{'tableName':_0xa309('0x8'),'paranoid':![],'indexes':[{'name':_0xa309('0x9'),'fields':['idField',_0xa309('0xa')],'unique':!![]}],'timestamps':!![]});};