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 _0x04cf=['api','moment','bluebird','request-promise','path','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports','define','SugarcrmAccount','int_sugarcrm_accounts','util','../../config/logger'];(function(_0x3e548b,_0x5f1bbf){var _0x174746=function(_0x3df936){while(--_0x3df936){_0x3e548b['push'](_0x3e548b['shift']());}};_0x174746(++_0x5f1bbf);}(_0x04cf,0x116));var _0xf04c=function(_0x101ed5,_0x4f5c30){_0x101ed5=_0x101ed5-0x0;var _0x5ae524=_0x04cf[_0x101ed5];return _0x5ae524;};'use strict';var _=require('lodash');var util=require(_0xf04c('0x0'));var logger=require(_0xf04c('0x1'))(_0xf04c('0x2'));var moment=require(_0xf04c('0x3'));var BPromise=require(_0xf04c('0x4'));var rp=require(_0xf04c('0x5'));var fs=require('fs');var path=require(_0xf04c('0x6'));var rimraf=require('rimraf');var config=require(_0xf04c('0x7'));var attributes=require(_0xf04c('0x8'));var integrations=require(_0xf04c('0x9'));module[_0xf04c('0xa')]=function(_0x496d21,_0x231878){return _0x496d21[_0xf04c('0xb')](_0xf04c('0xc'),attributes,{'tableName':_0xf04c('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};