9b96d2a0bbc3400cc186d9be744ceab7ecf959f0
[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 _0x3cff=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','FreshdeskAccount','lodash','util'];(function(_0x5e6d67,_0x2bbe63){var _0x3f3dd9=function(_0x1830bc){while(--_0x1830bc){_0x5e6d67['push'](_0x5e6d67['shift']());}};_0x3f3dd9(++_0x2bbe63);}(_0x3cff,0xe8));var _0xf3cf=function(_0x5f08a6,_0x400121){_0x5f08a6=_0x5f08a6-0x0;var _0x5d0641=_0x3cff[_0x5f08a6];return _0x5d0641;};'use strict';var _=require(_0xf3cf('0x0'));var util=require(_0xf3cf('0x1'));var logger=require(_0xf3cf('0x2'))(_0xf3cf('0x3'));var moment=require(_0xf3cf('0x4'));var BPromise=require('bluebird');var rp=require(_0xf3cf('0x5'));var fs=require('fs');var path=require(_0xf3cf('0x6'));var rimraf=require(_0xf3cf('0x7'));var config=require(_0xf3cf('0x8'));var attributes=require(_0xf3cf('0x9'));var integrations=require(_0xf3cf('0xa'));module[_0xf3cf('0xb')]=function(_0x47e6dc,_0x2477c8){return _0x47e6dc['define'](_0xf3cf('0xc'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};