Built motion from commit (unavailable).|2.5.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 _0xa254=['../../components/integrations/configuration','exports','define','SugarcrmAccount','int_sugarcrm_accounts','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intSugarcrmAccount.attributes'];(function(_0x264b9b,_0xa1181e){var _0x4c7a0e=function(_0x4b77a0){while(--_0x4b77a0){_0x264b9b['push'](_0x264b9b['shift']());}};_0x4c7a0e(++_0xa1181e);}(_0xa254,0x1b7));var _0x4a25=function(_0xdb628e,_0x103e9a){_0xdb628e=_0xdb628e-0x0;var _0x493aa5=_0xa254[_0xdb628e];return _0x493aa5;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x4a25('0x0'))(_0x4a25('0x1'));var moment=require(_0x4a25('0x2'));var BPromise=require(_0x4a25('0x3'));var rp=require(_0x4a25('0x4'));var fs=require('fs');var path=require(_0x4a25('0x5'));var rimraf=require(_0x4a25('0x6'));var config=require(_0x4a25('0x7'));var attributes=require(_0x4a25('0x8'));var integrations=require(_0x4a25('0x9'));module[_0x4a25('0xa')]=function(_0x57dbfd,_0xccc038){return _0x57dbfd[_0x4a25('0xb')](_0x4a25('0xc'),attributes,{'tableName':_0x4a25('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};