248530a471eb48a3c63ca5dce10421ee19de97c7
[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 _0xdc61=['serverUrl','Configurations','exports','username','remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type'];(function(_0x476419,_0x565de7){var _0x37d8cf=function(_0x29ea8f){while(--_0x29ea8f){_0x476419['push'](_0x476419['shift']());}};_0x37d8cf(++_0x565de7);}(_0xdc61,0x7b));var _0x1dc6=function(_0x3f9336,_0x4471ec){_0x3f9336=_0x3f9336-0x0;var _0x1cbb82=_0xdc61[_0x3f9336];return _0x1cbb82;};'use strict';function DeskAccount(_0x1834b2){this['id']=_0x1834b2['id']||0x0;this['name']=_0x1834b2['name']||'';this['username']=_0x1834b2[_0x1dc6('0x0')]||'';this[_0x1dc6('0x1')]=_0x1834b2['remoteUri']||'';this[_0x1dc6('0x2')]=_0x1834b2['authType']||'';this[_0x1dc6('0x3')]=_0x1834b2[_0x1dc6('0x3')]||'';this[_0x1dc6('0x4')]=_0x1834b2['consumerKey']||'';this[_0x1dc6('0x5')]=_0x1834b2['consumerSecret']||'';this[_0x1dc6('0x6')]=_0x1834b2[_0x1dc6('0x6')]||'';this[_0x1dc6('0x7')]=_0x1834b2[_0x1dc6('0x7')]||'';this[_0x1dc6('0x8')]=_0x1834b2['type']||'';this[_0x1dc6('0x9')]=_0x1834b2[_0x1dc6('0x9')]||'';this[_0x1dc6('0xa')]=_0x1834b2['Configurations']||{};}module[_0x1dc6('0xb')]=DeskAccount;