Built motion from commit 9e1399f3.|2.5.37
[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 _0x9946=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','exports','define','FreshdeskConfiguration','int_freshdesk_configurations','util','../../config/logger'];(function(_0x2c44aa,_0x2fd67f){var _0xa104f8=function(_0x49a05c){while(--_0x49a05c){_0x2c44aa['push'](_0x2c44aa['shift']());}};_0xa104f8(++_0x2fd67f);}(_0x9946,0xfa));var _0x6994=function(_0x11dc88,_0x2416fe){_0x11dc88=_0x11dc88-0x0;var _0x5c8870=_0x9946[_0x11dc88];return _0x5c8870;};'use strict';var _=require('lodash');var util=require(_0x6994('0x0'));var logger=require(_0x6994('0x1'))(_0x6994('0x2'));var moment=require(_0x6994('0x3'));var BPromise=require(_0x6994('0x4'));var rp=require(_0x6994('0x5'));var fs=require('fs');var path=require(_0x6994('0x6'));var rimraf=require(_0x6994('0x7'));var config=require(_0x6994('0x8'));var attributes=require(_0x6994('0x9'));module[_0x6994('0xa')]=function(_0x3d4d87,_0x245e78){return _0x3d4d87[_0x6994('0xb')](_0x6994('0xc'),attributes,{'tableName':_0x6994('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};