Built motion from commit e6806ed6.|2.6.0
[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 _0x011a=['SugarcrmAccount','int_sugarcrm_accounts','lodash','util','moment','request-promise','rimraf','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','define'];(function(_0x4e90e3,_0x570a1d){var _0x295e5b=function(_0x754043){while(--_0x754043){_0x4e90e3['push'](_0x4e90e3['shift']());}};_0x295e5b(++_0x570a1d);}(_0x011a,0x16d));var _0xa011=function(_0x2ac3cf,_0x465bb6){_0x2ac3cf=_0x2ac3cf-0x0;var _0x27dcca=_0x011a[_0x2ac3cf];return _0x27dcca;};'use strict';var _=require(_0xa011('0x0'));var util=require(_0xa011('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xa011('0x2'));var BPromise=require('bluebird');var rp=require(_0xa011('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa011('0x4'));var config=require('../../config/environment');var attributes=require(_0xa011('0x5'));var integrations=require(_0xa011('0x6'));module[_0xa011('0x7')]=function(_0x5ccbcd,_0x53a950){return _0x5ccbcd[_0xa011('0x8')](_0xa011('0x9'),attributes,{'tableName':_0xa011('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};