Built motion from commit 00bf23f6.|2.6.16
[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 _0x8a46=['authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','name','username'];(function(_0x263a74,_0xc31414){var _0x2aa86c=function(_0x382896){while(--_0x382896){_0x263a74['push'](_0x263a74['shift']());}};_0x2aa86c(++_0xc31414);}(_0x8a46,0xb9));var _0x68a4=function(_0x34f720,_0x548792){_0x34f720=_0x34f720-0x0;var _0x415c9=_0x8a46[_0x34f720];return _0x415c9;};'use strict';function DeskAccount(_0x5a00b3){this['id']=_0x5a00b3['id']||0x0;this[_0x68a4('0x0')]=_0x5a00b3[_0x68a4('0x0')]||'';this['username']=_0x5a00b3[_0x68a4('0x1')]||'';this['remoteUri']=_0x5a00b3['remoteUri']||'';this[_0x68a4('0x2')]=_0x5a00b3['authType']||'';this['password']=_0x5a00b3[_0x68a4('0x3')]||'';this[_0x68a4('0x4')]=_0x5a00b3[_0x68a4('0x4')]||'';this[_0x68a4('0x5')]=_0x5a00b3[_0x68a4('0x5')]||'';this[_0x68a4('0x6')]=_0x5a00b3['token']||'';this[_0x68a4('0x7')]=_0x5a00b3[_0x68a4('0x7')]||'';this['type']=_0x5a00b3[_0x68a4('0x8')]||'';this[_0x68a4('0x9')]=_0x5a00b3[_0x68a4('0x9')]||'';this[_0x68a4('0xa')]=_0x5a00b3[_0x68a4('0xa')]||{};}module['exports']=DeskAccount;