f0127327a070b40aabf8e6fe9545c20dd3cd3acd
[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 _0x35f0=['rimraf','./intFreshdeskConfiguration.attributes','exports','define','FreshdeskConfiguration','int_freshdesk_configurations','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x3c03f1,_0x433551){var _0x257e41=function(_0xd63edf){while(--_0xd63edf){_0x3c03f1['push'](_0x3c03f1['shift']());}};_0x257e41(++_0x433551);}(_0x35f0,0x148));var _0x035f=function(_0x728f69,_0x4f899b){_0x728f69=_0x728f69-0x0;var _0x2e6e14=_0x35f0[_0x728f69];return _0x2e6e14;};'use strict';var _=require(_0x035f('0x0'));var util=require(_0x035f('0x1'));var logger=require(_0x035f('0x2'))(_0x035f('0x3'));var moment=require(_0x035f('0x4'));var BPromise=require(_0x035f('0x5'));var rp=require(_0x035f('0x6'));var fs=require('fs');var path=require(_0x035f('0x7'));var rimraf=require(_0x035f('0x8'));var config=require('../../config/environment');var attributes=require(_0x035f('0x9'));module[_0x035f('0xa')]=function(_0x35544e,_0x4138c3){return _0x35544e[_0x035f('0xb')](_0x035f('0xc'),attributes,{'tableName':_0x035f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};