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 _0x9f06=['request-promise','path','../../config/environment','exports','ServicenowConfiguration','int_servicenow_configurations','lodash','util','../../config/logger','api','bluebird'];(function(_0x1791ec,_0x36719b){var _0x29fcc6=function(_0x4b121b){while(--_0x4b121b){_0x1791ec['push'](_0x1791ec['shift']());}};_0x29fcc6(++_0x36719b);}(_0x9f06,0x1a8));var _0x69f0=function(_0x2b1c83,_0x3cf85b){_0x2b1c83=_0x2b1c83-0x0;var _0x4ee721=_0x9f06[_0x2b1c83];return _0x4ee721;};'use strict';var _=require(_0x69f0('0x0'));var util=require(_0x69f0('0x1'));var logger=require(_0x69f0('0x2'))(_0x69f0('0x3'));var moment=require('moment');var BPromise=require(_0x69f0('0x4'));var rp=require(_0x69f0('0x5'));var fs=require('fs');var path=require(_0x69f0('0x6'));var rimraf=require('rimraf');var config=require(_0x69f0('0x7'));var attributes=require('./intServicenowConfiguration.attributes');module[_0x69f0('0x8')]=function(_0x11755e,_0x891fe9){return _0x11755e['define'](_0x69f0('0x9'),attributes,{'tableName':_0x69f0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};