Built motion from commit (unavailable).|2.5.10
[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 _0xfdb4=['request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','lodash','../../config/logger','api','moment'];(function(_0x3054be,_0x1bdc8b){var _0x3df150=function(_0x56cfbf){while(--_0x56cfbf){_0x3054be['push'](_0x3054be['shift']());}};_0x3df150(++_0x1bdc8b);}(_0xfdb4,0x71));var _0x4fdb=function(_0x4d07cc,_0x587613){_0x4d07cc=_0x4d07cc-0x0;var _0x42de3b=_0xfdb4[_0x4d07cc];return _0x42de3b;};'use strict';var _=require(_0x4fdb('0x0'));var util=require('util');var logger=require(_0x4fdb('0x1'))(_0x4fdb('0x2'));var moment=require(_0x4fdb('0x3'));var BPromise=require('bluebird');var rp=require(_0x4fdb('0x4'));var fs=require('fs');var path=require(_0x4fdb('0x5'));var rimraf=require(_0x4fdb('0x6'));var config=require(_0x4fdb('0x7'));var attributes=require(_0x4fdb('0x8'));var integrations=require(_0x4fdb('0x9'));module[_0x4fdb('0xa')]=function(_0xe7dad7,_0x30db83){return _0xe7dad7[_0x4fdb('0xb')](_0x4fdb('0xc'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};