dd89230cd1154bbf307999b6ae7d7929d59053af
[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 _0xdd66=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshsalesConfiguration.attributes','exports','int_freshsales_configurations','lodash','util'];(function(_0x175110,_0x3c1c53){var _0x3da07b=function(_0x12724d){while(--_0x12724d){_0x175110['push'](_0x175110['shift']());}};_0x3da07b(++_0x3c1c53);}(_0xdd66,0x76));var _0x6dd6=function(_0x3c7e7a,_0x1c579d){_0x3c7e7a=_0x3c7e7a-0x0;var _0x118925=_0xdd66[_0x3c7e7a];return _0x118925;};'use strict';var _=require(_0x6dd6('0x0'));var util=require(_0x6dd6('0x1'));var logger=require('../../config/logger')(_0x6dd6('0x2'));var moment=require(_0x6dd6('0x3'));var BPromise=require(_0x6dd6('0x4'));var rp=require(_0x6dd6('0x5'));var fs=require('fs');var path=require(_0x6dd6('0x6'));var rimraf=require(_0x6dd6('0x7'));var config=require(_0x6dd6('0x8'));var attributes=require(_0x6dd6('0x9'));module[_0x6dd6('0xa')]=function(_0x3c5bdf,_0xebb0ac){return _0x3c5bdf['define']('FreshsalesConfiguration',attributes,{'tableName':_0x6dd6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};