Built motion from commit b5413ace.|2.6.9
[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 _0x4bf4=['define','FreshdeskAccount','int_freshdesk_accounts','lodash','moment','request-promise','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports'];(function(_0x435d49,_0xe63b56){var _0x40a43d=function(_0x427d95){while(--_0x427d95){_0x435d49['push'](_0x435d49['shift']());}};_0x40a43d(++_0xe63b56);}(_0x4bf4,0x143));var _0x44bf=function(_0x419b48,_0x50065a){_0x419b48=_0x419b48-0x0;var _0x23994e=_0x4bf4[_0x419b48];return _0x23994e;};'use strict';var _=require(_0x44bf('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x44bf('0x1'));var BPromise=require('bluebird');var rp=require(_0x44bf('0x2'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x44bf('0x3'));var attributes=require(_0x44bf('0x4'));var integrations=require(_0x44bf('0x5'));module[_0x44bf('0x6')]=function(_0x4a5799,_0x3e73c3){return _0x4a5799[_0x44bf('0x7')](_0x44bf('0x8'),attributes,{'tableName':_0x44bf('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};