de42260b2b60ddf805e60b4c0b4941fcb3f949b6
[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 _0x32ce=['define','int_freshsales_configurations','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','./intFreshsalesConfiguration.attributes','exports'];(function(_0x53fb0a,_0x475ad8){var _0x4dd4ce=function(_0x41c91e){while(--_0x41c91e){_0x53fb0a['push'](_0x53fb0a['shift']());}};_0x4dd4ce(++_0x475ad8);}(_0x32ce,0x1a4));var _0xe32c=function(_0x4d4994,_0x3abd8c){_0x4d4994=_0x4d4994-0x0;var _0x4e2d33=_0x32ce[_0x4d4994];return _0x4e2d33;};'use strict';var _=require(_0xe32c('0x0'));var util=require(_0xe32c('0x1'));var logger=require(_0xe32c('0x2'))(_0xe32c('0x3'));var moment=require('moment');var BPromise=require(_0xe32c('0x4'));var rp=require(_0xe32c('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe32c('0x6'));var config=require('../../config/environment');var attributes=require(_0xe32c('0x7'));module[_0xe32c('0x8')]=function(_0x578a03,_0x8ed37){return _0x578a03[_0xe32c('0x9')]('FreshsalesConfiguration',attributes,{'tableName':_0xe32c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};