84fab259f325e9fdbe8747fa84db5860a31c7731
[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 _0x8e57=['username','password','token','remoteUri','authType','type','serverUrl','Configurations','name'];(function(_0x38c24b,_0x5a4734){var _0x4f8737=function(_0x4da2ee){while(--_0x4da2ee){_0x38c24b['push'](_0x38c24b['shift']());}};_0x4f8737(++_0x5a4734);}(_0x8e57,0xe0));var _0x78e5=function(_0x259496,_0x14cd9e){_0x259496=_0x259496-0x0;var _0xaa4801=_0x8e57[_0x259496];return _0xaa4801;};'use strict';function ZendeskAccount(_0x5b9fa4){this['id']=_0x5b9fa4['id']||0x0;this[_0x78e5('0x0')]=_0x5b9fa4['name']||'';this['username']=_0x5b9fa4[_0x78e5('0x1')]||'';this['password']=_0x5b9fa4[_0x78e5('0x2')]||'';this['token']=_0x5b9fa4[_0x78e5('0x3')]||'';this[_0x78e5('0x4')]=_0x5b9fa4[_0x78e5('0x4')]||'';this[_0x78e5('0x5')]=_0x5b9fa4[_0x78e5('0x5')]||'';this[_0x78e5('0x6')]=_0x5b9fa4[_0x78e5('0x6')]||'integrationTab';this[_0x78e5('0x7')]=_0x5b9fa4['serverUrl']||'';this[_0x78e5('0x8')]=_0x5b9fa4['Configurations']||{};}module['exports']=ZendeskAccount;