144c6f1a1f510f4f9c01dd88a4e0bdb113df7aaa
[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 _0xd9fc=['request-promise','path','rimraf','define','FreshdeskConfiguration','int_freshdesk_configurations','util','../../config/logger','api','bluebird'];(function(_0x3099d1,_0x1a25ac){var _0x21f15b=function(_0x5682f2){while(--_0x5682f2){_0x3099d1['push'](_0x3099d1['shift']());}};_0x21f15b(++_0x1a25ac);}(_0xd9fc,0x15a));var _0xcd9f=function(_0x298de6,_0x2fdcf6){_0x298de6=_0x298de6-0x0;var _0x2292f7=_0xd9fc[_0x298de6];return _0x2292f7;};'use strict';var _=require('lodash');var util=require(_0xcd9f('0x0'));var logger=require(_0xcd9f('0x1'))(_0xcd9f('0x2'));var moment=require('moment');var BPromise=require(_0xcd9f('0x3'));var rp=require(_0xcd9f('0x4'));var fs=require('fs');var path=require(_0xcd9f('0x5'));var rimraf=require(_0xcd9f('0x6'));var config=require('../../config/environment');var attributes=require('./intFreshdeskConfiguration.attributes');module['exports']=function(_0x1feaba,_0x1913b1){return _0x1feaba[_0xcd9f('0x7')](_0xcd9f('0x8'),attributes,{'tableName':_0xcd9f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};