7ff8dc8689ffbde8397602977cd39a9764643414
[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 _0x0322=['type','serverUrl','Configurations','exports','username','remoteUri','password','consumerKey','consumerSecret','token','tokenSecret'];(function(_0x36eaaa,_0x326732){var _0x461349=function(_0x4e4180){while(--_0x4e4180){_0x36eaaa['push'](_0x36eaaa['shift']());}};_0x461349(++_0x326732);}(_0x0322,0x1a6));var _0x2032=function(_0x301101,_0x2162b2){_0x301101=_0x301101-0x0;var _0x3890d4=_0x0322[_0x301101];return _0x3890d4;};'use strict';function DeskAccount(_0x534ec1){this['id']=_0x534ec1['id']||0x0;this['name']=_0x534ec1['name']||'';this['username']=_0x534ec1[_0x2032('0x0')]||'';this[_0x2032('0x1')]=_0x534ec1['remoteUri']||'';this['authType']=_0x534ec1['authType']||'';this[_0x2032('0x2')]=_0x534ec1[_0x2032('0x2')]||'';this[_0x2032('0x3')]=_0x534ec1['consumerKey']||'';this[_0x2032('0x4')]=_0x534ec1[_0x2032('0x4')]||'';this['token']=_0x534ec1[_0x2032('0x5')]||'';this[_0x2032('0x6')]=_0x534ec1[_0x2032('0x6')]||'';this['type']=_0x534ec1[_0x2032('0x7')]||'';this[_0x2032('0x8')]=_0x534ec1[_0x2032('0x8')]||'';this[_0x2032('0x9')]=_0x534ec1[_0x2032('0x9')]||{};}module[_0x2032('0xa')]=DeskAccount;