e57c66a6288e09f47bb856fa1f53ff05e253f168
[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 _0xda4d=['define','SugarcrmAccount','int_sugarcrm_accounts','lodash','util','../../config/logger','api','moment','bluebird','path','../../config/environment','./intSugarcrmAccount.attributes','../../components/integrations/configuration'];(function(_0x273c39,_0x1052e6){var _0x46d6b5=function(_0x44f1fb){while(--_0x44f1fb){_0x273c39['push'](_0x273c39['shift']());}};_0x46d6b5(++_0x1052e6);}(_0xda4d,0x92));var _0xdda4=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xda4d[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0xdda4('0x0'));var util=require(_0xdda4('0x1'));var logger=require(_0xdda4('0x2'))(_0xdda4('0x3'));var moment=require(_0xdda4('0x4'));var BPromise=require(_0xdda4('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdda4('0x6'));var rimraf=require('rimraf');var config=require(_0xdda4('0x7'));var attributes=require(_0xdda4('0x8'));var integrations=require(_0xdda4('0x9'));module['exports']=function(_0x561d49,_0x455fd1){return _0x561d49[_0xdda4('0xa')](_0xdda4('0xb'),attributes,{'tableName':_0xdda4('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};