51c4a5e91a33b7d3a8e94eefa24c792253fe71db
[motion2.git] / server / api / intSugarcrmAccount / intSugarcrmAccount.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 _0x79e2=['rimraf','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','define','SugarcrmAccount','int_sugarcrm_accounts','lodash','../../config/logger','api','moment','request-promise'];(function(_0x194cb5,_0x479e8a){var _0x55db4b=function(_0x2c8192){while(--_0x2c8192){_0x194cb5['push'](_0x194cb5['shift']());}};_0x55db4b(++_0x479e8a);}(_0x79e2,0x1c3));var _0x279e=function(_0x59684c,_0x4f23bd){_0x59684c=_0x59684c-0x0;var _0x6e9beb=_0x79e2[_0x59684c];return _0x6e9beb;};'use strict';var _=require(_0x279e('0x0'));var util=require('util');var logger=require(_0x279e('0x1'))(_0x279e('0x2'));var moment=require(_0x279e('0x3'));var BPromise=require('bluebird');var rp=require(_0x279e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x279e('0x5'));var config=require(_0x279e('0x6'));var attributes=require(_0x279e('0x7'));var integrations=require(_0x279e('0x8'));module['exports']=function(_0x5a2f72,_0x1c6b6f){return _0x5a2f72[_0x279e('0x9')](_0x279e('0xa'),attributes,{'tableName':_0x279e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};