Built motion from commit (unavailable).|2.6.0
[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 _0x98fb=['define','FreshdeskAccount','lodash','util','../../config/logger','rimraf','./intFreshdeskAccount.attributes','exports'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x98fb,0x1ea));var _0xb98f=function(_0x153304,_0x25da33){_0x153304=_0x153304-0x0;var _0x479c46=_0x98fb[_0x153304];return _0x479c46;};'use strict';var _=require(_0xb98f('0x0'));var util=require(_0xb98f('0x1'));var logger=require(_0xb98f('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xb98f('0x3'));var config=require('../../config/environment');var attributes=require(_0xb98f('0x4'));var integrations=require('../../components/integrations/configuration');module[_0xb98f('0x5')]=function(_0x129d0f,_0x37f3e4){return _0x129d0f[_0xb98f('0x6')](_0xb98f('0x7'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};