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 _0x4ed6=['./intServicenowField.attributes','exports','define','ServicenowField','int_servicenow_fields','idField','FieldId','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x41e10f,_0x31e4ae){var _0xaf4b96=function(_0x145be4){while(--_0x145be4){_0x41e10f['push'](_0x41e10f['shift']());}};_0xaf4b96(++_0x31e4ae);}(_0x4ed6,0x19c));var _0x64ed=function(_0x3b941e,_0x449422){_0x3b941e=_0x3b941e-0x0;var _0x1f62b8=_0x4ed6[_0x3b941e];return _0x1f62b8;};'use strict';var _=require(_0x64ed('0x0'));var util=require(_0x64ed('0x1'));var logger=require(_0x64ed('0x2'))('api');var moment=require(_0x64ed('0x3'));var BPromise=require(_0x64ed('0x4'));var rp=require(_0x64ed('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x64ed('0x6'));var config=require(_0x64ed('0x7'));var attributes=require(_0x64ed('0x8'));module[_0x64ed('0x9')]=function(_0xf5c470,_0x223c3c){return _0xf5c470[_0x64ed('0xa')](_0x64ed('0xb'),attributes,{'tableName':_0x64ed('0xc'),'paranoid':![],'indexes':[{'name':'servicenow_unique_index','fields':[_0x64ed('0xd'),_0x64ed('0xe')],'unique':!![]}],'timestamps':!![]});};