Built motion from commit 775e2a94.|2.6.3
[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 _0xcf65=['api','bluebird','request-promise','path','../../config/environment','./intFreshdeskConfiguration.attributes','exports','FreshdeskConfiguration','int_freshdesk_configurations','lodash','util','../../config/logger'];(function(_0x4cacfc,_0x56dfe0){var _0xffb88c=function(_0x3023b7){while(--_0x3023b7){_0x4cacfc['push'](_0x4cacfc['shift']());}};_0xffb88c(++_0x56dfe0);}(_0xcf65,0x105));var _0x5cf6=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0xcf65[_0x4b369d];return _0x571a98;};'use strict';var _=require(_0x5cf6('0x0'));var util=require(_0x5cf6('0x1'));var logger=require(_0x5cf6('0x2'))(_0x5cf6('0x3'));var moment=require('moment');var BPromise=require(_0x5cf6('0x4'));var rp=require(_0x5cf6('0x5'));var fs=require('fs');var path=require(_0x5cf6('0x6'));var rimraf=require('rimraf');var config=require(_0x5cf6('0x7'));var attributes=require(_0x5cf6('0x8'));module[_0x5cf6('0x9')]=function(_0x1e4c42,_0x580780){return _0x1e4c42['define'](_0x5cf6('0xa'),attributes,{'tableName':_0x5cf6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};