Built motion from commit (unavailable).|2.4.21
[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 _0xcce3=['int_sugarcrm_accounts','lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','define','SugarcrmAccount'];(function(_0x1f4726,_0x485980){var _0x462433=function(_0x5ef77f){while(--_0x5ef77f){_0x1f4726['push'](_0x1f4726['shift']());}};_0x462433(++_0x485980);}(_0xcce3,0x160));var _0x3cce=function(_0x4dc7b9,_0x319d5a){_0x4dc7b9=_0x4dc7b9-0x0;var _0x3ab114=_0xcce3[_0x4dc7b9];return _0x3ab114;};'use strict';var _=require(_0x3cce('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x3cce('0x1'));var moment=require(_0x3cce('0x2'));var BPromise=require(_0x3cce('0x3'));var rp=require(_0x3cce('0x4'));var fs=require('fs');var path=require(_0x3cce('0x5'));var rimraf=require(_0x3cce('0x6'));var config=require(_0x3cce('0x7'));var attributes=require(_0x3cce('0x8'));var integrations=require(_0x3cce('0x9'));module['exports']=function(_0x5bb31d,_0x395085){return _0x5bb31d[_0x3cce('0xa')](_0x3cce('0xb'),attributes,{'tableName':_0x3cce('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};