Built motion from commit (unavailable).|2.5.0
[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 _0x8af6=['rimraf','../../config/environment','../../components/integrations/configuration','define','FreshsalesAccount','int_freshsales_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x11f418,_0x16283a){var _0x5d7f70=function(_0x24ba86){while(--_0x24ba86){_0x11f418['push'](_0x11f418['shift']());}};_0x5d7f70(++_0x16283a);}(_0x8af6,0x76));var _0x68af=function(_0x2cddcc,_0x19f824){_0x2cddcc=_0x2cddcc-0x0;var _0x2653a2=_0x8af6[_0x2cddcc];return _0x2653a2;};'use strict';var _=require(_0x68af('0x0'));var util=require(_0x68af('0x1'));var logger=require(_0x68af('0x2'))(_0x68af('0x3'));var moment=require(_0x68af('0x4'));var BPromise=require(_0x68af('0x5'));var rp=require(_0x68af('0x6'));var fs=require('fs');var path=require(_0x68af('0x7'));var rimraf=require(_0x68af('0x8'));var config=require(_0x68af('0x9'));var attributes=require('./intFreshsalesAccount.attributes');var integrations=require(_0x68af('0xa'));module['exports']=function(_0x36e91a,_0x2be0c1){return _0x36e91a[_0x68af('0xb')](_0x68af('0xc'),attributes,{'tableName':_0x68af('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};