aafa9c97e867c04142033f5fabc28ff0fe923ed2
[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 _0xd9b4=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./intFreshdeskAccount.attributes','../../components/integrations/configuration','exports','define','FreshdeskAccount','int_freshdesk_accounts','lodash','util','../../config/logger','api'];(function(_0x16ca19,_0x207670){var _0xdb8dd3=function(_0x3792ed){while(--_0x3792ed){_0x16ca19['push'](_0x16ca19['shift']());}};_0xdb8dd3(++_0x207670);}(_0xd9b4,0x12c));var _0x4d9b=function(_0xc91901,_0x16041d){_0xc91901=_0xc91901-0x0;var _0x45ded1=_0xd9b4[_0xc91901];return _0x45ded1;};'use strict';var _=require(_0x4d9b('0x0'));var util=require(_0x4d9b('0x1'));var logger=require(_0x4d9b('0x2'))(_0x4d9b('0x3'));var moment=require(_0x4d9b('0x4'));var BPromise=require(_0x4d9b('0x5'));var rp=require(_0x4d9b('0x6'));var fs=require('fs');var path=require(_0x4d9b('0x7'));var rimraf=require(_0x4d9b('0x8'));var config=require(_0x4d9b('0x9'));var attributes=require(_0x4d9b('0xa'));var integrations=require(_0x4d9b('0xb'));module[_0x4d9b('0xc')]=function(_0x2db3d7,_0x1d8294){return _0x2db3d7[_0x4d9b('0xd')](_0x4d9b('0xe'),attributes,{'tableName':_0x4d9b('0xf'),'paranoid':![],'indexes':[],'timestamps':!![]});};