86f68d02d7a85764f19e5bcd2d6323d15d618c4a
[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 _0x0bc8=['rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash','../../config/logger','api','moment','request-promise','path'];(function(_0x1e45ac,_0x4a4b57){var _0x28ef94=function(_0x99a2e6){while(--_0x99a2e6){_0x1e45ac['push'](_0x1e45ac['shift']());}};_0x28ef94(++_0x4a4b57);}(_0x0bc8,0x1d6));var _0x80bc=function(_0x5d5c8c,_0x971106){_0x5d5c8c=_0x5d5c8c-0x0;var _0x190499=_0x0bc8[_0x5d5c8c];return _0x190499;};'use strict';var _=require(_0x80bc('0x0'));var util=require('util');var logger=require(_0x80bc('0x1'))(_0x80bc('0x2'));var moment=require(_0x80bc('0x3'));var BPromise=require('bluebird');var rp=require(_0x80bc('0x4'));var fs=require('fs');var path=require(_0x80bc('0x5'));var rimraf=require(_0x80bc('0x6'));var config=require(_0x80bc('0x7'));var attributes=require(_0x80bc('0x8'));var integrations=require(_0x80bc('0x9'));module[_0x80bc('0xa')]=function(_0x4549bf,_0x2ff2c5){return _0x4549bf[_0x80bc('0xb')](_0x80bc('0xc'),attributes,{'tableName':_0x80bc('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};