Built motion from commit 85328c08.|2.5.50
[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 _0x532e=['exports','define','SugarcrmAccount','int_sugarcrm_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intSugarcrmAccount.attributes'];(function(_0x115ef0,_0x5a83b2){var _0x420f5a=function(_0x102b2d){while(--_0x102b2d){_0x115ef0['push'](_0x115ef0['shift']());}};_0x420f5a(++_0x5a83b2);}(_0x532e,0xb8));var _0xe532=function(_0x2b825a,_0x2f007e){_0x2b825a=_0x2b825a-0x0;var _0x9bd7b1=_0x532e[_0x2b825a];return _0x9bd7b1;};'use strict';var _=require(_0xe532('0x0'));var util=require(_0xe532('0x1'));var logger=require(_0xe532('0x2'))(_0xe532('0x3'));var moment=require(_0xe532('0x4'));var BPromise=require(_0xe532('0x5'));var rp=require(_0xe532('0x6'));var fs=require('fs');var path=require(_0xe532('0x7'));var rimraf=require(_0xe532('0x8'));var config=require(_0xe532('0x9'));var attributes=require(_0xe532('0xa'));var integrations=require('../../components/integrations/configuration');module[_0xe532('0xb')]=function(_0x169f71,_0x7987f2){return _0x169f71[_0xe532('0xc')](_0xe532('0xd'),attributes,{'tableName':_0xe532('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};