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 _0x06cd=['FieldId','lodash','util','../../config/logger','api','bluebird','path','./intServicenowField.attributes','exports','define','ServicenowField','int_servicenow_fields','servicenow_unique_index','idField'];(function(_0xf2b54,_0x1e3aea){var _0x1585ac=function(_0x1d6d67){while(--_0x1d6d67){_0xf2b54['push'](_0xf2b54['shift']());}};_0x1585ac(++_0x1e3aea);}(_0x06cd,0xd3));var _0xd06c=function(_0x29dca9,_0x5bfcb7){_0x29dca9=_0x29dca9-0x0;var _0x3dd7e0=_0x06cd[_0x29dca9];return _0x3dd7e0;};'use strict';var _=require(_0xd06c('0x0'));var util=require(_0xd06c('0x1'));var logger=require(_0xd06c('0x2'))(_0xd06c('0x3'));var moment=require('moment');var BPromise=require(_0xd06c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd06c('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xd06c('0x6'));module[_0xd06c('0x7')]=function(_0x209213,_0x22348f){return _0x209213[_0xd06c('0x8')](_0xd06c('0x9'),attributes,{'tableName':_0xd06c('0xa'),'paranoid':![],'indexes':[{'name':_0xd06c('0xb'),'fields':[_0xd06c('0xc'),_0xd06c('0xd')],'unique':!![]}],'timestamps':!![]});};