Built motion from commit (unavailable).|2.5.26
[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 _0x298e=['api','moment','bluebird','request-promise','rimraf','../../config/environment','./intSugarcrmAccount.attributes','exports','SugarcrmAccount','util'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x298e,0x171));var _0xe298=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0x298e[_0x1cc8fe];return _0x230054;};'use strict';var _=require('lodash');var util=require(_0xe298('0x0'));var logger=require('../../config/logger')(_0xe298('0x1'));var moment=require(_0xe298('0x2'));var BPromise=require(_0xe298('0x3'));var rp=require(_0xe298('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe298('0x5'));var config=require(_0xe298('0x6'));var attributes=require(_0xe298('0x7'));var integrations=require('../../components/integrations/configuration');module[_0xe298('0x8')]=function(_0x416cc4,_0x43c842){return _0x416cc4['define'](_0xe298('0x9'),attributes,{'tableName':'int_sugarcrm_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};