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 _0x2a3e=['bluebird','request-promise','path','exports','FreshsalesConfiguration','int_freshsales_configurations','lodash','util','api'];(function(_0xead639,_0x58a241){var _0x4e5b2b=function(_0x2b17c1){while(--_0x2b17c1){_0xead639['push'](_0xead639['shift']());}};_0x4e5b2b(++_0x58a241);}(_0x2a3e,0xf0));var _0xe2a3=function(_0x216689,_0x52b5e3){_0x216689=_0x216689-0x0;var _0xbea7a8=_0x2a3e[_0x216689];return _0xbea7a8;};'use strict';var _=require(_0xe2a3('0x0'));var util=require(_0xe2a3('0x1'));var logger=require('../../config/logger')(_0xe2a3('0x2'));var moment=require('moment');var BPromise=require(_0xe2a3('0x3'));var rp=require(_0xe2a3('0x4'));var fs=require('fs');var path=require(_0xe2a3('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intFreshsalesConfiguration.attributes');module[_0xe2a3('0x6')]=function(_0x515aca,_0x13524f){return _0x515aca['define'](_0xe2a3('0x7'),attributes,{'tableName':_0xe2a3('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};