Built motion from commit fe909640.|2.6.8
[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 _0xfa2c=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','exports','FreshdeskConfiguration','api'];(function(_0x3d5351,_0x27bc80){var _0x1db4db=function(_0x3f572b){while(--_0x3f572b){_0x3d5351['push'](_0x3d5351['shift']());}};_0x1db4db(++_0x27bc80);}(_0xfa2c,0xe5));var _0xcfa2=function(_0x290a0c,_0x4ca785){_0x290a0c=_0x290a0c-0x0;var _0x277792=_0xfa2c[_0x290a0c];return _0x277792;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xcfa2('0x0'));var moment=require(_0xcfa2('0x1'));var BPromise=require(_0xcfa2('0x2'));var rp=require(_0xcfa2('0x3'));var fs=require('fs');var path=require(_0xcfa2('0x4'));var rimraf=require(_0xcfa2('0x5'));var config=require(_0xcfa2('0x6'));var attributes=require(_0xcfa2('0x7'));module[_0xcfa2('0x8')]=function(_0x5eb162,_0x49dfa5){return _0x5eb162['define'](_0xcfa2('0x9'),attributes,{'tableName':'int_freshdesk_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};