77102971293712349ed5cd2afbb89de4cdfd725c
[motion2.git] / server / services / ami / model / zendeskAccount.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 _0x2a08=['name','username','password','token','remoteUri','authType','type','serverUrl','Configurations'];(function(_0x1d83bf,_0x203f1d){var _0x4cd824=function(_0x33d116){while(--_0x33d116){_0x1d83bf['push'](_0x1d83bf['shift']());}};_0x4cd824(++_0x203f1d);}(_0x2a08,0xcf));var _0x82a0=function(_0x465028,_0x4570ac){_0x465028=_0x465028-0x0;var _0xb783d4=_0x2a08[_0x465028];return _0xb783d4;};'use strict';function ZendeskAccount(_0x3254fb){this['id']=_0x3254fb['id']||0x0;this['name']=_0x3254fb[_0x82a0('0x0')]||'';this[_0x82a0('0x1')]=_0x3254fb[_0x82a0('0x1')]||'';this[_0x82a0('0x2')]=_0x3254fb[_0x82a0('0x2')]||'';this[_0x82a0('0x3')]=_0x3254fb[_0x82a0('0x3')]||'';this['remoteUri']=_0x3254fb[_0x82a0('0x4')]||'';this['authType']=_0x3254fb[_0x82a0('0x5')]||'';this[_0x82a0('0x6')]=_0x3254fb[_0x82a0('0x6')]||'integrationTab';this[_0x82a0('0x7')]=_0x3254fb['serverUrl']||'';this[_0x82a0('0x8')]=_0x3254fb['Configurations']||{};}module['exports']=ZendeskAccount;