21d081dbd28d4e4c9031fa123bea84839f2289a1
[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 _0x4eff=['rimraf','../../components/integrations/configuration','lodash','util','path'];(function(_0x5cc752,_0x110df6){var _0x487970=function(_0x5e14d9){while(--_0x5e14d9){_0x5cc752['push'](_0x5cc752['shift']());}};_0x487970(++_0x110df6);}(_0x4eff,0x93));var _0xf4ef=function(_0x414cf3,_0x10bb91){_0x414cf3=_0x414cf3-0x0;var _0x6e8ead=_0x4eff[_0x414cf3];return _0x6e8ead;};'use strict';var _=require(_0xf4ef('0x0'));var util=require(_0xf4ef('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xf4ef('0x2'));var rimraf=require(_0xf4ef('0x3'));var config=require('../../config/environment');var attributes=require('./intFreshdeskAccount.attributes');var integrations=require(_0xf4ef('0x4'));module['exports']=function(_0x291f49,_0x21e501){return _0x291f49['define']('FreshdeskAccount',attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};