f5f89b4667a742fe4b66cb31e7ee78c4b130e3de
[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 _0x693b=['request-promise','path','rimraf','../../config/environment','exports','define','FreshdeskConfiguration','int_freshdesk_configurations','lodash','util','../../config/logger','api','bluebird'];(function(_0x37bab4,_0x4fa85e){var _0x336d20=function(_0xdd4ab8){while(--_0xdd4ab8){_0x37bab4['push'](_0x37bab4['shift']());}};_0x336d20(++_0x4fa85e);}(_0x693b,0x14d));var _0xb693=function(_0x393b85,_0x548368){_0x393b85=_0x393b85-0x0;var _0x10925f=_0x693b[_0x393b85];return _0x10925f;};'use strict';var _=require(_0xb693('0x0'));var util=require(_0xb693('0x1'));var logger=require(_0xb693('0x2'))(_0xb693('0x3'));var moment=require('moment');var BPromise=require(_0xb693('0x4'));var rp=require(_0xb693('0x5'));var fs=require('fs');var path=require(_0xb693('0x6'));var rimraf=require(_0xb693('0x7'));var config=require(_0xb693('0x8'));var attributes=require('./intFreshdeskConfiguration.attributes');module[_0xb693('0x9')]=function(_0x35d2f7,_0x1aee4e){return _0x35d2f7[_0xb693('0xa')](_0xb693('0xb'),attributes,{'tableName':_0xb693('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};