d784b42e61bdfc9caf37f2b0b553cd619b07b7ef
[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 _0x37a7=['exports','name','remoteUri','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations'];(function(_0x3a99f4,_0x2a81c1){var _0xea0b42=function(_0x41f533){while(--_0x41f533){_0x3a99f4['push'](_0x3a99f4['shift']());}};_0xea0b42(++_0x2a81c1);}(_0x37a7,0x6f));var _0x737a=function(_0x15813a,_0x2ea69b){_0x15813a=_0x15813a-0x0;var _0x462a66=_0x37a7[_0x15813a];return _0x462a66;};'use strict';function DeskAccount(_0x5c2d69){this['id']=_0x5c2d69['id']||0x0;this[_0x737a('0x0')]=_0x5c2d69['name']||'';this['username']=_0x5c2d69['username']||'';this[_0x737a('0x1')]=_0x5c2d69[_0x737a('0x1')]||'';this['authType']=_0x5c2d69['authType']||'';this['password']=_0x5c2d69[_0x737a('0x2')]||'';this[_0x737a('0x3')]=_0x5c2d69[_0x737a('0x3')]||'';this[_0x737a('0x4')]=_0x5c2d69[_0x737a('0x4')]||'';this['token']=_0x5c2d69[_0x737a('0x5')]||'';this[_0x737a('0x6')]=_0x5c2d69[_0x737a('0x6')]||'';this[_0x737a('0x7')]=_0x5c2d69['type']||'';this[_0x737a('0x8')]=_0x5c2d69[_0x737a('0x8')]||'';this['Configurations']=_0x5c2d69[_0x737a('0x9')]||{};}module[_0x737a('0xa')]=DeskAccount;