Built motion from commit (unavailable).|2.5.4
[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 _0x42a0=['path','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','define','SugarcrmAccount','int_sugarcrm_accounts','util','../../config/logger','api','moment'];(function(_0x282a1f,_0x49a6ef){var _0x296ea7=function(_0x4bac68){while(--_0x4bac68){_0x282a1f['push'](_0x282a1f['shift']());}};_0x296ea7(++_0x49a6ef);}(_0x42a0,0x1a0));var _0x042a=function(_0x5b0d37,_0x4b316f){_0x5b0d37=_0x5b0d37-0x0;var _0x1f95db=_0x42a0[_0x5b0d37];return _0x1f95db;};'use strict';var _=require('lodash');var util=require(_0x042a('0x0'));var logger=require(_0x042a('0x1'))(_0x042a('0x2'));var moment=require(_0x042a('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x042a('0x4'));var rimraf=require('rimraf');var config=require(_0x042a('0x5'));var attributes=require(_0x042a('0x6'));var integrations=require(_0x042a('0x7'));module[_0x042a('0x8')]=function(_0x2be68b,_0x1364dd){return _0x2be68b[_0x042a('0x9')](_0x042a('0xa'),attributes,{'tableName':_0x042a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};