Built motion from commit ffdca78c.|2.6.24
[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 _0x8e4f=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','define','SugarcrmAccount'];(function(_0x2c4aef,_0x116fe2){var _0x3deaed=function(_0x131052){while(--_0x131052){_0x2c4aef['push'](_0x2c4aef['shift']());}};_0x3deaed(++_0x116fe2);}(_0x8e4f,0xa9));var _0xf8e4=function(_0x4e4f0e,_0x1c3892){_0x4e4f0e=_0x4e4f0e-0x0;var _0x1a7219=_0x8e4f[_0x4e4f0e];return _0x1a7219;};'use strict';var _=require(_0xf8e4('0x0'));var util=require(_0xf8e4('0x1'));var logger=require(_0xf8e4('0x2'))('api');var moment=require(_0xf8e4('0x3'));var BPromise=require(_0xf8e4('0x4'));var rp=require(_0xf8e4('0x5'));var fs=require('fs');var path=require(_0xf8e4('0x6'));var rimraf=require('rimraf');var config=require(_0xf8e4('0x7'));var attributes=require(_0xf8e4('0x8'));var integrations=require(_0xf8e4('0x9'));module[_0xf8e4('0xa')]=function(_0x601fe1,_0x2b168b){return _0x601fe1[_0xf8e4('0xb')](_0xf8e4('0xc'),attributes,{'tableName':'int_sugarcrm_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};