Built motion from commit f7863d46.|2.5.41
[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 _0x228f=['lodash','util','../../config/logger','bluebird','request-promise','path','../../config/environment','FreshdeskConfiguration','int_freshdesk_configurations'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x228f,0x105));var _0xf228=function(_0x37f5c4,_0x3af2c9){_0x37f5c4=_0x37f5c4-0x0;var _0x811ca6=_0x228f[_0x37f5c4];return _0x811ca6;};'use strict';var _=require(_0xf228('0x0'));var util=require(_0xf228('0x1'));var logger=require(_0xf228('0x2'))('api');var moment=require('moment');var BPromise=require(_0xf228('0x3'));var rp=require(_0xf228('0x4'));var fs=require('fs');var path=require(_0xf228('0x5'));var rimraf=require('rimraf');var config=require(_0xf228('0x6'));var attributes=require('./intFreshdeskConfiguration.attributes');module['exports']=function(_0x58b93a,_0x541409){return _0x58b93a['define'](_0xf228('0x7'),attributes,{'tableName':_0xf228('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};