7fc0611adb5b3bb5fde7e277a554956a34421194
[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 _0x3ba0=['lodash','util','api','moment','request-promise','path','rimraf','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','int_freshdesk_accounts'];(function(_0x3c065a,_0x90a342){var _0x30e680=function(_0x188477){while(--_0x188477){_0x3c065a['push'](_0x3c065a['shift']());}};_0x30e680(++_0x90a342);}(_0x3ba0,0x90));var _0x03ba=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x3ba0[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x03ba('0x0'));var util=require(_0x03ba('0x1'));var logger=require('../../config/logger')(_0x03ba('0x2'));var moment=require(_0x03ba('0x3'));var BPromise=require('bluebird');var rp=require(_0x03ba('0x4'));var fs=require('fs');var path=require(_0x03ba('0x5'));var rimraf=require(_0x03ba('0x6'));var config=require('../../config/environment');var attributes=require(_0x03ba('0x7'));var integrations=require(_0x03ba('0x8'));module[_0x03ba('0x9')]=function(_0x2acfb6,_0x88840e){return _0x2acfb6[_0x03ba('0xa')]('FreshdeskAccount',attributes,{'tableName':_0x03ba('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};