88ed9700d209b364ab7a0965cf319617a7b04938
[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 _0xc11b=['exports','define','int_freshdesk_accounts','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration'];(function(_0x55d911,_0x2b768c){var _0x3104c2=function(_0x1b4386){while(--_0x1b4386){_0x55d911['push'](_0x55d911['shift']());}};_0x3104c2(++_0x2b768c);}(_0xc11b,0x6f));var _0xbc11=function(_0xeb99c5,_0x2c5f2d){_0xeb99c5=_0xeb99c5-0x0;var _0x3c86f9=_0xc11b[_0xeb99c5];return _0x3c86f9;};'use strict';var _=require('lodash');var util=require(_0xbc11('0x0'));var logger=require(_0xbc11('0x1'))('api');var moment=require(_0xbc11('0x2'));var BPromise=require('bluebird');var rp=require(_0xbc11('0x3'));var fs=require('fs');var path=require(_0xbc11('0x4'));var rimraf=require(_0xbc11('0x5'));var config=require(_0xbc11('0x6'));var attributes=require(_0xbc11('0x7'));var integrations=require(_0xbc11('0x8'));module[_0xbc11('0x9')]=function(_0x186608,_0x1cdbb0){return _0x186608[_0xbc11('0xa')]('FreshdeskAccount',attributes,{'tableName':_0xbc11('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};