e000da2d7ece38144e6c46477105401b9f4a2835
[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 _0xc331=['rimraf','../../config/environment','./intFreshdeskAccount.attributes','exports','define','FreshdeskAccount','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x14b8ee,_0x26d31a){var _0x50ef2b=function(_0x27d7bc){while(--_0x27d7bc){_0x14b8ee['push'](_0x14b8ee['shift']());}};_0x50ef2b(++_0x26d31a);}(_0xc331,0x76));var _0x1c33=function(_0x35e947,_0x1ca578){_0x35e947=_0x35e947-0x0;var _0x1b0b80=_0xc331[_0x35e947];return _0x1b0b80;};'use strict';var _=require(_0x1c33('0x0'));var util=require(_0x1c33('0x1'));var logger=require(_0x1c33('0x2'))(_0x1c33('0x3'));var moment=require(_0x1c33('0x4'));var BPromise=require(_0x1c33('0x5'));var rp=require(_0x1c33('0x6'));var fs=require('fs');var path=require(_0x1c33('0x7'));var rimraf=require(_0x1c33('0x8'));var config=require(_0x1c33('0x9'));var attributes=require(_0x1c33('0xa'));var integrations=require('../../components/integrations/configuration');module[_0x1c33('0xb')]=function(_0x17883a,_0x4e66df){return _0x17883a[_0x1c33('0xc')](_0x1c33('0xd'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};