Built motion from commit (unavailable).|2.3.93
[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 _0x2ce8=['exports','define','SugarcrmAccount','int_sugarcrm_accounts','api','moment','bluebird','request-promise','./intSugarcrmAccount.attributes','../../components/integrations/configuration'];(function(_0x36e455,_0x513a9f){var _0x2bcd35=function(_0x9b892){while(--_0x9b892){_0x36e455['push'](_0x36e455['shift']());}};_0x2bcd35(++_0x513a9f);}(_0x2ce8,0x158));var _0x82ce=function(_0x112fe3,_0x16b642){_0x112fe3=_0x112fe3-0x0;var _0x1ec903=_0x2ce8[_0x112fe3];return _0x1ec903;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x82ce('0x0'));var moment=require(_0x82ce('0x1'));var BPromise=require(_0x82ce('0x2'));var rp=require(_0x82ce('0x3'));var attributes=require(_0x82ce('0x4'));var integrations=require(_0x82ce('0x5'));module[_0x82ce('0x6')]=function(_0x37151d,_0x389b10){return _0x37151d[_0x82ce('0x7')](_0x82ce('0x8'),attributes,{'tableName':_0x82ce('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};