ba2572ee14bc56d261c0542e5baaed8d20bb328a
[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 _0xb13a=['exports','define','FreshdeskConfiguration','int_freshdesk_configurations','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes'];(function(_0x5534b7,_0xbe6ba4){var _0x34af05=function(_0x2f8d94){while(--_0x2f8d94){_0x5534b7['push'](_0x5534b7['shift']());}};_0x34af05(++_0xbe6ba4);}(_0xb13a,0x10e));var _0xab13=function(_0x35ce8b,_0x2df0a2){_0x35ce8b=_0x35ce8b-0x0;var _0x3ef115=_0xb13a[_0x35ce8b];return _0x3ef115;};'use strict';var _=require(_0xab13('0x0'));var util=require(_0xab13('0x1'));var logger=require(_0xab13('0x2'))(_0xab13('0x3'));var moment=require(_0xab13('0x4'));var BPromise=require(_0xab13('0x5'));var rp=require(_0xab13('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xab13('0x7'));var config=require(_0xab13('0x8'));var attributes=require(_0xab13('0x9'));module[_0xab13('0xa')]=function(_0x1f2ec7,_0x23d8c1){return _0x1f2ec7[_0xab13('0xb')](_0xab13('0xc'),attributes,{'tableName':_0xab13('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};