0201fcc08796fc86ef3583b856f2d5ad146a9bd5
[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 _0x5b5a=['name','username','remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','exports'];(function(_0x44601e,_0xdda273){var _0x44b89f=function(_0xa0fdfa){while(--_0xa0fdfa){_0x44601e['push'](_0x44601e['shift']());}};_0x44b89f(++_0xdda273);}(_0x5b5a,0xc3));var _0xa5b5=function(_0x19e9a7,_0x57e686){_0x19e9a7=_0x19e9a7-0x0;var _0x3a8442=_0x5b5a[_0x19e9a7];return _0x3a8442;};'use strict';function DeskAccount(_0x3fdff1){this['id']=_0x3fdff1['id']||0x0;this[_0xa5b5('0x0')]=_0x3fdff1[_0xa5b5('0x0')]||'';this['username']=_0x3fdff1[_0xa5b5('0x1')]||'';this[_0xa5b5('0x2')]=_0x3fdff1[_0xa5b5('0x2')]||'';this[_0xa5b5('0x3')]=_0x3fdff1[_0xa5b5('0x3')]||'';this[_0xa5b5('0x4')]=_0x3fdff1[_0xa5b5('0x4')]||'';this[_0xa5b5('0x5')]=_0x3fdff1['consumerKey']||'';this[_0xa5b5('0x6')]=_0x3fdff1[_0xa5b5('0x6')]||'';this['token']=_0x3fdff1[_0xa5b5('0x7')]||'';this[_0xa5b5('0x8')]=_0x3fdff1[_0xa5b5('0x8')]||'';this[_0xa5b5('0x9')]=_0x3fdff1[_0xa5b5('0x9')]||'';this[_0xa5b5('0xa')]=_0x3fdff1[_0xa5b5('0xa')]||'';this[_0xa5b5('0xb')]=_0x3fdff1[_0xa5b5('0xb')]||{};}module[_0xa5b5('0xc')]=DeskAccount;