af5637f288446845d6b8ff86a55319a8742f0ca2
[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 _0x9fa4=['lodash','util','../../config/logger','request-promise','path','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','define','FreshdeskAccount','int_freshdesk_accounts'];(function(_0x1b3a9e,_0x3b6e29){var _0x53cdc2=function(_0x4b14ec){while(--_0x4b14ec){_0x1b3a9e['push'](_0x1b3a9e['shift']());}};_0x53cdc2(++_0x3b6e29);}(_0x9fa4,0x1c3));var _0x49fa=function(_0x3685b0,_0x111044){_0x3685b0=_0x3685b0-0x0;var _0x548adb=_0x9fa4[_0x3685b0];return _0x548adb;};'use strict';var _=require(_0x49fa('0x0'));var util=require(_0x49fa('0x1'));var logger=require(_0x49fa('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x49fa('0x3'));var fs=require('fs');var path=require(_0x49fa('0x4'));var rimraf=require('rimraf');var config=require(_0x49fa('0x5'));var attributes=require(_0x49fa('0x6'));var integrations=require(_0x49fa('0x7'));module['exports']=function(_0x29de64,_0xde11d6){return _0x29de64[_0x49fa('0x8')](_0x49fa('0x9'),attributes,{'tableName':_0x49fa('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};