0061e922a4edf088375f55c9e64bd72eefd73cdb
[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 _0xb790=['api','moment','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash','../../config/logger'];(function(_0x333798,_0x9f6561){var _0x389f4e=function(_0x193b28){while(--_0x193b28){_0x333798['push'](_0x333798['shift']());}};_0x389f4e(++_0x9f6561);}(_0xb790,0x15a));var _0x0b79=function(_0x11bc0f,_0x373666){_0x11bc0f=_0x11bc0f-0x0;var _0x3ab0d1=_0xb790[_0x11bc0f];return _0x3ab0d1;};'use strict';var _=require(_0x0b79('0x0'));var util=require('util');var logger=require(_0x0b79('0x1'))(_0x0b79('0x2'));var moment=require(_0x0b79('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0b79('0x4'));var config=require(_0x0b79('0x5'));var attributes=require(_0x0b79('0x6'));var integrations=require(_0x0b79('0x7'));module[_0x0b79('0x8')]=function(_0x3ef9bb,_0x543541){return _0x3ef9bb[_0x0b79('0x9')](_0x0b79('0xa'),attributes,{'tableName':_0x0b79('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};