Built motion from commit da24aabd.|2.6.20
[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 _0x3926=['bluebird','request-promise','../../config/environment','./intFreshdeskAccount.attributes','exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','moment'];(function(_0xabcfca,_0x3b29c9){var _0x4102b5=function(_0x4e304e){while(--_0x4e304e){_0xabcfca['push'](_0xabcfca['shift']());}};_0x4102b5(++_0x3b29c9);}(_0x3926,0x128));var _0x6392=function(_0x4e9628,_0x250573){_0x4e9628=_0x4e9628-0x0;var _0x27bc8c=_0x3926[_0x4e9628];return _0x27bc8c;};'use strict';var _=require(_0x6392('0x0'));var util=require(_0x6392('0x1'));var logger=require(_0x6392('0x2'))('api');var moment=require(_0x6392('0x3'));var BPromise=require(_0x6392('0x4'));var rp=require(_0x6392('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6392('0x6'));var attributes=require(_0x6392('0x7'));var integrations=require('../../components/integrations/configuration');module[_0x6392('0x8')]=function(_0x151e94,_0xc91959){return _0x151e94[_0x6392('0x9')](_0x6392('0xa'),attributes,{'tableName':_0x6392('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};