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 _0xe6d7=['util','api','moment','bluebird','request-promise','rimraf','exports','define','ServicenowConfiguration','int_servicenow_configurations'];(function(_0x4196f6,_0x219f6d){var _0x17344d=function(_0x2774e5){while(--_0x2774e5){_0x4196f6['push'](_0x4196f6['shift']());}};_0x17344d(++_0x219f6d);}(_0xe6d7,0x1ae));var _0x7e6d=function(_0x17bdab,_0x199650){_0x17bdab=_0x17bdab-0x0;var _0x4e2989=_0xe6d7[_0x17bdab];return _0x4e2989;};'use strict';var _=require('lodash');var util=require(_0x7e6d('0x0'));var logger=require('../../config/logger')(_0x7e6d('0x1'));var moment=require(_0x7e6d('0x2'));var BPromise=require(_0x7e6d('0x3'));var rp=require(_0x7e6d('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x7e6d('0x5'));var config=require('../../config/environment');var attributes=require('./intServicenowConfiguration.attributes');module[_0x7e6d('0x6')]=function(_0x23c09e,_0x4faafe){return _0x23c09e[_0x7e6d('0x7')](_0x7e6d('0x8'),attributes,{'tableName':_0x7e6d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};