efcd6633cf475f1521cbd4f8eed778f23416e4d7
[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 _0xed94=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','exports','define','int_freshdesk_configurations'];(function(_0x2b93e1,_0x10e1d3){var _0x40f612=function(_0x1dd6c0){while(--_0x1dd6c0){_0x2b93e1['push'](_0x2b93e1['shift']());}};_0x40f612(++_0x10e1d3);}(_0xed94,0x6e));var _0x4ed9=function(_0x34e747,_0x173163){_0x34e747=_0x34e747-0x0;var _0x200a90=_0xed94[_0x34e747];return _0x200a90;};'use strict';var _=require(_0x4ed9('0x0'));var util=require(_0x4ed9('0x1'));var logger=require(_0x4ed9('0x2'))(_0x4ed9('0x3'));var moment=require(_0x4ed9('0x4'));var BPromise=require(_0x4ed9('0x5'));var rp=require(_0x4ed9('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4ed9('0x7'));var attributes=require('./intFreshdeskConfiguration.attributes');module[_0x4ed9('0x8')]=function(_0x1e025c,_0x5b5366){return _0x1e025c[_0x4ed9('0x9')]('FreshdeskConfiguration',attributes,{'tableName':_0x4ed9('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};