Built motion from commit b5413ace.|2.6.9
[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 _0xa4a7=['Configurations','exports','name','username','remoteUri','authType','password','consumerKey','token','tokenSecret','type','serverUrl'];(function(_0x357f1c,_0x23d447){var _0x1c5e5b=function(_0x2f40de){while(--_0x2f40de){_0x357f1c['push'](_0x357f1c['shift']());}};_0x1c5e5b(++_0x23d447);}(_0xa4a7,0x1ca));var _0x7a4a=function(_0x301d37,_0x503152){_0x301d37=_0x301d37-0x0;var _0x39e95c=_0xa4a7[_0x301d37];return _0x39e95c;};'use strict';function DeskAccount(_0xaa91df){this['id']=_0xaa91df['id']||0x0;this[_0x7a4a('0x0')]=_0xaa91df['name']||'';this['username']=_0xaa91df[_0x7a4a('0x1')]||'';this['remoteUri']=_0xaa91df[_0x7a4a('0x2')]||'';this[_0x7a4a('0x3')]=_0xaa91df[_0x7a4a('0x3')]||'';this[_0x7a4a('0x4')]=_0xaa91df[_0x7a4a('0x4')]||'';this[_0x7a4a('0x5')]=_0xaa91df[_0x7a4a('0x5')]||'';this['consumerSecret']=_0xaa91df['consumerSecret']||'';this[_0x7a4a('0x6')]=_0xaa91df['token']||'';this[_0x7a4a('0x7')]=_0xaa91df['tokenSecret']||'';this[_0x7a4a('0x8')]=_0xaa91df[_0x7a4a('0x8')]||'';this['serverUrl']=_0xaa91df[_0x7a4a('0x9')]||'';this[_0x7a4a('0xa')]=_0xaa91df['Configurations']||{};}module[_0x7a4a('0xb')]=DeskAccount;