Built motion from commit f94df7f0.|2.5.48
[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 _0x9edf=['int_freshdesk_accounts','util','../../config/logger','api','moment','bluebird','path','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount'];(function(_0x4154a6,_0x2c0b8e){var _0x3b2786=function(_0x2f5936){while(--_0x2f5936){_0x4154a6['push'](_0x4154a6['shift']());}};_0x3b2786(++_0x2c0b8e);}(_0x9edf,0x194));var _0xf9ed=function(_0x3ebd9e,_0x4cd75e){_0x3ebd9e=_0x3ebd9e-0x0;var _0x3dea64=_0x9edf[_0x3ebd9e];return _0x3dea64;};'use strict';var _=require('lodash');var util=require(_0xf9ed('0x0'));var logger=require(_0xf9ed('0x1'))(_0xf9ed('0x2'));var moment=require(_0xf9ed('0x3'));var BPromise=require(_0xf9ed('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf9ed('0x5'));var rimraf=require('rimraf');var config=require(_0xf9ed('0x6'));var attributes=require(_0xf9ed('0x7'));var integrations=require(_0xf9ed('0x8'));module[_0xf9ed('0x9')]=function(_0x14a8c9,_0x331cc9){return _0x14a8c9[_0xf9ed('0xa')](_0xf9ed('0xb'),attributes,{'tableName':_0xf9ed('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};