Built motion from commit d301b742.|2.6.29
[motion2.git] / server / api / intFreshdeskConfiguration / intFreshdeskConfiguration.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 _0xf775=['util','api','bluebird','request-promise','path','define','FreshdeskConfiguration','int_freshdesk_configurations','lodash'];(function(_0x1a3bd1,_0x4a4613){var _0x4cd225=function(_0x4a4ab8){while(--_0x4a4ab8){_0x1a3bd1['push'](_0x1a3bd1['shift']());}};_0x4cd225(++_0x4a4613);}(_0xf775,0xa1));var _0x5f77=function(_0x2c7fe1,_0x52ef9b){_0x2c7fe1=_0x2c7fe1-0x0;var _0x48cd21=_0xf775[_0x2c7fe1];return _0x48cd21;};'use strict';var _=require(_0x5f77('0x0'));var util=require(_0x5f77('0x1'));var logger=require('../../config/logger')(_0x5f77('0x2'));var moment=require('moment');var BPromise=require(_0x5f77('0x3'));var rp=require(_0x5f77('0x4'));var fs=require('fs');var path=require(_0x5f77('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intFreshdeskConfiguration.attributes');module['exports']=function(_0x148bcc,_0xdb29be){return _0x148bcc[_0x5f77('0x6')](_0x5f77('0x7'),attributes,{'tableName':_0x5f77('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};