c8ad2ee0744f4bb1a282076ece7807c26333e7d8
[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 _0xbafa=['request-promise','path','rimraf','../../config/environment','exports','define','FreshdeskConfiguration','int_freshdesk_configurations','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x579b86,_0x36c440){var _0x6b6e58=function(_0x274808){while(--_0x274808){_0x579b86['push'](_0x579b86['shift']());}};_0x6b6e58(++_0x36c440);}(_0xbafa,0x166));var _0xabaf=function(_0x136083,_0x449d08){_0x136083=_0x136083-0x0;var _0x3f84b1=_0xbafa[_0x136083];return _0x3f84b1;};'use strict';var _=require(_0xabaf('0x0'));var util=require(_0xabaf('0x1'));var logger=require(_0xabaf('0x2'))(_0xabaf('0x3'));var moment=require(_0xabaf('0x4'));var BPromise=require(_0xabaf('0x5'));var rp=require(_0xabaf('0x6'));var fs=require('fs');var path=require(_0xabaf('0x7'));var rimraf=require(_0xabaf('0x8'));var config=require(_0xabaf('0x9'));var attributes=require('./intFreshdeskConfiguration.attributes');module[_0xabaf('0xa')]=function(_0x37c8e,_0x3e9b20){return _0x37c8e[_0xabaf('0xb')](_0xabaf('0xc'),attributes,{'tableName':_0xabaf('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};