d7bd70858f28d77937fdb3cba555ec7eafda778b
[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 _0x583c=['define','int_freshsales_accounts','lodash','util','../../config/logger','api','bluebird','request-promise','../../config/environment','./intFreshsalesAccount.attributes','exports'];(function(_0x5bedbf,_0x114ef4){var _0x46288f=function(_0x2f78a4){while(--_0x2f78a4){_0x5bedbf['push'](_0x5bedbf['shift']());}};_0x46288f(++_0x114ef4);}(_0x583c,0x12b));var _0xc583=function(_0x31a938,_0x4daec6){_0x31a938=_0x31a938-0x0;var _0x1bf341=_0x583c[_0x31a938];return _0x1bf341;};'use strict';var _=require(_0xc583('0x0'));var util=require(_0xc583('0x1'));var logger=require(_0xc583('0x2'))(_0xc583('0x3'));var moment=require('moment');var BPromise=require(_0xc583('0x4'));var rp=require(_0xc583('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xc583('0x6'));var attributes=require(_0xc583('0x7'));var integrations=require('../../components/integrations/configuration');module[_0xc583('0x8')]=function(_0x365ed6,_0x2719df){return _0x365ed6[_0xc583('0x9')]('FreshsalesAccount',attributes,{'tableName':_0xc583('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};