266e494c3895d272039d72ad837a54999b651f57
[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 _0xbf26=['../../config/environment','./intFreshdeskConfiguration.attributes','exports','define','FreshdeskConfiguration','int_freshdesk_configurations','util','bluebird','request-promise','path'];(function(_0x40e1ed,_0x297e89){var _0x220ddd=function(_0x9310bb){while(--_0x9310bb){_0x40e1ed['push'](_0x40e1ed['shift']());}};_0x220ddd(++_0x297e89);}(_0xbf26,0x74));var _0x6bf2=function(_0x2eb064,_0x5f3392){_0x2eb064=_0x2eb064-0x0;var _0x510281=_0xbf26[_0x2eb064];return _0x510281;};'use strict';var _=require('lodash');var util=require(_0x6bf2('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x6bf2('0x1'));var rp=require(_0x6bf2('0x2'));var fs=require('fs');var path=require(_0x6bf2('0x3'));var rimraf=require('rimraf');var config=require(_0x6bf2('0x4'));var attributes=require(_0x6bf2('0x5'));module[_0x6bf2('0x6')]=function(_0x35e415,_0x2a1a80){return _0x35e415[_0x6bf2('0x7')](_0x6bf2('0x8'),attributes,{'tableName':_0x6bf2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};