Built motion from commit 953226e6.|2.6.32
[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 _0x0a50=['define','lodash','util','moment','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes'];(function(_0x10302e,_0x158f12){var _0x526ee6=function(_0x2a89db){while(--_0x2a89db){_0x10302e['push'](_0x10302e['shift']());}};_0x526ee6(++_0x158f12);}(_0x0a50,0x1c9));var _0x00a5=function(_0x35e97,_0x20fac6){_0x35e97=_0x35e97-0x0;var _0xc0a3d4=_0x0a50[_0x35e97];return _0xc0a3d4;};'use strict';var _=require(_0x00a5('0x0'));var util=require(_0x00a5('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x00a5('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x00a5('0x3'));var rimraf=require(_0x00a5('0x4'));var config=require(_0x00a5('0x5'));var attributes=require(_0x00a5('0x6'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x47868a,_0x5c7be5){return _0x47868a[_0x00a5('0x7')]('FreshdeskAccount',attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};