9f783e8ff89ee249f93109dc59487bbeb871d55e
[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 _0x004b=['request-promise','path','rimraf','../../config/environment','../../components/integrations/configuration','exports','FreshsalesAccount','lodash','util','../../config/logger','api','bluebird'];(function(_0x230e8a,_0x147bb0){var _0xd8fb9d=function(_0x12c720){while(--_0x12c720){_0x230e8a['push'](_0x230e8a['shift']());}};_0xd8fb9d(++_0x147bb0);}(_0x004b,0x11b));var _0xb004=function(_0x16dfc0,_0x2a24aa){_0x16dfc0=_0x16dfc0-0x0;var _0x13da6c=_0x004b[_0x16dfc0];return _0x13da6c;};'use strict';var _=require(_0xb004('0x0'));var util=require(_0xb004('0x1'));var logger=require(_0xb004('0x2'))(_0xb004('0x3'));var moment=require('moment');var BPromise=require(_0xb004('0x4'));var rp=require(_0xb004('0x5'));var fs=require('fs');var path=require(_0xb004('0x6'));var rimraf=require(_0xb004('0x7'));var config=require(_0xb004('0x8'));var attributes=require('./intFreshsalesAccount.attributes');var integrations=require(_0xb004('0x9'));module[_0xb004('0xa')]=function(_0x3798c7,_0x35d1b3){return _0x3798c7['define'](_0xb004('0xb'),attributes,{'tableName':'int_freshsales_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};