Built motion from commit 5b761a7b.|2.5.36
[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 _0x4ed1=['define','FreshdeskConfiguration','int_freshdesk_configurations','moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','exports'];(function(_0x4419aa,_0x2eac06){var _0xe2e770=function(_0x34ed10){while(--_0x34ed10){_0x4419aa['push'](_0x4419aa['shift']());}};_0xe2e770(++_0x2eac06);}(_0x4ed1,0xc9));var _0x14ed=function(_0x1c3c1a,_0x5af848){_0x1c3c1a=_0x1c3c1a-0x0;var _0x3744f8=_0x4ed1[_0x1c3c1a];return _0x3744f8;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x14ed('0x0'));var BPromise=require(_0x14ed('0x1'));var rp=require(_0x14ed('0x2'));var fs=require('fs');var path=require(_0x14ed('0x3'));var rimraf=require(_0x14ed('0x4'));var config=require(_0x14ed('0x5'));var attributes=require(_0x14ed('0x6'));module[_0x14ed('0x7')]=function(_0x524914,_0x5514f4){return _0x524914[_0x14ed('0x8')](_0x14ed('0x9'),attributes,{'tableName':_0x14ed('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};