Built motion from commit 994c64e1.|2.6.1
[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 _0x9694=['request-promise','path','rimraf','./intFreshdeskAccount.attributes','exports','define','FreshdeskAccount','util','moment'];(function(_0x473738,_0x15ea31){var _0x1df4ae=function(_0x417a72){while(--_0x417a72){_0x473738['push'](_0x473738['shift']());}};_0x1df4ae(++_0x15ea31);}(_0x9694,0xf1));var _0x4969=function(_0x5c0de9,_0x3345ab){_0x5c0de9=_0x5c0de9-0x0;var _0x4c3b7e=_0x9694[_0x5c0de9];return _0x4c3b7e;};'use strict';var _=require('lodash');var util=require(_0x4969('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x4969('0x1'));var BPromise=require('bluebird');var rp=require(_0x4969('0x2'));var fs=require('fs');var path=require(_0x4969('0x3'));var rimraf=require(_0x4969('0x4'));var config=require('../../config/environment');var attributes=require(_0x4969('0x5'));var integrations=require('../../components/integrations/configuration');module[_0x4969('0x6')]=function(_0x272356,_0x36d2c1){return _0x272356[_0x4969('0x7')](_0x4969('0x8'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};