Built motion from commit d5e4af8c.|2.6.23
[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 _0x837b=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','exports','define','lodash','util','../../config/logger','api'];(function(_0x13d07a,_0x41efc3){var _0x5ee0ee=function(_0x4ca94a){while(--_0x4ca94a){_0x13d07a['push'](_0x13d07a['shift']());}};_0x5ee0ee(++_0x41efc3);}(_0x837b,0x1b6));var _0xb837=function(_0x3b83ad,_0x51290d){_0x3b83ad=_0x3b83ad-0x0;var _0x20e6fd=_0x837b[_0x3b83ad];return _0x20e6fd;};'use strict';var _=require(_0xb837('0x0'));var util=require(_0xb837('0x1'));var logger=require(_0xb837('0x2'))(_0xb837('0x3'));var moment=require(_0xb837('0x4'));var BPromise=require(_0xb837('0x5'));var rp=require(_0xb837('0x6'));var fs=require('fs');var path=require(_0xb837('0x7'));var rimraf=require(_0xb837('0x8'));var config=require(_0xb837('0x9'));var attributes=require(_0xb837('0xa'));var integrations=require('../../components/integrations/configuration');module[_0xb837('0xb')]=function(_0x4344fa,_0x41b1cd){return _0x4344fa[_0xb837('0xc')]('FreshdeskAccount',attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};