d820be063bb7bddfbfe5929621b3e3d2babdf418
[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 _0x9dbe=['exports','int_freshdesk_configurations','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes'];(function(_0x227f5c,_0x36ff87){var _0x1327d2=function(_0x164b0c){while(--_0x164b0c){_0x227f5c['push'](_0x227f5c['shift']());}};_0x1327d2(++_0x36ff87);}(_0x9dbe,0x185));var _0xe9db=function(_0x22e94e,_0x4f748e){_0x22e94e=_0x22e94e-0x0;var _0x5deac7=_0x9dbe[_0x22e94e];return _0x5deac7;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe9db('0x0'))(_0xe9db('0x1'));var moment=require(_0xe9db('0x2'));var BPromise=require('bluebird');var rp=require(_0xe9db('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe9db('0x4'));var config=require(_0xe9db('0x5'));var attributes=require(_0xe9db('0x6'));module[_0xe9db('0x7')]=function(_0x20de4d,_0x4b55c3){return _0x20de4d['define']('FreshdeskConfiguration',attributes,{'tableName':_0xe9db('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};