Built motion from commit (unavailable).|2.5.4
[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 _0x1f06=['rimraf','./intServicenowAccount.attributes','../../components/integrations/configuration','ServicenowAccount','lodash','util','moment','bluebird','request-promise'];(function(_0x36f76c,_0x111a33){var _0x14c483=function(_0x49062c){while(--_0x49062c){_0x36f76c['push'](_0x36f76c['shift']());}};_0x14c483(++_0x111a33);}(_0x1f06,0xb8));var _0x61f0=function(_0x18124a,_0x3d13a7){_0x18124a=_0x18124a-0x0;var _0x50262f=_0x1f06[_0x18124a];return _0x50262f;};'use strict';var _=require(_0x61f0('0x0'));var util=require(_0x61f0('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x61f0('0x2'));var BPromise=require(_0x61f0('0x3'));var rp=require(_0x61f0('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x61f0('0x5'));var config=require('../../config/environment');var attributes=require(_0x61f0('0x6'));var integrations=require(_0x61f0('0x7'));module['exports']=function(_0x4322db,_0x292cc4){return _0x4322db['define'](_0x61f0('0x8'),attributes,{'tableName':'int_servicenow_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};