9f20f0f924b03f2f4728ea84fa6a0d34b976f8ca
[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 _0xf1ae=['../../config/environment','./intFreshsalesAccount.attributes','exports','FreshsalesAccount','int_freshsales_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x2bf5d1,_0x14e28f){var _0x3472c6=function(_0xa369da){while(--_0xa369da){_0x2bf5d1['push'](_0x2bf5d1['shift']());}};_0x3472c6(++_0x14e28f);}(_0xf1ae,0x1c5));var _0xef1a=function(_0x28ad03,_0x1303e4){_0x28ad03=_0x28ad03-0x0;var _0x146d81=_0xf1ae[_0x28ad03];return _0x146d81;};'use strict';var _=require(_0xef1a('0x0'));var util=require(_0xef1a('0x1'));var logger=require(_0xef1a('0x2'))(_0xef1a('0x3'));var moment=require(_0xef1a('0x4'));var BPromise=require(_0xef1a('0x5'));var rp=require(_0xef1a('0x6'));var fs=require('fs');var path=require(_0xef1a('0x7'));var rimraf=require(_0xef1a('0x8'));var config=require(_0xef1a('0x9'));var attributes=require(_0xef1a('0xa'));var integrations=require('../../components/integrations/configuration');module[_0xef1a('0xb')]=function(_0xd3418e,_0x428273){return _0xd3418e['define'](_0xef1a('0xc'),attributes,{'tableName':_0xef1a('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};