9874b0d7f72d71078f997fc0a043358ed69a3697
[motion2.git] / server / api / intFreshsalesConfiguration / intFreshsalesConfiguration.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 _0x7ae3=['exports','FreshsalesConfiguration','util','../../config/logger','api','moment','path','../../config/environment','./intFreshsalesConfiguration.attributes'];(function(_0x267d8d,_0xe90f65){var _0x11a98f=function(_0x5703c9){while(--_0x5703c9){_0x267d8d['push'](_0x267d8d['shift']());}};_0x11a98f(++_0xe90f65);}(_0x7ae3,0x185));var _0x37ae=function(_0x45bee1,_0x4267e6){_0x45bee1=_0x45bee1-0x0;var _0x101884=_0x7ae3[_0x45bee1];return _0x101884;};'use strict';var _=require('lodash');var util=require(_0x37ae('0x0'));var logger=require(_0x37ae('0x1'))(_0x37ae('0x2'));var moment=require(_0x37ae('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x37ae('0x4'));var rimraf=require('rimraf');var config=require(_0x37ae('0x5'));var attributes=require(_0x37ae('0x6'));module[_0x37ae('0x7')]=function(_0x264933,_0x4e3ea5){return _0x264933['define'](_0x37ae('0x8'),attributes,{'tableName':'int_freshsales_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};