Built motion from commit c116dc8b.|2.6.30
[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 _0x273e=['../../components/integrations/configuration','exports','define','SugarcrmAccount','int_sugarcrm_accounts','lodash','util','api','request-promise','path','rimraf','../../config/environment','./intSugarcrmAccount.attributes'];(function(_0x4c5538,_0x459b25){var _0x19eabb=function(_0x584302){while(--_0x584302){_0x4c5538['push'](_0x4c5538['shift']());}};_0x19eabb(++_0x459b25);}(_0x273e,0x1b2));var _0xe273=function(_0x2e084d,_0x35cd57){_0x2e084d=_0x2e084d-0x0;var _0x3f0a6c=_0x273e[_0x2e084d];return _0x3f0a6c;};'use strict';var _=require(_0xe273('0x0'));var util=require(_0xe273('0x1'));var logger=require('../../config/logger')(_0xe273('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xe273('0x3'));var fs=require('fs');var path=require(_0xe273('0x4'));var rimraf=require(_0xe273('0x5'));var config=require(_0xe273('0x6'));var attributes=require(_0xe273('0x7'));var integrations=require(_0xe273('0x8'));module[_0xe273('0x9')]=function(_0x11b4d0,_0x230582){return _0x11b4d0[_0xe273('0xa')](_0xe273('0xb'),attributes,{'tableName':_0xe273('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};