Built motion from commit d1eab355.|2.6.28
[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 _0x5b3c=['../../components/integrations/configuration','define','SugarcrmAccount','int_sugarcrm_accounts','lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment'];(function(_0x187ee1,_0x486fdd){var _0x174752=function(_0xd96a00){while(--_0xd96a00){_0x187ee1['push'](_0x187ee1['shift']());}};_0x174752(++_0x486fdd);}(_0x5b3c,0x1f0));var _0xc5b3=function(_0x10427a,_0x1dfe34){_0x10427a=_0x10427a-0x0;var _0x45e8e2=_0x5b3c[_0x10427a];return _0x45e8e2;};'use strict';var _=require(_0xc5b3('0x0'));var util=require(_0xc5b3('0x1'));var logger=require(_0xc5b3('0x2'))(_0xc5b3('0x3'));var moment=require(_0xc5b3('0x4'));var BPromise=require(_0xc5b3('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc5b3('0x6'));var rimraf=require('rimraf');var config=require(_0xc5b3('0x7'));var attributes=require('./intSugarcrmAccount.attributes');var integrations=require(_0xc5b3('0x8'));module['exports']=function(_0x1191e3,_0x44b324){return _0x1191e3[_0xc5b3('0x9')](_0xc5b3('0xa'),attributes,{'tableName':_0xc5b3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};