e637da58017279f1ff5debf109543709982cc2ef
[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 _0xc06d=['api','moment','bluebird','request-promise','path','exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger'];(function(_0x5005cf,_0x3b726e){var _0x47e44d=function(_0x1521ed){while(--_0x1521ed){_0x5005cf['push'](_0x5005cf['shift']());}};_0x47e44d(++_0x3b726e);}(_0xc06d,0x1d1));var _0xdc06=function(_0x2f9dfc,_0x1b863b){_0x2f9dfc=_0x2f9dfc-0x0;var _0x5dc5f3=_0xc06d[_0x2f9dfc];return _0x5dc5f3;};'use strict';var _=require(_0xdc06('0x0'));var util=require(_0xdc06('0x1'));var logger=require(_0xdc06('0x2'))(_0xdc06('0x3'));var moment=require(_0xdc06('0x4'));var BPromise=require(_0xdc06('0x5'));var rp=require(_0xdc06('0x6'));var fs=require('fs');var path=require(_0xdc06('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./intFreshdeskAccount.attributes');var integrations=require('../../components/integrations/configuration');module[_0xdc06('0x8')]=function(_0x57ccc6,_0xf803c3){return _0x57ccc6[_0xdc06('0x9')](_0xdc06('0xa'),attributes,{'tableName':_0xdc06('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};