Built motion from commit 753c950e.|2.5.42
[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 _0xfe99=['../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','define','SugarcrmAccount','int_sugarcrm_accounts','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x400846,_0xd26609){var _0x51d34c=function(_0x29d363){while(--_0x29d363){_0x400846['push'](_0x400846['shift']());}};_0x51d34c(++_0xd26609);}(_0xfe99,0x11f));var _0x9fe9=function(_0x88c88b,_0x18d9ba){_0x88c88b=_0x88c88b-0x0;var _0x4a3fc0=_0xfe99[_0x88c88b];return _0x4a3fc0;};'use strict';var _=require('lodash');var util=require(_0x9fe9('0x0'));var logger=require(_0x9fe9('0x1'))(_0x9fe9('0x2'));var moment=require(_0x9fe9('0x3'));var BPromise=require(_0x9fe9('0x4'));var rp=require(_0x9fe9('0x5'));var fs=require('fs');var path=require(_0x9fe9('0x6'));var rimraf=require('rimraf');var config=require(_0x9fe9('0x7'));var attributes=require(_0x9fe9('0x8'));var integrations=require(_0x9fe9('0x9'));module[_0x9fe9('0xa')]=function(_0x25cd36,_0x46e6c5){return _0x25cd36[_0x9fe9('0xb')](_0x9fe9('0xc'),attributes,{'tableName':_0x9fe9('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};