Built motion from commit 8356fca3.|2.6.19
[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 _0xce82=['FreshdeskAccount','int_freshdesk_accounts','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','define'];(function(_0x3797e0,_0x55e8be){var _0x412f20=function(_0x1ee16f){while(--_0x1ee16f){_0x3797e0['push'](_0x3797e0['shift']());}};_0x412f20(++_0x55e8be);}(_0xce82,0x13a));var _0x2ce8=function(_0x17963b,_0x21fbea){_0x17963b=_0x17963b-0x0;var _0x3faa26=_0xce82[_0x17963b];return _0x3faa26;};'use strict';var _=require(_0x2ce8('0x0'));var util=require(_0x2ce8('0x1'));var logger=require('../../config/logger')(_0x2ce8('0x2'));var moment=require(_0x2ce8('0x3'));var BPromise=require(_0x2ce8('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2ce8('0x5'));var rimraf=require(_0x2ce8('0x6'));var config=require(_0x2ce8('0x7'));var attributes=require(_0x2ce8('0x8'));var integrations=require(_0x2ce8('0x9'));module['exports']=function(_0x48349a,_0x13cc78){return _0x48349a[_0x2ce8('0xa')](_0x2ce8('0xb'),attributes,{'tableName':_0x2ce8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};