71f0da87ec795110cd74c4bcb5847a8f708e0b52
[motion2.git] / server / api / intFreshdeskAccount / intFreshdeskAccount.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 _0xcb8d=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','../../components/integrations/configuration','define','FreshdeskAccount','int_freshdesk_accounts'];(function(_0x4c0638,_0x5b47e8){var _0x7cd59=function(_0xb328bc){while(--_0xb328bc){_0x4c0638['push'](_0x4c0638['shift']());}};_0x7cd59(++_0x5b47e8);}(_0xcb8d,0x134));var _0xdcb8=function(_0x5a6644,_0x45d612){_0x5a6644=_0x5a6644-0x0;var _0x3a2a5d=_0xcb8d[_0x5a6644];return _0x3a2a5d;};'use strict';var _=require(_0xdcb8('0x0'));var util=require(_0xdcb8('0x1'));var logger=require(_0xdcb8('0x2'))(_0xdcb8('0x3'));var moment=require(_0xdcb8('0x4'));var BPromise=require(_0xdcb8('0x5'));var rp=require(_0xdcb8('0x6'));var fs=require('fs');var path=require(_0xdcb8('0x7'));var rimraf=require(_0xdcb8('0x8'));var config=require(_0xdcb8('0x9'));var attributes=require('./intFreshdeskAccount.attributes');var integrations=require(_0xdcb8('0xa'));module['exports']=function(_0x3e1fa5,_0x10f529){return _0x3e1fa5[_0xdcb8('0xb')](_0xdcb8('0xc'),attributes,{'tableName':_0xdcb8('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};