Built motion from commit 5b761a7b.|2.5.36
[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 _0xdfc8=['bluebird','path','rimraf','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','define','int_sugarcrm_accounts','lodash','util','api','moment'];(function(_0x4e7abc,_0x2aeca1){var _0x428796=function(_0xa2c1d){while(--_0xa2c1d){_0x4e7abc['push'](_0x4e7abc['shift']());}};_0x428796(++_0x2aeca1);}(_0xdfc8,0x127));var _0x8dfc=function(_0x177a0c,_0x21f482){_0x177a0c=_0x177a0c-0x0;var _0x2bfad8=_0xdfc8[_0x177a0c];return _0x2bfad8;};'use strict';var _=require(_0x8dfc('0x0'));var util=require(_0x8dfc('0x1'));var logger=require('../../config/logger')(_0x8dfc('0x2'));var moment=require(_0x8dfc('0x3'));var BPromise=require(_0x8dfc('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8dfc('0x5'));var rimraf=require(_0x8dfc('0x6'));var config=require(_0x8dfc('0x7'));var attributes=require(_0x8dfc('0x8'));var integrations=require(_0x8dfc('0x9'));module[_0x8dfc('0xa')]=function(_0x2f547a,_0x661ec4){return _0x2f547a[_0x8dfc('0xb')]('SugarcrmAccount',attributes,{'tableName':_0x8dfc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};