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 _0xf966=['int_servicenow_configurations','util','../../config/logger','path','rimraf','../../config/environment','exports','define','ServicenowConfiguration'];(function(_0x5b89a0,_0x315a2a){var _0x44d81a=function(_0x2529f4){while(--_0x2529f4){_0x5b89a0['push'](_0x5b89a0['shift']());}};_0x44d81a(++_0x315a2a);}(_0xf966,0x7f));var _0x6f96=function(_0x426b7a,_0x1db36a){_0x426b7a=_0x426b7a-0x0;var _0x3522e8=_0xf966[_0x426b7a];return _0x3522e8;};'use strict';var _=require('lodash');var util=require(_0x6f96('0x0'));var logger=require(_0x6f96('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x6f96('0x2'));var rimraf=require(_0x6f96('0x3'));var config=require(_0x6f96('0x4'));var attributes=require('./intServicenowConfiguration.attributes');module[_0x6f96('0x5')]=function(_0xf025a6,_0x1d0b60){return _0xf025a6[_0x6f96('0x6')](_0x6f96('0x7'),attributes,{'tableName':_0x6f96('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};