f1e40a073262151df713d40fbed26c5beaaf3132
[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 _0xef1a=['int_sugarcrm_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','define','SugarcrmAccount'];(function(_0x264545,_0x214037){var _0x114d10=function(_0x9e3461){while(--_0x9e3461){_0x264545['push'](_0x264545['shift']());}};_0x114d10(++_0x214037);}(_0xef1a,0x1c1));var _0xaef1=function(_0x174b96,_0x1d7827){_0x174b96=_0x174b96-0x0;var _0x219bab=_0xef1a[_0x174b96];return _0x219bab;};'use strict';var _=require(_0xaef1('0x0'));var util=require(_0xaef1('0x1'));var logger=require(_0xaef1('0x2'))(_0xaef1('0x3'));var moment=require(_0xaef1('0x4'));var BPromise=require(_0xaef1('0x5'));var rp=require(_0xaef1('0x6'));var fs=require('fs');var path=require(_0xaef1('0x7'));var rimraf=require(_0xaef1('0x8'));var config=require(_0xaef1('0x9'));var attributes=require(_0xaef1('0xa'));var integrations=require(_0xaef1('0xb'));module[_0xaef1('0xc')]=function(_0x20bf1c,_0x4142d0){return _0x20bf1c[_0xaef1('0xd')](_0xaef1('0xe'),attributes,{'tableName':_0xaef1('0xf'),'paranoid':![],'indexes':[],'timestamps':!![]});};