0238cb810cef58db9c4f656bfecc95e1e0d8af02
[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 _0x7bcf=['lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','FreshdeskConfiguration','int_freshdesk_configurations'];(function(_0x58afd5,_0x534a48){var _0x3e503b=function(_0x27ba44){while(--_0x27ba44){_0x58afd5['push'](_0x58afd5['shift']());}};_0x3e503b(++_0x534a48);}(_0x7bcf,0xdc));var _0xf7bc=function(_0x57b934,_0x393438){_0x57b934=_0x57b934-0x0;var _0x158651=_0x7bcf[_0x57b934];return _0x158651;};'use strict';var _=require(_0xf7bc('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xf7bc('0x1'));var moment=require(_0xf7bc('0x2'));var BPromise=require(_0xf7bc('0x3'));var rp=require(_0xf7bc('0x4'));var fs=require('fs');var path=require(_0xf7bc('0x5'));var rimraf=require(_0xf7bc('0x6'));var config=require(_0xf7bc('0x7'));var attributes=require(_0xf7bc('0x8'));module['exports']=function(_0x3957c1,_0xcf95b3){return _0x3957c1['define'](_0xf7bc('0x9'),attributes,{'tableName':_0xf7bc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};