Built motion from commit b5996064.|2.6.21
[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 _0x7ac1=['int_freshdesk_configurations','lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','exports','FreshdeskConfiguration'];(function(_0x1cc8fe,_0x105328){var _0x230054=function(_0x1a1b56){while(--_0x1a1b56){_0x1cc8fe['push'](_0x1cc8fe['shift']());}};_0x230054(++_0x105328);}(_0x7ac1,0x91));var _0x17ac=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x7ac1[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x17ac('0x0'));var util=require(_0x17ac('0x1'));var logger=require(_0x17ac('0x2'))(_0x17ac('0x3'));var moment=require('moment');var BPromise=require(_0x17ac('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x17ac('0x5'));var rimraf=require(_0x17ac('0x6'));var config=require(_0x17ac('0x7'));var attributes=require(_0x17ac('0x8'));module[_0x17ac('0x9')]=function(_0x1ca72f,_0x4ce531){return _0x1ca72f['define'](_0x17ac('0xa'),attributes,{'tableName':_0x17ac('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};