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 _0x300f=['int_servicenow_fields','servicenow_unique_index','FieldId','lodash','api','moment','bluebird','request-promise','path','rimraf','define','ServicenowField'];(function(_0x57a2ea,_0x128993){var _0x13635e=function(_0x3feb70){while(--_0x3feb70){_0x57a2ea['push'](_0x57a2ea['shift']());}};_0x13635e(++_0x128993);}(_0x300f,0x1e3));var _0xf300=function(_0x1ab8e6,_0x5c14c7){_0x1ab8e6=_0x1ab8e6-0x0;var _0x418c12=_0x300f[_0x1ab8e6];return _0x418c12;};'use strict';var _=require(_0xf300('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xf300('0x1'));var moment=require(_0xf300('0x2'));var BPromise=require(_0xf300('0x3'));var rp=require(_0xf300('0x4'));var fs=require('fs');var path=require(_0xf300('0x5'));var rimraf=require(_0xf300('0x6'));var config=require('../../config/environment');var attributes=require('./intServicenowField.attributes');module['exports']=function(_0x3e9de5,_0x181192){return _0x3e9de5[_0xf300('0x7')](_0xf300('0x8'),attributes,{'tableName':_0xf300('0x9'),'paranoid':![],'indexes':[{'name':_0xf300('0xa'),'fields':['idField',_0xf300('0xb')],'unique':!![]}],'timestamps':!![]});};