837291ef1eca7e5934e445f0f572b74b4900c586
[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 _0xe236=['define','FreshdeskConfiguration','lodash','util','api','moment','request-promise','path','rimraf','./intFreshdeskConfiguration.attributes'];(function(_0xe6a3ef,_0x2023a7){var _0x1c65aa=function(_0x167705){while(--_0x167705){_0xe6a3ef['push'](_0xe6a3ef['shift']());}};_0x1c65aa(++_0x2023a7);}(_0xe236,0x17e));var _0x6e23=function(_0x1857d0,_0x6eade0){_0x1857d0=_0x1857d0-0x0;var _0x3e3c46=_0xe236[_0x1857d0];return _0x3e3c46;};'use strict';var _=require(_0x6e23('0x0'));var util=require(_0x6e23('0x1'));var logger=require('../../config/logger')(_0x6e23('0x2'));var moment=require(_0x6e23('0x3'));var BPromise=require('bluebird');var rp=require(_0x6e23('0x4'));var fs=require('fs');var path=require(_0x6e23('0x5'));var rimraf=require(_0x6e23('0x6'));var config=require('../../config/environment');var attributes=require(_0x6e23('0x7'));module['exports']=function(_0x1fe993,_0x2fade2){return _0x1fe993[_0x6e23('0x8')](_0x6e23('0x9'),attributes,{'tableName':'int_freshdesk_configurations','paranoid':![],'indexes':[],'timestamps':!![]});};