45084b184e3406ca66d587e00e72f9a75c01e9e8
[motion2.git] / server / api / intServicenowConfiguration / intServicenowConfiguration.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4e7b=['exports','define','ServicenowConfiguration','lodash','util','api','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x95beec,_0xe890bd){var _0x391573=function(_0x2a850e){while(--_0x2a850e){_0x95beec['push'](_0x95beec['shift']());}};_0x391573(++_0xe890bd);}(_0x4e7b,0xf3));var _0xb4e7=function(_0x5a3fd7,_0x237bfe){_0x5a3fd7=_0x5a3fd7-0x0;var _0x45392a=_0x4e7b[_0x5a3fd7];return _0x45392a;};'use strict';var _=require(_0xb4e7('0x0'));var util=require(_0xb4e7('0x1'));var logger=require('../../config/logger')(_0xb4e7('0x2'));var moment=require('moment');var BPromise=require(_0xb4e7('0x3'));var rp=require(_0xb4e7('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb4e7('0x5'));var config=require(_0xb4e7('0x6'));var attributes=require('./intServicenowConfiguration.attributes');module[_0xb4e7('0x7')]=function(_0x3351aa,_0x271dbf){return _0x3351aa[_0xb4e7('0x8')](_0xb4e7('0x9'),attributes,{'tableName':'int_servicenow_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};