ce18d5f3970dda47c85cec71fd460db78e776bff
[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 _0xafcd=['../../config/environment','./intSugarcrmAccount.attributes','exports','SugarcrmAccount','int_sugarcrm_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0xb6e43,_0x1568fc){var _0x47c40f=function(_0x107786){while(--_0x107786){_0xb6e43['push'](_0xb6e43['shift']());}};_0x47c40f(++_0x1568fc);}(_0xafcd,0x157));var _0xdafc=function(_0x1c9fc5,_0x3ca335){_0x1c9fc5=_0x1c9fc5-0x0;var _0x4eea03=_0xafcd[_0x1c9fc5];return _0x4eea03;};'use strict';var _=require(_0xdafc('0x0'));var util=require(_0xdafc('0x1'));var logger=require(_0xdafc('0x2'))(_0xdafc('0x3'));var moment=require(_0xdafc('0x4'));var BPromise=require(_0xdafc('0x5'));var rp=require(_0xdafc('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xdafc('0x7'));var config=require(_0xdafc('0x8'));var attributes=require(_0xdafc('0x9'));var integrations=require('../../components/integrations/configuration');module[_0xdafc('0xa')]=function(_0x2aa781,_0x33adc9){return _0x2aa781['define'](_0xdafc('0xb'),attributes,{'tableName':_0xdafc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};