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 _0x166d=['freshdesk_unique_index','idField','lodash','api','moment','bluebird','path','rimraf','./intFreshdeskField.attributes','define','FreshdeskField'];(function(_0x3bf83f,_0x181cac){var _0x22c4a9=function(_0xb3ff0d){while(--_0xb3ff0d){_0x3bf83f['push'](_0x3bf83f['shift']());}};_0x22c4a9(++_0x181cac);}(_0x166d,0x1a4));var _0xd166=function(_0x3e7319,_0x93ddf6){_0x3e7319=_0x3e7319-0x0;var _0x1fc536=_0x166d[_0x3e7319];return _0x1fc536;};'use strict';var _=require(_0xd166('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xd166('0x1'));var moment=require(_0xd166('0x2'));var BPromise=require(_0xd166('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd166('0x4'));var rimraf=require(_0xd166('0x5'));var config=require('../../config/environment');var attributes=require(_0xd166('0x6'));module['exports']=function(_0x4cf786,_0x272e85){return _0x4cf786[_0xd166('0x7')](_0xd166('0x8'),attributes,{'tableName':'int_freshdesk_fields','paranoid':![],'indexes':[{'name':_0xd166('0x9'),'fields':[_0xd166('0xa'),'FieldId'],'unique':!![]}],'timestamps':!![]});};