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 _0x88eb=['../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./intFreshdeskField.attributes','exports','define','FreshdeskField','int_freshdesk_fields','freshdesk_unique_index','idField','lodash','util'];(function(_0x1e50fc,_0x3d2684){var _0x497f51=function(_0x2f744b){while(--_0x2f744b){_0x1e50fc['push'](_0x1e50fc['shift']());}};_0x497f51(++_0x3d2684);}(_0x88eb,0x76));var _0xb88e=function(_0x2a4e92,_0x4c19d6){_0x2a4e92=_0x2a4e92-0x0;var _0x5964ab=_0x88eb[_0x2a4e92];return _0x5964ab;};'use strict';var _=require(_0xb88e('0x0'));var util=require(_0xb88e('0x1'));var logger=require(_0xb88e('0x2'))('api');var moment=require(_0xb88e('0x3'));var BPromise=require('bluebird');var rp=require(_0xb88e('0x4'));var fs=require('fs');var path=require(_0xb88e('0x5'));var rimraf=require(_0xb88e('0x6'));var config=require(_0xb88e('0x7'));var attributes=require(_0xb88e('0x8'));module[_0xb88e('0x9')]=function(_0x442da8,_0x14854b){return _0x442da8[_0xb88e('0xa')](_0xb88e('0xb'),attributes,{'tableName':_0xb88e('0xc'),'paranoid':![],'indexes':[{'name':_0xb88e('0xd'),'fields':[_0xb88e('0xe'),'FieldId'],'unique':!![]}],'timestamps':!![]});};