Built motion from commit (unavailable).|2.5.30
[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 _0x27a6=['../../components/integrations/configuration','exports','FreshsalesAccount','util','moment','request-promise','../../config/environment','./intFreshsalesAccount.attributes'];(function(_0x3cbe19,_0x4b2f1f){var _0x5672ab=function(_0x4939c1){while(--_0x4939c1){_0x3cbe19['push'](_0x3cbe19['shift']());}};_0x5672ab(++_0x4b2f1f);}(_0x27a6,0x9b));var _0x627a=function(_0x196e1b,_0x55fa06){_0x196e1b=_0x196e1b-0x0;var _0x5e1f18=_0x27a6[_0x196e1b];return _0x5e1f18;};'use strict';var _=require('lodash');var util=require(_0x627a('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x627a('0x1'));var BPromise=require('bluebird');var rp=require(_0x627a('0x2'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x627a('0x3'));var attributes=require(_0x627a('0x4'));var integrations=require(_0x627a('0x5'));module[_0x627a('0x6')]=function(_0x2d91c5,_0x2191c4){return _0x2d91c5['define'](_0x627a('0x7'),attributes,{'tableName':'int_freshsales_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};