6ef5051d83cb7684741f02984ddd170b3c631355
[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 _0x5c52=['Configurations','exports','name','username','authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl'];(function(_0x316904,_0x1e8b77){var _0xfa9a21=function(_0x2b75ae){while(--_0x2b75ae){_0x316904['push'](_0x316904['shift']());}};_0xfa9a21(++_0x1e8b77);}(_0x5c52,0x1d6));var _0x25c5=function(_0x179915,_0xd7353f){_0x179915=_0x179915-0x0;var _0x3c1849=_0x5c52[_0x179915];return _0x3c1849;};'use strict';function DeskAccount(_0xbaa0bd){this['id']=_0xbaa0bd['id']||0x0;this[_0x25c5('0x0')]=_0xbaa0bd['name']||'';this[_0x25c5('0x1')]=_0xbaa0bd['username']||'';this['remoteUri']=_0xbaa0bd['remoteUri']||'';this[_0x25c5('0x2')]=_0xbaa0bd['authType']||'';this['password']=_0xbaa0bd[_0x25c5('0x3')]||'';this[_0x25c5('0x4')]=_0xbaa0bd[_0x25c5('0x4')]||'';this[_0x25c5('0x5')]=_0xbaa0bd[_0x25c5('0x5')]||'';this['token']=_0xbaa0bd[_0x25c5('0x6')]||'';this[_0x25c5('0x7')]=_0xbaa0bd['tokenSecret']||'';this['type']=_0xbaa0bd[_0x25c5('0x8')]||'';this['serverUrl']=_0xbaa0bd[_0x25c5('0x9')]||'';this[_0x25c5('0xa')]=_0xbaa0bd[_0x25c5('0xa')]||{};}module[_0x25c5('0xb')]=DeskAccount;