Built motion from commit b5413ace.|2.6.9
[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 _0x2bce=['./intSugarcrmAccount.attributes','../../components/integrations/configuration','define','SugarcrmAccount','int_sugarcrm_accounts','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x3b6462,_0x11e45b){var _0xe679af=function(_0x3ecd8c){while(--_0x3ecd8c){_0x3b6462['push'](_0x3b6462['shift']());}};_0xe679af(++_0x11e45b);}(_0x2bce,0x6d));var _0xe2bc=function(_0x12734d,_0x202852){_0x12734d=_0x12734d-0x0;var _0xcb4ca8=_0x2bce[_0x12734d];return _0xcb4ca8;};'use strict';var _=require(_0xe2bc('0x0'));var util=require(_0xe2bc('0x1'));var logger=require(_0xe2bc('0x2'))('api');var moment=require(_0xe2bc('0x3'));var BPromise=require('bluebird');var rp=require(_0xe2bc('0x4'));var fs=require('fs');var path=require(_0xe2bc('0x5'));var rimraf=require(_0xe2bc('0x6'));var config=require(_0xe2bc('0x7'));var attributes=require(_0xe2bc('0x8'));var integrations=require(_0xe2bc('0x9'));module['exports']=function(_0x423a45,_0x494308){return _0x423a45[_0xe2bc('0xa')](_0xe2bc('0xb'),attributes,{'tableName':_0xe2bc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};