beda27eca051ba3769d8d41b03ee1498f2e4070c
[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 _0x5a05=['moment','request-promise','path','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','exports','FreshdeskConfiguration','int_freshdesk_configurations','util','../../config/logger','api'];(function(_0x592940,_0x3e3354){var _0x1bb712=function(_0x2ba4ef){while(--_0x2ba4ef){_0x592940['push'](_0x592940['shift']());}};_0x1bb712(++_0x3e3354);}(_0x5a05,0x1ad));var _0x55a0=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x5a05[_0x321bb2];return _0x9c12ed;};'use strict';var _=require('lodash');var util=require(_0x55a0('0x0'));var logger=require(_0x55a0('0x1'))(_0x55a0('0x2'));var moment=require(_0x55a0('0x3'));var BPromise=require('bluebird');var rp=require(_0x55a0('0x4'));var fs=require('fs');var path=require(_0x55a0('0x5'));var rimraf=require(_0x55a0('0x6'));var config=require(_0x55a0('0x7'));var attributes=require(_0x55a0('0x8'));module[_0x55a0('0x9')]=function(_0x50d744,_0x2aa77e){return _0x50d744['define'](_0x55a0('0xa'),attributes,{'tableName':_0x55a0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};