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 _0x4356=['api','moment','bluebird','request-promise','path','../../config/environment','./intFreshdeskField.attributes','exports','define','int_freshdesk_fields','freshdesk_unique_index','idField','FieldId','../../config/logger'];(function(_0x1ba9df,_0x2ff81a){var _0x5af473=function(_0x186d8d){while(--_0x186d8d){_0x1ba9df['push'](_0x1ba9df['shift']());}};_0x5af473(++_0x2ff81a);}(_0x4356,0x117));var _0x6435=function(_0x450e59,_0x229917){_0x450e59=_0x450e59-0x0;var _0x16bce2=_0x4356[_0x450e59];return _0x16bce2;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6435('0x0'))(_0x6435('0x1'));var moment=require(_0x6435('0x2'));var BPromise=require(_0x6435('0x3'));var rp=require(_0x6435('0x4'));var fs=require('fs');var path=require(_0x6435('0x5'));var rimraf=require('rimraf');var config=require(_0x6435('0x6'));var attributes=require(_0x6435('0x7'));module[_0x6435('0x8')]=function(_0x573084,_0x32170a){return _0x573084[_0x6435('0x9')]('FreshdeskField',attributes,{'tableName':_0x6435('0xa'),'paranoid':![],'indexes':[{'name':_0x6435('0xb'),'fields':[_0x6435('0xc'),_0x6435('0xd')],'unique':!![]}],'timestamps':!![]});};