Built motion from commit (unavailable).|2.5.31
[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 _0xb2cf=['util','../../config/logger','api','moment','bluebird','path','../../config/environment','exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash'];(function(_0x449158,_0x44e1b0){var _0x1f3c3a=function(_0x5f1053){while(--_0x5f1053){_0x449158['push'](_0x449158['shift']());}};_0x1f3c3a(++_0x44e1b0);}(_0xb2cf,0x197));var _0xfb2c=function(_0x34ec0d,_0x543b27){_0x34ec0d=_0x34ec0d-0x0;var _0x5d0765=_0xb2cf[_0x34ec0d];return _0x5d0765;};'use strict';var _=require(_0xfb2c('0x0'));var util=require(_0xfb2c('0x1'));var logger=require(_0xfb2c('0x2'))(_0xfb2c('0x3'));var moment=require(_0xfb2c('0x4'));var BPromise=require(_0xfb2c('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfb2c('0x6'));var rimraf=require('rimraf');var config=require(_0xfb2c('0x7'));var attributes=require('./intFreshdeskAccount.attributes');var integrations=require('../../components/integrations/configuration');module[_0xfb2c('0x8')]=function(_0x4186a7,_0x11009d){return _0x4186a7[_0xfb2c('0x9')](_0xfb2c('0xa'),attributes,{'tableName':_0xfb2c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};