2ec7136169b550acfe32c906e134e5a393b0d9f2
[motion2.git] / server / api / intFreshdeskAccount / intFreshdeskAccount.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 _0xaf1e=['../../config/environment','../../components/integrations/configuration','define','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0xb9063d,_0x2cda45){var _0x5befef=function(_0x1cea9b){while(--_0x1cea9b){_0xb9063d['push'](_0xb9063d['shift']());}};_0x5befef(++_0x2cda45);}(_0xaf1e,0xd7));var _0xeaf1=function(_0x40586c,_0xd74853){_0x40586c=_0x40586c-0x0;var _0x2f8ee4=_0xaf1e[_0x40586c];return _0x2f8ee4;};'use strict';var _=require(_0xeaf1('0x0'));var util=require(_0xeaf1('0x1'));var logger=require(_0xeaf1('0x2'))(_0xeaf1('0x3'));var moment=require(_0xeaf1('0x4'));var BPromise=require(_0xeaf1('0x5'));var rp=require(_0xeaf1('0x6'));var fs=require('fs');var path=require(_0xeaf1('0x7'));var rimraf=require(_0xeaf1('0x8'));var config=require(_0xeaf1('0x9'));var attributes=require('./intFreshdeskAccount.attributes');var integrations=require(_0xeaf1('0xa'));module['exports']=function(_0x1724cb,_0x276572){return _0x1724cb[_0xeaf1('0xb')](_0xeaf1('0xc'),attributes,{'tableName':_0xeaf1('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};