Built motion from commit (unavailable).|2.0.77
[motion2.git] / server / api / intSugarcrmField / intSugarcrmField.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 _0x62ee=['define','SugarcrmField','lodash','util','api','moment','bluebird','request-promise','exports'];(function(_0x468aa5,_0x1f307e){var _0xaf9732=function(_0x332334){while(--_0x332334){_0x468aa5['push'](_0x468aa5['shift']());}};_0xaf9732(++_0x1f307e);}(_0x62ee,0xbf));var _0xe62e=function(_0x21af3a,_0x27ad01){_0x21af3a=_0x21af3a-0x0;var _0x471c30=_0x62ee[_0x21af3a];return _0x471c30;};'use strict';var _=require(_0xe62e('0x0'));var util=require(_0xe62e('0x1'));var logger=require('../../config/logger')(_0xe62e('0x2'));var moment=require(_0xe62e('0x3'));var BPromise=require(_0xe62e('0x4'));var rp=require(_0xe62e('0x5'));var attributes=require('./intSugarcrmField.attributes');module[_0xe62e('0x6')]=function(_0x3a1f87,_0x345842){return _0x3a1f87[_0xe62e('0x7')](_0xe62e('0x8'),attributes,{'tableName':'int_sugarcrm_fields','paranoid':![],'indexes':[],'timestamps':!![]});};