e3bedb944cbbaafc93e4799147dc5df77a23362f
[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 _0x63a1=['moment','bluebird','request-promise','path','rimraf','../../config/environment','../../components/integrations/configuration','exports','define','int_freshdesk_accounts','lodash','util','../../config/logger'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x63a1,0x169));var _0x163a=function(_0x3a9f79,_0x47dcff){_0x3a9f79=_0x3a9f79-0x0;var _0x35129a=_0x63a1[_0x3a9f79];return _0x35129a;};'use strict';var _=require(_0x163a('0x0'));var util=require(_0x163a('0x1'));var logger=require(_0x163a('0x2'))('api');var moment=require(_0x163a('0x3'));var BPromise=require(_0x163a('0x4'));var rp=require(_0x163a('0x5'));var fs=require('fs');var path=require(_0x163a('0x6'));var rimraf=require(_0x163a('0x7'));var config=require(_0x163a('0x8'));var attributes=require('./intFreshdeskAccount.attributes');var integrations=require(_0x163a('0x9'));module[_0x163a('0xa')]=function(_0x37b1f2,_0x50cfa7){return _0x37b1f2[_0x163a('0xb')]('FreshdeskAccount',attributes,{'tableName':_0x163a('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};