Built motion from commit 67e5df37.|2.0.66
[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 _0xfc39=['request-promise','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','int_sugarcrm_accounts','lodash','api','moment'];(function(_0x54b458,_0x4da21b){var _0x18d704=function(_0x3ca278){while(--_0x3ca278){_0x54b458['push'](_0x54b458['shift']());}};_0x18d704(++_0x4da21b);}(_0xfc39,0x1ed));var _0x9fc3=function(_0x5afbee,_0x391710){_0x5afbee=_0x5afbee-0x0;var _0x27e334=_0xfc39[_0x5afbee];return _0x27e334;};'use strict';var _=require(_0x9fc3('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x9fc3('0x1'));var moment=require(_0x9fc3('0x2'));var BPromise=require('bluebird');var rp=require(_0x9fc3('0x3'));var attributes=require(_0x9fc3('0x4'));var integrations=require(_0x9fc3('0x5'));module[_0x9fc3('0x6')]=function(_0x4bebf8,_0x48bf0d){return _0x4bebf8['define']('SugarcrmAccount',attributes,{'tableName':_0x9fc3('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};