Built motion from commit 3c2ce842.|2.6.31
[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 _0x7cdd=['rimraf','exports','define','int_freshsales_configurations','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x5cf567,_0x1b47b9){var _0x2d187e=function(_0x1b0119){while(--_0x1b0119){_0x5cf567['push'](_0x5cf567['shift']());}};_0x2d187e(++_0x1b47b9);}(_0x7cdd,0xac));var _0xd7cd=function(_0x34644d,_0x45e6b6){_0x34644d=_0x34644d-0x0;var _0x3defbe=_0x7cdd[_0x34644d];return _0x3defbe;};'use strict';var _=require(_0xd7cd('0x0'));var util=require(_0xd7cd('0x1'));var logger=require(_0xd7cd('0x2'))(_0xd7cd('0x3'));var moment=require(_0xd7cd('0x4'));var BPromise=require(_0xd7cd('0x5'));var rp=require(_0xd7cd('0x6'));var fs=require('fs');var path=require(_0xd7cd('0x7'));var rimraf=require(_0xd7cd('0x8'));var config=require('../../config/environment');var attributes=require('./intFreshsalesConfiguration.attributes');module[_0xd7cd('0x9')]=function(_0x19a240,_0x3e37d1){return _0x19a240[_0xd7cd('0xa')]('FreshsalesConfiguration',attributes,{'tableName':_0xd7cd('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};