01755c12fe49194da452ce55ff9cb8a2e9b45b75
[motion2.git] / server / services / ami / model / deskAccount.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 _0x21c4=['password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','exports','name','username','remoteUri','authType'];(function(_0x4f7bff,_0x2416cd){var _0x4bf992=function(_0x383a07){while(--_0x383a07){_0x4f7bff['push'](_0x4f7bff['shift']());}};_0x4bf992(++_0x2416cd);}(_0x21c4,0x18f));var _0x421c=function(_0xf56b46,_0x4e32e8){_0xf56b46=_0xf56b46-0x0;var _0x583cea=_0x21c4[_0xf56b46];return _0x583cea;};'use strict';function DeskAccount(_0x48fa20){this['id']=_0x48fa20['id']||0x0;this[_0x421c('0x0')]=_0x48fa20[_0x421c('0x0')]||'';this['username']=_0x48fa20[_0x421c('0x1')]||'';this[_0x421c('0x2')]=_0x48fa20[_0x421c('0x2')]||'';this[_0x421c('0x3')]=_0x48fa20[_0x421c('0x3')]||'';this[_0x421c('0x4')]=_0x48fa20[_0x421c('0x4')]||'';this[_0x421c('0x5')]=_0x48fa20['consumerKey']||'';this[_0x421c('0x6')]=_0x48fa20[_0x421c('0x6')]||'';this['token']=_0x48fa20[_0x421c('0x7')]||'';this[_0x421c('0x8')]=_0x48fa20[_0x421c('0x8')]||'';this['type']=_0x48fa20[_0x421c('0x9')]||'';this[_0x421c('0xa')]=_0x48fa20['serverUrl']||'';this[_0x421c('0xb')]=_0x48fa20[_0x421c('0xb')]||{};}module[_0x421c('0xc')]=DeskAccount;