084ab9f90cb3b3a59ea3d8107fe15ab1d52426cc
[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 _0xaf33=['name','username','remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations'];(function(_0xcb2bc6,_0x4897b1){var _0x393010=function(_0x2b35c9){while(--_0x2b35c9){_0xcb2bc6['push'](_0xcb2bc6['shift']());}};_0x393010(++_0x4897b1);}(_0xaf33,0x78));var _0x3af3=function(_0x1d991c,_0x38857f){_0x1d991c=_0x1d991c-0x0;var _0x424471=_0xaf33[_0x1d991c];return _0x424471;};'use strict';function DeskAccount(_0x54fe4d){this['id']=_0x54fe4d['id']||0x0;this[_0x3af3('0x0')]=_0x54fe4d['name']||'';this[_0x3af3('0x1')]=_0x54fe4d[_0x3af3('0x1')]||'';this['remoteUri']=_0x54fe4d[_0x3af3('0x2')]||'';this[_0x3af3('0x3')]=_0x54fe4d['authType']||'';this[_0x3af3('0x4')]=_0x54fe4d[_0x3af3('0x4')]||'';this[_0x3af3('0x5')]=_0x54fe4d[_0x3af3('0x5')]||'';this[_0x3af3('0x6')]=_0x54fe4d[_0x3af3('0x6')]||'';this[_0x3af3('0x7')]=_0x54fe4d[_0x3af3('0x7')]||'';this[_0x3af3('0x8')]=_0x54fe4d['tokenSecret']||'';this[_0x3af3('0x9')]=_0x54fe4d[_0x3af3('0x9')]||'';this[_0x3af3('0xa')]=_0x54fe4d[_0x3af3('0xa')]||'';this[_0x3af3('0xb')]=_0x54fe4d['Configurations']||{};}module['exports']=DeskAccount;