Built motion from commit (unavailable).|2.5.7
[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 _0xf30b=['util','api','bluebird','request-promise','path','exports','define','ServicenowConfiguration','int_servicenow_configurations','lodash'];(function(_0x1e83f2,_0x28c7b2){var _0x345e7a=function(_0x335cba){while(--_0x335cba){_0x1e83f2['push'](_0x1e83f2['shift']());}};_0x345e7a(++_0x28c7b2);}(_0xf30b,0xef));var _0xbf30=function(_0x118d39,_0x43be87){_0x118d39=_0x118d39-0x0;var _0x47958b=_0xf30b[_0x118d39];return _0x47958b;};'use strict';var _=require(_0xbf30('0x0'));var util=require(_0xbf30('0x1'));var logger=require('../../config/logger')(_0xbf30('0x2'));var moment=require('moment');var BPromise=require(_0xbf30('0x3'));var rp=require(_0xbf30('0x4'));var fs=require('fs');var path=require(_0xbf30('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intServicenowConfiguration.attributes');module[_0xbf30('0x6')]=function(_0x2ed3cc,_0x54b611){return _0x2ed3cc[_0xbf30('0x7')](_0xbf30('0x8'),attributes,{'tableName':_0xbf30('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};