d886581412c06ad05d20b6b0fe99a85d7b406076
[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 _0xa5fb=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','../../components/integrations/configuration','exports','define','FreshdeskAccount'];(function(_0x527a53,_0x3265d6){var _0x2332f5=function(_0x3b2d90){while(--_0x3b2d90){_0x527a53['push'](_0x527a53['shift']());}};_0x2332f5(++_0x3265d6);}(_0xa5fb,0x1e0));var _0xba5f=function(_0x5ead5d,_0x593a36){_0x5ead5d=_0x5ead5d-0x0;var _0x587f1c=_0xa5fb[_0x5ead5d];return _0x587f1c;};'use strict';var _=require(_0xba5f('0x0'));var util=require(_0xba5f('0x1'));var logger=require(_0xba5f('0x2'))('api');var moment=require(_0xba5f('0x3'));var BPromise=require(_0xba5f('0x4'));var rp=require(_0xba5f('0x5'));var fs=require('fs');var path=require(_0xba5f('0x6'));var rimraf=require('rimraf');var config=require(_0xba5f('0x7'));var attributes=require('./intFreshdeskAccount.attributes');var integrations=require(_0xba5f('0x8'));module[_0xba5f('0x9')]=function(_0x36ed7e,_0x3ceed4){return _0x36ed7e[_0xba5f('0xa')](_0xba5f('0xb'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};