3870384eebee3261615511d13ea790690a91b1a9
[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 _0x02c4=['username','remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','exports','name'];(function(_0x1eafdf,_0x3bf016){var _0x4c7914=function(_0x531ac5){while(--_0x531ac5){_0x1eafdf['push'](_0x1eafdf['shift']());}};_0x4c7914(++_0x3bf016);}(_0x02c4,0xb5));var _0x402c=function(_0x17df41,_0x1819ad){_0x17df41=_0x17df41-0x0;var _0x5205a6=_0x02c4[_0x17df41];return _0x5205a6;};'use strict';function DeskAccount(_0x520236){this['id']=_0x520236['id']||0x0;this[_0x402c('0x0')]=_0x520236['name']||'';this[_0x402c('0x1')]=_0x520236[_0x402c('0x1')]||'';this[_0x402c('0x2')]=_0x520236['remoteUri']||'';this[_0x402c('0x3')]=_0x520236[_0x402c('0x3')]||'';this[_0x402c('0x4')]=_0x520236['password']||'';this[_0x402c('0x5')]=_0x520236[_0x402c('0x5')]||'';this[_0x402c('0x6')]=_0x520236[_0x402c('0x6')]||'';this[_0x402c('0x7')]=_0x520236[_0x402c('0x7')]||'';this['tokenSecret']=_0x520236[_0x402c('0x8')]||'';this[_0x402c('0x9')]=_0x520236[_0x402c('0x9')]||'';this['serverUrl']=_0x520236[_0x402c('0xa')]||'';this[_0x402c('0xb')]=_0x520236[_0x402c('0xb')]||{};}module[_0x402c('0xc')]=DeskAccount;