5e4a8ef9da3e79bfbaac04b407a23cdf00c29c9a
[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 _0x4342=['path','rimraf','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','define','SugarcrmAccount','lodash','util','moment','bluebird','request-promise'];(function(_0x1182bd,_0x52ebf2){var _0x5c868b=function(_0x2c905f){while(--_0x2c905f){_0x1182bd['push'](_0x1182bd['shift']());}};_0x5c868b(++_0x52ebf2);}(_0x4342,0xe5));var _0x2434=function(_0x3feb8a,_0x47c784){_0x3feb8a=_0x3feb8a-0x0;var _0x4523ca=_0x4342[_0x3feb8a];return _0x4523ca;};'use strict';var _=require(_0x2434('0x0'));var util=require(_0x2434('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x2434('0x2'));var BPromise=require(_0x2434('0x3'));var rp=require(_0x2434('0x4'));var fs=require('fs');var path=require(_0x2434('0x5'));var rimraf=require(_0x2434('0x6'));var config=require(_0x2434('0x7'));var attributes=require(_0x2434('0x8'));var integrations=require(_0x2434('0x9'));module[_0x2434('0xa')]=function(_0xcc6d77,_0xd941cb){return _0xcc6d77[_0x2434('0xb')](_0x2434('0xc'),attributes,{'tableName':'int_sugarcrm_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};