57ae7b342025092785f1efb1c7bc8c242236b924
[motion2.git] / server / api / intFreshdeskConfiguration / intFreshdeskConfiguration.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 _0x29de=['api','moment','rimraf','./intFreshdeskConfiguration.attributes','define','FreshdeskConfiguration','int_freshdesk_configurations','lodash','../../config/logger'];(function(_0x4b1697,_0x205fe0){var _0x3189b1=function(_0x2b6baa){while(--_0x2b6baa){_0x4b1697['push'](_0x4b1697['shift']());}};_0x3189b1(++_0x205fe0);}(_0x29de,0x181));var _0xe29d=function(_0x1a9d11,_0x44dd6d){_0x1a9d11=_0x1a9d11-0x0;var _0x2ed0de=_0x29de[_0x1a9d11];return _0x2ed0de;};'use strict';var _=require(_0xe29d('0x0'));var util=require('util');var logger=require(_0xe29d('0x1'))(_0xe29d('0x2'));var moment=require(_0xe29d('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe29d('0x4'));var config=require('../../config/environment');var attributes=require(_0xe29d('0x5'));module['exports']=function(_0x3df9f4,_0x7799ec){return _0x3df9f4[_0xe29d('0x6')](_0xe29d('0x7'),attributes,{'tableName':_0xe29d('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};