2b2c88e781233265b3562b2e646c6753b0b5700c
[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 _0x22b2=['util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x553829,_0x5655b3){var _0x41ab7f=function(_0x62d4f7){while(--_0x62d4f7){_0x553829['push'](_0x553829['shift']());}};_0x41ab7f(++_0x5655b3);}(_0x22b2,0xf0));var _0x222b=function(_0x8a2891,_0x53db20){_0x8a2891=_0x8a2891-0x0;var _0x34bfb5=_0x22b2[_0x8a2891];return _0x34bfb5;};'use strict';var _=require('lodash');var util=require(_0x222b('0x0'));var logger=require(_0x222b('0x1'))('api');var moment=require(_0x222b('0x2'));var BPromise=require(_0x222b('0x3'));var rp=require(_0x222b('0x4'));var fs=require('fs');var path=require(_0x222b('0x5'));var rimraf=require(_0x222b('0x6'));var config=require(_0x222b('0x7'));var attributes=require('./intFreshdeskAccount.attributes');var integrations=require('../../components/integrations/configuration');module[_0x222b('0x8')]=function(_0x3a55de,_0x5d903a){return _0x3a55de[_0x222b('0x9')]('FreshdeskAccount',attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};