Built motion from commit bab6f49e.|2.6.17
[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 _0xf17f=['request-promise','../../config/environment','./intFreshdeskConfiguration.attributes','exports','FreshdeskConfiguration','int_freshdesk_configurations','lodash','../../config/logger','moment'];(function(_0x5f2ba6,_0x2af357){var _0x5ac3de=function(_0x177861){while(--_0x177861){_0x5f2ba6['push'](_0x5f2ba6['shift']());}};_0x5ac3de(++_0x2af357);}(_0xf17f,0x165));var _0xff17=function(_0xf2726b,_0x87deb7){_0xf2726b=_0xf2726b-0x0;var _0xa61a5=_0xf17f[_0xf2726b];return _0xa61a5;};'use strict';var _=require(_0xff17('0x0'));var util=require('util');var logger=require(_0xff17('0x1'))('api');var moment=require(_0xff17('0x2'));var BPromise=require('bluebird');var rp=require(_0xff17('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xff17('0x4'));var attributes=require(_0xff17('0x5'));module[_0xff17('0x6')]=function(_0x179cd0,_0x5944de){return _0x179cd0['define'](_0xff17('0x7'),attributes,{'tableName':_0xff17('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};