4558a3999b6651013f4d6cca1b010d9ad74315b8
[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 _0x725a=['util','../../config/logger','moment','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','exports','define','FreshdeskAccount'];(function(_0x372742,_0x11a632){var _0xf3e30b=function(_0x28714f){while(--_0x28714f){_0x372742['push'](_0x372742['shift']());}};_0xf3e30b(++_0x11a632);}(_0x725a,0x1d6));var _0xa725=function(_0x4390f7,_0x38b36f){_0x4390f7=_0x4390f7-0x0;var _0x322888=_0x725a[_0x4390f7];return _0x322888;};'use strict';var _=require('lodash');var util=require(_0xa725('0x0'));var logger=require(_0xa725('0x1'))('api');var moment=require(_0xa725('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xa725('0x3'));var rimraf=require(_0xa725('0x4'));var config=require(_0xa725('0x5'));var attributes=require(_0xa725('0x6'));var integrations=require('../../components/integrations/configuration');module[_0xa725('0x7')]=function(_0x508a07,_0x221eb3){return _0x508a07[_0xa725('0x8')](_0xa725('0x9'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};