1fff1707ac44b43fa4c73003928d4decd4d3b4e7
[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 _0x095b=['lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','exports','define','FreshdeskConfiguration','int_freshdesk_configurations'];(function(_0x293c02,_0x22a469){var _0x38a38a=function(_0x2046c8){while(--_0x2046c8){_0x293c02['push'](_0x293c02['shift']());}};_0x38a38a(++_0x22a469);}(_0x095b,0x75));var _0xb095=function(_0x10e996,_0x3a37db){_0x10e996=_0x10e996-0x0;var _0x6772d0=_0x095b[_0x10e996];return _0x6772d0;};'use strict';var _=require(_0xb095('0x0'));var util=require(_0xb095('0x1'));var logger=require(_0xb095('0x2'))('api');var moment=require('moment');var BPromise=require(_0xb095('0x3'));var rp=require(_0xb095('0x4'));var fs=require('fs');var path=require(_0xb095('0x5'));var rimraf=require(_0xb095('0x6'));var config=require(_0xb095('0x7'));var attributes=require(_0xb095('0x8'));module[_0xb095('0x9')]=function(_0x90501f,_0x5d2b9f){return _0x90501f[_0xb095('0xa')](_0xb095('0xb'),attributes,{'tableName':_0xb095('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};