2711fbe899d809d5aebde7a62c2ed9918d09bafa
[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 _0xaf2a=['define','util','moment','bluebird','request-promise','rimraf','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports'];(function(_0x200a30,_0x363f20){var _0x4218fd=function(_0x4e3f67){while(--_0x4e3f67){_0x200a30['push'](_0x200a30['shift']());}};_0x4218fd(++_0x363f20);}(_0xaf2a,0xe2));var _0xaaf2=function(_0x1504ec,_0x21641a){_0x1504ec=_0x1504ec-0x0;var _0x2d378a=_0xaf2a[_0x1504ec];return _0x2d378a;};'use strict';var _=require('lodash');var util=require(_0xaaf2('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xaaf2('0x1'));var BPromise=require(_0xaaf2('0x2'));var rp=require(_0xaaf2('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xaaf2('0x4'));var config=require('../../config/environment');var attributes=require(_0xaaf2('0x5'));var integrations=require(_0xaaf2('0x6'));module[_0xaaf2('0x7')]=function(_0x1e7d4b,_0x2b6adf){return _0x1e7d4b[_0xaaf2('0x8')]('SugarcrmAccount',attributes,{'tableName':'int_sugarcrm_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};