Built motion from commit 4ca75f1b.|2.6.28
[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 _0x94f2=['./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x40ac5e,_0x2de228){var _0x2839d6=function(_0x123d47){while(--_0x123d47){_0x40ac5e['push'](_0x40ac5e['shift']());}};_0x2839d6(++_0x2de228);}(_0x94f2,0x6d));var _0x294f=function(_0x50b2ad,_0x5f0d95){_0x50b2ad=_0x50b2ad-0x0;var _0x50034b=_0x94f2[_0x50b2ad];return _0x50034b;};'use strict';var _=require(_0x294f('0x0'));var util=require(_0x294f('0x1'));var logger=require(_0x294f('0x2'))('api');var moment=require(_0x294f('0x3'));var BPromise=require(_0x294f('0x4'));var rp=require(_0x294f('0x5'));var fs=require('fs');var path=require(_0x294f('0x6'));var rimraf=require('rimraf');var config=require(_0x294f('0x7'));var attributes=require(_0x294f('0x8'));var integrations=require(_0x294f('0x9'));module[_0x294f('0xa')]=function(_0x12f1b2,_0x3a955f){return _0x12f1b2[_0x294f('0xb')](_0x294f('0xc'),attributes,{'tableName':'int_freshdesk_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};