Built motion from commit (unavailable).|2.5.25
[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 _0x49d6=['define','FreshdeskAccount','util','api','moment','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','exports'];(function(_0x447307,_0x1fb963){var _0x5a278e=function(_0x558002){while(--_0x558002){_0x447307['push'](_0x447307['shift']());}};_0x5a278e(++_0x1fb963);}(_0x49d6,0x12b));var _0x649d=function(_0x6b50a0,_0x818c30){_0x6b50a0=_0x6b50a0-0x0;var _0x376eb5=_0x49d6[_0x6b50a0];return _0x376eb5;};'use strict';var _=require('lodash');var util=require(_0x649d('0x0'));var logger=require('../../config/logger')(_0x649d('0x1'));var moment=require(_0x649d('0x2'));var BPromise=require('bluebird');var rp=require(_0x649d('0x3'));var fs=require('fs');var path=require(_0x649d('0x4'));var rimraf=require(_0x649d('0x5'));var config=require(_0x649d('0x6'));var attributes=require(_0x649d('0x7'));var integrations=require('../../components/integrations/configuration');module[_0x649d('0x8')]=function(_0x556245,_0x1d5603){return _0x556245[_0x649d('0x9')](_0x649d('0xa'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};