19d98983b52b65deddfca8697303e4aacc39ad1e
[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 _0xb008=['exports','FreshdeskConfiguration','int_freshdesk_configurations','lodash','util','api','moment','request-promise','rimraf','../../config/environment'];(function(_0x4f6f84,_0x31e197){var _0x20d989=function(_0x34db70){while(--_0x34db70){_0x4f6f84['push'](_0x4f6f84['shift']());}};_0x20d989(++_0x31e197);}(_0xb008,0xdf));var _0x8b00=function(_0x1b5689,_0x36d5b6){_0x1b5689=_0x1b5689-0x0;var _0x53295d=_0xb008[_0x1b5689];return _0x53295d;};'use strict';var _=require(_0x8b00('0x0'));var util=require(_0x8b00('0x1'));var logger=require('../../config/logger')(_0x8b00('0x2'));var moment=require(_0x8b00('0x3'));var BPromise=require('bluebird');var rp=require(_0x8b00('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8b00('0x5'));var config=require(_0x8b00('0x6'));var attributes=require('./intFreshdeskConfiguration.attributes');module[_0x8b00('0x7')]=function(_0x49c38b,_0x24bccc){return _0x49c38b['define'](_0x8b00('0x8'),attributes,{'tableName':_0x8b00('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};