a252a559abfe9887d64a145c69006944ce5c03a0
[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 _0x5dc1=['define','ServicenowAccount','int_servicenow_accounts','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intServicenowAccount.attributes'];(function(_0x44d4e3,_0x25d36b){var _0x4542d2=function(_0x4b4969){while(--_0x4b4969){_0x44d4e3['push'](_0x44d4e3['shift']());}};_0x4542d2(++_0x25d36b);}(_0x5dc1,0x19b));var _0x15dc=function(_0x4c50da,_0xccbed1){_0x4c50da=_0x4c50da-0x0;var _0x6dd7aa=_0x5dc1[_0x4c50da];return _0x6dd7aa;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x15dc('0x0'))(_0x15dc('0x1'));var moment=require(_0x15dc('0x2'));var BPromise=require(_0x15dc('0x3'));var rp=require(_0x15dc('0x4'));var fs=require('fs');var path=require(_0x15dc('0x5'));var rimraf=require(_0x15dc('0x6'));var config=require(_0x15dc('0x7'));var attributes=require(_0x15dc('0x8'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x2c128b,_0x55d592){return _0x2c128b[_0x15dc('0x9')](_0x15dc('0xa'),attributes,{'tableName':_0x15dc('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};