330c4b46d5620228b4e52bc8cfecf1ebce6a0e55
[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 _0xefd8=['../../config/environment','./intFreshdeskAccount.attributes','exports','FreshdeskAccount','int_freshdesk_accounts','util','../../config/logger','api','moment'];(function(_0x5b75bf,_0x1e5192){var _0x1c8d51=function(_0x3ec97d){while(--_0x3ec97d){_0x5b75bf['push'](_0x5b75bf['shift']());}};_0x1c8d51(++_0x1e5192);}(_0xefd8,0x1eb));var _0x8efd=function(_0x4375fb,_0x22650a){_0x4375fb=_0x4375fb-0x0;var _0x445a97=_0xefd8[_0x4375fb];return _0x445a97;};'use strict';var _=require('lodash');var util=require(_0x8efd('0x0'));var logger=require(_0x8efd('0x1'))(_0x8efd('0x2'));var moment=require(_0x8efd('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x8efd('0x4'));var attributes=require(_0x8efd('0x5'));var integrations=require('../../components/integrations/configuration');module[_0x8efd('0x6')]=function(_0x2cdf96,_0x227612){return _0x2cdf96['define'](_0x8efd('0x7'),attributes,{'tableName':_0x8efd('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};