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 _0x2b17=['../../config/logger','api','path','rimraf','./intServicenowField.attributes','define','ServicenowField','servicenow_unique_index','idField','FieldId','lodash','util'];(function(_0x3074f3,_0x4f2c03){var _0x53f112=function(_0x4a17af){while(--_0x4a17af){_0x3074f3['push'](_0x3074f3['shift']());}};_0x53f112(++_0x4f2c03);}(_0x2b17,0xca));var _0x72b1=function(_0x19b22c,_0x543361){_0x19b22c=_0x19b22c-0x0;var _0x2fa752=_0x2b17[_0x19b22c];return _0x2fa752;};'use strict';var _=require(_0x72b1('0x0'));var util=require(_0x72b1('0x1'));var logger=require(_0x72b1('0x2'))(_0x72b1('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x72b1('0x4'));var rimraf=require(_0x72b1('0x5'));var config=require('../../config/environment');var attributes=require(_0x72b1('0x6'));module['exports']=function(_0xdaa09c,_0x57d005){return _0xdaa09c[_0x72b1('0x7')](_0x72b1('0x8'),attributes,{'tableName':'int_servicenow_fields','paranoid':![],'indexes':[{'name':_0x72b1('0x9'),'fields':[_0x72b1('0xa'),_0x72b1('0xb')],'unique':!![]}],'timestamps':!![]});};