Built motion from commit 9e1399f3.|2.5.37
[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 _0x7c21=['./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x397f37,_0x3cf86d){var _0x31cae6=function(_0x5cddb9){while(--_0x5cddb9){_0x397f37['push'](_0x397f37['shift']());}};_0x31cae6(++_0x3cf86d);}(_0x7c21,0x180));var _0x17c2=function(_0x583b11,_0x24e2f0){_0x583b11=_0x583b11-0x0;var _0x400108=_0x7c21[_0x583b11];return _0x400108;};'use strict';var _=require(_0x17c2('0x0'));var util=require('util');var logger=require(_0x17c2('0x1'))(_0x17c2('0x2'));var moment=require(_0x17c2('0x3'));var BPromise=require('bluebird');var rp=require(_0x17c2('0x4'));var fs=require('fs');var path=require(_0x17c2('0x5'));var rimraf=require(_0x17c2('0x6'));var config=require(_0x17c2('0x7'));var attributes=require(_0x17c2('0x8'));var integrations=require(_0x17c2('0x9'));module[_0x17c2('0xa')]=function(_0x31f116,_0x2e31af){return _0x31f116[_0x17c2('0xb')](_0x17c2('0xc'),attributes,{'tableName':_0x17c2('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};