88b3a7ef6413d84a7910ef81be601c467b7576c0
[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 _0x60ab=['../../components/integrations/configuration','exports','FreshdeskAccount','int_freshdesk_accounts','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes'];(function(_0x2576d7,_0x167624){var _0x16a08c=function(_0x19de1e){while(--_0x19de1e){_0x2576d7['push'](_0x2576d7['shift']());}};_0x16a08c(++_0x167624);}(_0x60ab,0xf2));var _0xb60a=function(_0x43776a,_0x4eb74c){_0x43776a=_0x43776a-0x0;var _0x18eb8f=_0x60ab[_0x43776a];return _0x18eb8f;};'use strict';var _=require(_0xb60a('0x0'));var util=require(_0xb60a('0x1'));var logger=require('../../config/logger')(_0xb60a('0x2'));var moment=require(_0xb60a('0x3'));var BPromise=require(_0xb60a('0x4'));var rp=require(_0xb60a('0x5'));var fs=require('fs');var path=require(_0xb60a('0x6'));var rimraf=require(_0xb60a('0x7'));var config=require(_0xb60a('0x8'));var attributes=require(_0xb60a('0x9'));var integrations=require(_0xb60a('0xa'));module[_0xb60a('0xb')]=function(_0x350146,_0x2240dd){return _0x350146['define'](_0xb60a('0xc'),attributes,{'tableName':_0xb60a('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};