57ea54e6c977cb602769031f89e4d9b0d5685abe
[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 _0x9849=['moment','bluebird','path','rimraf','./intFreshdeskAccount.attributes','../../components/integrations/configuration','define','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','api'];(function(_0x595249,_0x368def){var _0x979ea6=function(_0x4227a6){while(--_0x4227a6){_0x595249['push'](_0x595249['shift']());}};_0x979ea6(++_0x368def);}(_0x9849,0xbf));var _0x9984=function(_0x24259d,_0x64a194){_0x24259d=_0x24259d-0x0;var _0x5a701=_0x9849[_0x24259d];return _0x5a701;};'use strict';var _=require(_0x9984('0x0'));var util=require(_0x9984('0x1'));var logger=require(_0x9984('0x2'))(_0x9984('0x3'));var moment=require(_0x9984('0x4'));var BPromise=require(_0x9984('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9984('0x6'));var rimraf=require(_0x9984('0x7'));var config=require('../../config/environment');var attributes=require(_0x9984('0x8'));var integrations=require(_0x9984('0x9'));module['exports']=function(_0x4e2af4,_0xbc494c){return _0x4e2af4[_0x9984('0xa')](_0x9984('0xb'),attributes,{'tableName':_0x9984('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};