214998f2f5ae8ddae702d576df60bd8f747a4f92
[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 _0x0faf=['path','rimraf','../../config/environment','./intServicenowAccount.attributes','exports','define','ServicenowAccount','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0xcec00a,_0x487619){var _0x333fc2=function(_0x466666){while(--_0x466666){_0xcec00a['push'](_0xcec00a['shift']());}};_0x333fc2(++_0x487619);}(_0x0faf,0x132));var _0xf0fa=function(_0x6620b8,_0x8b3d5e){_0x6620b8=_0x6620b8-0x0;var _0x33de50=_0x0faf[_0x6620b8];return _0x33de50;};'use strict';var _=require(_0xf0fa('0x0'));var util=require('util');var logger=require(_0xf0fa('0x1'))(_0xf0fa('0x2'));var moment=require(_0xf0fa('0x3'));var BPromise=require(_0xf0fa('0x4'));var rp=require(_0xf0fa('0x5'));var fs=require('fs');var path=require(_0xf0fa('0x6'));var rimraf=require(_0xf0fa('0x7'));var config=require(_0xf0fa('0x8'));var attributes=require(_0xf0fa('0x9'));var integrations=require('../../components/integrations/configuration');module[_0xf0fa('0xa')]=function(_0x44ffa0,_0x25b5c4){return _0x44ffa0[_0xf0fa('0xb')](_0xf0fa('0xc'),attributes,{'tableName':'int_servicenow_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};