de2f741549e5272dd40fb6d22e99711c57fbb6d7
[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 _0x6e96=['define','FreshdeskAccount','int_freshdesk_accounts','lodash','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration'];(function(_0x1030ce,_0xbe3f74){var _0x3367fd=function(_0x387153){while(--_0x387153){_0x1030ce['push'](_0x1030ce['shift']());}};_0x3367fd(++_0xbe3f74);}(_0x6e96,0xb7));var _0x66e9=function(_0x3e18b1,_0x58922b){_0x3e18b1=_0x3e18b1-0x0;var _0xc4f03e=_0x6e96[_0x3e18b1];return _0xc4f03e;};'use strict';var _=require(_0x66e9('0x0'));var util=require('util');var logger=require(_0x66e9('0x1'))('api');var moment=require(_0x66e9('0x2'));var BPromise=require('bluebird');var rp=require(_0x66e9('0x3'));var fs=require('fs');var path=require(_0x66e9('0x4'));var rimraf=require(_0x66e9('0x5'));var config=require(_0x66e9('0x6'));var attributes=require(_0x66e9('0x7'));var integrations=require(_0x66e9('0x8'));module['exports']=function(_0x348856,_0x5b9575){return _0x348856[_0x66e9('0x9')](_0x66e9('0xa'),attributes,{'tableName':_0x66e9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};