e35e7eb37bd9929c59e3785f419d4171b7e4ab5f
[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 _0xf37f=['bluebird','request-promise','path','rimraf','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','SugarcrmAccount','int_sugarcrm_accounts','lodash','util','../../config/logger','moment'];(function(_0x1a8a35,_0x317f59){var _0x152aff=function(_0x583c3a){while(--_0x583c3a){_0x1a8a35['push'](_0x1a8a35['shift']());}};_0x152aff(++_0x317f59);}(_0xf37f,0x15a));var _0xff37=function(_0x348e46,_0x5187dc){_0x348e46=_0x348e46-0x0;var _0x58b74f=_0xf37f[_0x348e46];return _0x58b74f;};'use strict';var _=require(_0xff37('0x0'));var util=require(_0xff37('0x1'));var logger=require(_0xff37('0x2'))('api');var moment=require(_0xff37('0x3'));var BPromise=require(_0xff37('0x4'));var rp=require(_0xff37('0x5'));var fs=require('fs');var path=require(_0xff37('0x6'));var rimraf=require(_0xff37('0x7'));var config=require(_0xff37('0x8'));var attributes=require(_0xff37('0x9'));var integrations=require(_0xff37('0xa'));module[_0xff37('0xb')]=function(_0x1eff8b,_0x2a4372){return _0x1eff8b['define'](_0xff37('0xc'),attributes,{'tableName':_0xff37('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};