8d733c17caa90ce6e621c7a5b16b404c692f60b6
[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 _0x7bc8=['FreshdeskConfiguration','int_freshdesk_configurations','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./intFreshdeskConfiguration.attributes','exports','define'];(function(_0x2bb66c,_0x36c6c6){var _0x1e0f98=function(_0x1e3412){while(--_0x1e3412){_0x2bb66c['push'](_0x2bb66c['shift']());}};_0x1e0f98(++_0x36c6c6);}(_0x7bc8,0xab));var _0x87bc=function(_0x91ff52,_0x2cde3c){_0x91ff52=_0x91ff52-0x0;var _0x37d193=_0x7bc8[_0x91ff52];return _0x37d193;};'use strict';var _=require(_0x87bc('0x0'));var util=require(_0x87bc('0x1'));var logger=require(_0x87bc('0x2'))(_0x87bc('0x3'));var moment=require(_0x87bc('0x4'));var BPromise=require(_0x87bc('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x87bc('0x6'));var config=require(_0x87bc('0x7'));var attributes=require(_0x87bc('0x8'));module[_0x87bc('0x9')]=function(_0x1b7bc1,_0x572b48){return _0x1b7bc1[_0x87bc('0xa')](_0x87bc('0xb'),attributes,{'tableName':_0x87bc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};