dd46b7e797854bf04518b1b26f00ecab0af46bfd
[motion2.git] / server / api / intFreshsalesAccount / intFreshsalesAccount.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 _0x7df3=['../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration','define','int_freshsales_accounts','lodash','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x290a05,_0x2fc4d2){var _0x2f2cc4=function(_0x369f87){while(--_0x369f87){_0x290a05['push'](_0x290a05['shift']());}};_0x2f2cc4(++_0x2fc4d2);}(_0x7df3,0x109));var _0x37df=function(_0x3947c9,_0x4d6c97){_0x3947c9=_0x3947c9-0x0;var _0x2e7871=_0x7df3[_0x3947c9];return _0x2e7871;};'use strict';var _=require(_0x37df('0x0'));var util=require(_0x37df('0x1'));var logger=require('../../config/logger')(_0x37df('0x2'));var moment=require(_0x37df('0x3'));var BPromise=require(_0x37df('0x4'));var rp=require(_0x37df('0x5'));var fs=require('fs');var path=require(_0x37df('0x6'));var rimraf=require(_0x37df('0x7'));var config=require(_0x37df('0x8'));var attributes=require(_0x37df('0x9'));var integrations=require(_0x37df('0xa'));module['exports']=function(_0x3fe28e,_0x805acb){return _0x3fe28e[_0x37df('0xb')]('FreshsalesAccount',attributes,{'tableName':_0x37df('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};