Built motion from commit (unavailable).|2.5.4
[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 _0xffbf=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./intFreshdeskAccount.attributes','define','FreshdeskAccount','int_freshdesk_accounts'];(function(_0x2849ba,_0x16c85b){var _0x2c9a7c=function(_0xcb8dc1){while(--_0xcb8dc1){_0x2849ba['push'](_0x2849ba['shift']());}};_0x2c9a7c(++_0x16c85b);}(_0xffbf,0xdc));var _0xfffb=function(_0x2ff909,_0x5608c0){_0x2ff909=_0x2ff909-0x0;var _0x2d4fc5=_0xffbf[_0x2ff909];return _0x2d4fc5;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xfffb('0x0'))(_0xfffb('0x1'));var moment=require(_0xfffb('0x2'));var BPromise=require(_0xfffb('0x3'));var rp=require(_0xfffb('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfffb('0x5'));var config=require(_0xfffb('0x6'));var attributes=require(_0xfffb('0x7'));var integrations=require('../../components/integrations/configuration');module['exports']=function(_0x41d90b,_0x2935d0){return _0x41d90b[_0xfffb('0x8')](_0xfffb('0x9'),attributes,{'tableName':_0xfffb('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};