Built motion from commit (unavailable).|2.5.22
[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 _0x44df=['./intSugarcrmAccount.attributes','exports','define','SugarcrmAccount','int_sugarcrm_accounts','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x3aaf0a,_0x450970){var _0x33e6bc=function(_0x1db54d){while(--_0x1db54d){_0x3aaf0a['push'](_0x3aaf0a['shift']());}};_0x33e6bc(++_0x450970);}(_0x44df,0x94));var _0xf44d=function(_0x485d75,_0x18a4eb){_0x485d75=_0x485d75-0x0;var _0x18584c=_0x44df[_0x485d75];return _0x18584c;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xf44d('0x0'))(_0xf44d('0x1'));var moment=require('moment');var BPromise=require(_0xf44d('0x2'));var rp=require(_0xf44d('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf44d('0x4'));var config=require(_0xf44d('0x5'));var attributes=require(_0xf44d('0x6'));var integrations=require('../../components/integrations/configuration');module[_0xf44d('0x7')]=function(_0x4ce73f,_0x3e3b4d){return _0x4ce73f[_0xf44d('0x8')](_0xf44d('0x9'),attributes,{'tableName':_0xf44d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};