Built motion from commit 85328c08.|2.5.50
[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 _0x7fd3=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash'];(function(_0x421c11,_0xcf7560){var _0x317709=function(_0x5c8c71){while(--_0x5c8c71){_0x421c11['push'](_0x421c11['shift']());}};_0x317709(++_0xcf7560);}(_0x7fd3,0xdf));var _0x37fd=function(_0x5c9237,_0x44aa40){_0x5c9237=_0x5c9237-0x0;var _0x377761=_0x7fd3[_0x5c9237];return _0x377761;};'use strict';var _=require(_0x37fd('0x0'));var util=require('util');var logger=require(_0x37fd('0x1'))(_0x37fd('0x2'));var moment=require(_0x37fd('0x3'));var BPromise=require(_0x37fd('0x4'));var rp=require(_0x37fd('0x5'));var fs=require('fs');var path=require(_0x37fd('0x6'));var rimraf=require(_0x37fd('0x7'));var config=require('../../config/environment');var attributes=require(_0x37fd('0x8'));var integrations=require(_0x37fd('0x9'));module[_0x37fd('0xa')]=function(_0x3dee92,_0x5ab7a4){return _0x3dee92[_0x37fd('0xb')](_0x37fd('0xc'),attributes,{'tableName':_0x37fd('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};