b2b0b8d3ab02d50f35cff80c08c8ff68464f6f36
[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 _0xe307=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','FreshdeskAccount','int_freshdesk_accounts','lodash','util'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0xe307,0x15c));var _0x7e30=function(_0x33e1c7,_0x2d3b2f){_0x33e1c7=_0x33e1c7-0x0;var _0x4c47b1=_0xe307[_0x33e1c7];return _0x4c47b1;};'use strict';var _=require(_0x7e30('0x0'));var util=require(_0x7e30('0x1'));var logger=require(_0x7e30('0x2'))('api');var moment=require(_0x7e30('0x3'));var BPromise=require(_0x7e30('0x4'));var rp=require(_0x7e30('0x5'));var fs=require('fs');var path=require(_0x7e30('0x6'));var rimraf=require(_0x7e30('0x7'));var config=require(_0x7e30('0x8'));var attributes=require(_0x7e30('0x9'));var integrations=require(_0x7e30('0xa'));module[_0x7e30('0xb')]=function(_0x2ff871,_0xe701fc){return _0x2ff871['define'](_0x7e30('0xc'),attributes,{'tableName':_0x7e30('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};