a90258e922ba826b42be50a294ace007eecbdb86
[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 _0x64f5=['authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','exports','username','remoteUri'];(function(_0x442d1f,_0x360994){var _0x20ed3c=function(_0x469019){while(--_0x469019){_0x442d1f['push'](_0x442d1f['shift']());}};_0x20ed3c(++_0x360994);}(_0x64f5,0x17e));var _0x564f=function(_0x40b201,_0x1d0cca){_0x40b201=_0x40b201-0x0;var _0x2e8dc5=_0x64f5[_0x40b201];return _0x2e8dc5;};'use strict';function DeskAccount(_0x3a60ff){this['id']=_0x3a60ff['id']||0x0;this['name']=_0x3a60ff['name']||'';this['username']=_0x3a60ff[_0x564f('0x0')]||'';this['remoteUri']=_0x3a60ff[_0x564f('0x1')]||'';this[_0x564f('0x2')]=_0x3a60ff['authType']||'';this[_0x564f('0x3')]=_0x3a60ff[_0x564f('0x3')]||'';this[_0x564f('0x4')]=_0x3a60ff[_0x564f('0x4')]||'';this[_0x564f('0x5')]=_0x3a60ff['consumerSecret']||'';this[_0x564f('0x6')]=_0x3a60ff[_0x564f('0x6')]||'';this[_0x564f('0x7')]=_0x3a60ff[_0x564f('0x7')]||'';this[_0x564f('0x8')]=_0x3a60ff[_0x564f('0x8')]||'';this[_0x564f('0x9')]=_0x3a60ff[_0x564f('0x9')]||'';this[_0x564f('0xa')]=_0x3a60ff[_0x564f('0xa')]||{};}module[_0x564f('0xb')]=DeskAccount;