f7313dfb42e06cefb12544c7cb889a169149513e
[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 _0xdb66=['int_freshdesk_accounts','lodash','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','../../components/integrations/configuration','FreshdeskAccount'];(function(_0x3559dc,_0x2322c7){var _0x573156=function(_0x13e156){while(--_0x13e156){_0x3559dc['push'](_0x3559dc['shift']());}};_0x573156(++_0x2322c7);}(_0xdb66,0x1af));var _0x6db6=function(_0x34bc30,_0x177cb0){_0x34bc30=_0x34bc30-0x0;var _0x5706de=_0xdb66[_0x34bc30];return _0x5706de;};'use strict';var _=require(_0x6db6('0x0'));var util=require('util');var logger=require(_0x6db6('0x1'))(_0x6db6('0x2'));var moment=require(_0x6db6('0x3'));var BPromise=require(_0x6db6('0x4'));var rp=require(_0x6db6('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6db6('0x6'));var attributes=require('./intFreshdeskAccount.attributes');var integrations=require(_0x6db6('0x7'));module['exports']=function(_0x19d7b4,_0x176e1f){return _0x19d7b4['define'](_0x6db6('0x8'),attributes,{'tableName':_0x6db6('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};