332a52605c6cf8fc0c583a9fa98db6f6494f0fb3
[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 _0xccde=['./intFreshdeskAccount.attributes','exports','define','int_freshdesk_accounts','util','api','request-promise','path','rimraf','../../config/environment'];(function(_0x513da6,_0x56c78a){var _0x1d2555=function(_0x47dd0c){while(--_0x47dd0c){_0x513da6['push'](_0x513da6['shift']());}};_0x1d2555(++_0x56c78a);}(_0xccde,0x1ee));var _0xeccd=function(_0x2ef44b,_0x553359){_0x2ef44b=_0x2ef44b-0x0;var _0x2405b9=_0xccde[_0x2ef44b];return _0x2405b9;};'use strict';var _=require('lodash');var util=require(_0xeccd('0x0'));var logger=require('../../config/logger')(_0xeccd('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xeccd('0x2'));var fs=require('fs');var path=require(_0xeccd('0x3'));var rimraf=require(_0xeccd('0x4'));var config=require(_0xeccd('0x5'));var attributes=require(_0xeccd('0x6'));var integrations=require('../../components/integrations/configuration');module[_0xeccd('0x7')]=function(_0x32e9e9,_0x21207a){return _0x32e9e9[_0xeccd('0x8')]('FreshdeskAccount',attributes,{'tableName':_0xeccd('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};