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 _0xb73b=['rimraf','./intFreshdeskField.attributes','FreshdeskField','freshdesk_unique_index','idField','lodash','util','api','moment','bluebird','request-promise'];(function(_0x5af812,_0x43d252){var _0x1489f2=function(_0x1c7fa9){while(--_0x1c7fa9){_0x5af812['push'](_0x5af812['shift']());}};_0x1489f2(++_0x43d252);}(_0xb73b,0x14f));var _0xbb73=function(_0x2b1661,_0x12fb47){_0x2b1661=_0x2b1661-0x0;var _0x32ca92=_0xb73b[_0x2b1661];return _0x32ca92;};'use strict';var _=require(_0xbb73('0x0'));var util=require(_0xbb73('0x1'));var logger=require('../../config/logger')(_0xbb73('0x2'));var moment=require(_0xbb73('0x3'));var BPromise=require(_0xbb73('0x4'));var rp=require(_0xbb73('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbb73('0x6'));var config=require('../../config/environment');var attributes=require(_0xbb73('0x7'));module['exports']=function(_0x32262,_0x33b17c){return _0x32262['define'](_0xbb73('0x8'),attributes,{'tableName':'int_freshdesk_fields','paranoid':![],'indexes':[{'name':_0xbb73('0x9'),'fields':[_0xbb73('0xa'),'FieldId'],'unique':!![]}],'timestamps':!![]});};