Built motion from commit (unavailable).|2.5.21
[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 _0xc34f=['define','SugarcrmAccount','int_sugarcrm_accounts','lodash','util','api','moment','bluebird','rimraf','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration','exports'];(function(_0xa44be7,_0x455088){var _0x20e22e=function(_0x361d14){while(--_0x361d14){_0xa44be7['push'](_0xa44be7['shift']());}};_0x20e22e(++_0x455088);}(_0xc34f,0xfa));var _0xfc34=function(_0x6e5e10,_0x4ea002){_0x6e5e10=_0x6e5e10-0x0;var _0x38e7e5=_0xc34f[_0x6e5e10];return _0x38e7e5;};'use strict';var _=require(_0xfc34('0x0'));var util=require(_0xfc34('0x1'));var logger=require('../../config/logger')(_0xfc34('0x2'));var moment=require(_0xfc34('0x3'));var BPromise=require(_0xfc34('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xfc34('0x5'));var config=require(_0xfc34('0x6'));var attributes=require(_0xfc34('0x7'));var integrations=require(_0xfc34('0x8'));module[_0xfc34('0x9')]=function(_0xc08b9f,_0x4f3b58){return _0xc08b9f[_0xfc34('0xa')](_0xfc34('0xb'),attributes,{'tableName':_0xfc34('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};