7c720c5dad27b8c99f403d1b5d663884447bd895
[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 _0xd11c=['../../components/integrations/configuration','exports','define','FreshsalesAccount','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','./intFreshsalesAccount.attributes'];(function(_0x164e8f,_0xdba27a){var _0x2b2840=function(_0x4458f0){while(--_0x4458f0){_0x164e8f['push'](_0x164e8f['shift']());}};_0x2b2840(++_0xdba27a);}(_0xd11c,0x64));var _0xcd11=function(_0x14a15d,_0x51dcf7){_0x14a15d=_0x14a15d-0x0;var _0x5d8973=_0xd11c[_0x14a15d];return _0x5d8973;};'use strict';var _=require(_0xcd11('0x0'));var util=require(_0xcd11('0x1'));var logger=require(_0xcd11('0x2'))(_0xcd11('0x3'));var moment=require('moment');var BPromise=require(_0xcd11('0x4'));var rp=require(_0xcd11('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xcd11('0x6'));var config=require('../../config/environment');var attributes=require(_0xcd11('0x7'));var integrations=require(_0xcd11('0x8'));module[_0xcd11('0x9')]=function(_0x34ecb8,_0x54c958){return _0x34ecb8[_0xcd11('0xa')](_0xcd11('0xb'),attributes,{'tableName':'int_freshsales_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};