aaf44137ee75f0948d8f434a3bd9cab319da3249
[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 _0x7d44=['request-promise','path','rimraf','../../config/environment','./intFreshsalesAccount.attributes','../../components/integrations/configuration','define','FreshsalesAccount','../../config/logger','api','moment','bluebird'];(function(_0x365e5f,_0xe26a99){var _0x144e67=function(_0x4fec9e){while(--_0x4fec9e){_0x365e5f['push'](_0x365e5f['shift']());}};_0x144e67(++_0xe26a99);}(_0x7d44,0xbc));var _0x47d4=function(_0x30f17f,_0x5eb00){_0x30f17f=_0x30f17f-0x0;var _0x90cd2d=_0x7d44[_0x30f17f];return _0x90cd2d;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x47d4('0x0'))(_0x47d4('0x1'));var moment=require(_0x47d4('0x2'));var BPromise=require(_0x47d4('0x3'));var rp=require(_0x47d4('0x4'));var fs=require('fs');var path=require(_0x47d4('0x5'));var rimraf=require(_0x47d4('0x6'));var config=require(_0x47d4('0x7'));var attributes=require(_0x47d4('0x8'));var integrations=require(_0x47d4('0x9'));module['exports']=function(_0x3caa99,_0x6f5d87){return _0x3caa99[_0x47d4('0xa')](_0x47d4('0xb'),attributes,{'tableName':'int_freshsales_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};