ce1111dbc1e3b581cc9a76f53a3b787f736a4bde
[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 _0x2e1d=['exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration'];(function(_0x14520c,_0x25de6e){var _0x2fa128=function(_0x57b0ca){while(--_0x57b0ca){_0x14520c['push'](_0x14520c['shift']());}};_0x2fa128(++_0x25de6e);}(_0x2e1d,0xc7));var _0xd2e1=function(_0x5e8eae,_0x4f81e0){_0x5e8eae=_0x5e8eae-0x0;var _0xdd09cd=_0x2e1d[_0x5e8eae];return _0xdd09cd;};'use strict';var _=require(_0xd2e1('0x0'));var util=require(_0xd2e1('0x1'));var logger=require(_0xd2e1('0x2'))(_0xd2e1('0x3'));var moment=require(_0xd2e1('0x4'));var BPromise=require(_0xd2e1('0x5'));var rp=require(_0xd2e1('0x6'));var fs=require('fs');var path=require(_0xd2e1('0x7'));var rimraf=require('rimraf');var config=require(_0xd2e1('0x8'));var attributes=require(_0xd2e1('0x9'));var integrations=require(_0xd2e1('0xa'));module[_0xd2e1('0xb')]=function(_0x5396a1,_0x34996e){return _0x5396a1[_0xd2e1('0xc')](_0xd2e1('0xd'),attributes,{'tableName':_0xd2e1('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};