Built motion from commit db94841.|2.5.3
[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 _0xee12=['../../config/environment','../../components/integrations/configuration','exports','define','FreshdeskAccount','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x115d5b,_0x26aff2){var _0x6cfc50=function(_0x39a786){while(--_0x39a786){_0x115d5b['push'](_0x115d5b['shift']());}};_0x6cfc50(++_0x26aff2);}(_0xee12,0x155));var _0x2ee1=function(_0x3533ce,_0x527dbf){_0x3533ce=_0x3533ce-0x0;var _0x4f17c1=_0xee12[_0x3533ce];return _0x4f17c1;};'use strict';var _=require(_0x2ee1('0x0'));var util=require(_0x2ee1('0x1'));var logger=require(_0x2ee1('0x2'))(_0x2ee1('0x3'));var moment=require(_0x2ee1('0x4'));var BPromise=require(_0x2ee1('0x5'));var rp=require(_0x2ee1('0x6'));var fs=require('fs');var path=require(_0x2ee1('0x7'));var rimraf=require(_0x2ee1('0x8'));var config=require(_0x2ee1('0x9'));var attributes=require('./intFreshdeskAccount.attributes');var integrations=require(_0x2ee1('0xa'));module[_0x2ee1('0xb')]=function(_0x3ecb04,_0x257f0a){return _0x3ecb04[_0x2ee1('0xc')](_0x2ee1('0xd'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};