afdabb248a7c54d3bf4ba16a03130926d16218f1
[motion2.git] / server / api / intServicenowAccount / intServicenowAccount.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 _0xf69d=['int_servicenow_accounts','lodash','util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./intServicenowAccount.attributes','../../components/integrations/configuration','exports','define','ServicenowAccount'];(function(_0x1be21a,_0xfbcfc5){var _0x230790=function(_0x308ed3){while(--_0x308ed3){_0x1be21a['push'](_0x1be21a['shift']());}};_0x230790(++_0xfbcfc5);}(_0xf69d,0xd3));var _0xdf69=function(_0x53c630,_0x259ef6){_0x53c630=_0x53c630-0x0;var _0x5ee2de=_0xf69d[_0x53c630];return _0x5ee2de;};'use strict';var _=require(_0xdf69('0x0'));var util=require(_0xdf69('0x1'));var logger=require(_0xdf69('0x2'))(_0xdf69('0x3'));var moment=require(_0xdf69('0x4'));var BPromise=require('bluebird');var rp=require(_0xdf69('0x5'));var fs=require('fs');var path=require(_0xdf69('0x6'));var rimraf=require(_0xdf69('0x7'));var config=require(_0xdf69('0x8'));var attributes=require(_0xdf69('0x9'));var integrations=require(_0xdf69('0xa'));module[_0xdf69('0xb')]=function(_0x465b1b,_0x1d2501){return _0x465b1b[_0xdf69('0xc')](_0xdf69('0xd'),attributes,{'tableName':_0xdf69('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};