6c71ef3aa8a7d73d8c2b8dbbeee8d13a6dc2e1f2
[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 _0x55ca=['request-promise','rimraf','../../config/environment','./intServicenowAccount.attributes','../../components/integrations/configuration','exports','ServicenowAccount','int_servicenow_accounts','lodash','util','bluebird'];(function(_0x3be16d,_0x1b6e11){var _0x441e30=function(_0x1c0217){while(--_0x1c0217){_0x3be16d['push'](_0x3be16d['shift']());}};_0x441e30(++_0x1b6e11);}(_0x55ca,0x126));var _0xa55c=function(_0x471448,_0x1c0e9e){_0x471448=_0x471448-0x0;var _0x38190b=_0x55ca[_0x471448];return _0x38190b;};'use strict';var _=require(_0xa55c('0x0'));var util=require(_0xa55c('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xa55c('0x2'));var rp=require(_0xa55c('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa55c('0x4'));var config=require(_0xa55c('0x5'));var attributes=require(_0xa55c('0x6'));var integrations=require(_0xa55c('0x7'));module[_0xa55c('0x8')]=function(_0x279caa,_0x36b623){return _0x279caa['define'](_0xa55c('0x9'),attributes,{'tableName':_0xa55c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};