36593044c5ba2f6f649852e08f850c7e8ee70464
[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 _0x1eb6=['define','FreshdeskConfiguration','int_freshdesk_configurations','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./intFreshdeskConfiguration.attributes','exports'];(function(_0xdb9c8f,_0x122f98){var _0x36da45=function(_0x4833ff){while(--_0x4833ff){_0xdb9c8f['push'](_0xdb9c8f['shift']());}};_0x36da45(++_0x122f98);}(_0x1eb6,0xf5));var _0x61eb=function(_0x2802c9,_0x4801ec){_0x2802c9=_0x2802c9-0x0;var _0x2f3a71=_0x1eb6[_0x2802c9];return _0x2f3a71;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x61eb('0x0'))(_0x61eb('0x1'));var moment=require('moment');var BPromise=require(_0x61eb('0x2'));var rp=require(_0x61eb('0x3'));var fs=require('fs');var path=require(_0x61eb('0x4'));var rimraf=require('rimraf');var config=require(_0x61eb('0x5'));var attributes=require(_0x61eb('0x6'));module[_0x61eb('0x7')]=function(_0x396352,_0x3a8897){return _0x396352[_0x61eb('0x8')](_0x61eb('0x9'),attributes,{'tableName':_0x61eb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};