af4f146745847318d2f435cf0f873487c86f4e69
[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 _0x9ede=['consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','exports','name','username','remoteUri','authType','password'];(function(_0x26aafc,_0x11e67d){var _0x5d4451=function(_0x40965e){while(--_0x40965e){_0x26aafc['push'](_0x26aafc['shift']());}};_0x5d4451(++_0x11e67d);}(_0x9ede,0x119));var _0xe9ed=function(_0x5d27b5,_0xe7d767){_0x5d27b5=_0x5d27b5-0x0;var _0x14bb9f=_0x9ede[_0x5d27b5];return _0x14bb9f;};'use strict';function DeskAccount(_0x1c0f10){this['id']=_0x1c0f10['id']||0x0;this['name']=_0x1c0f10[_0xe9ed('0x0')]||'';this[_0xe9ed('0x1')]=_0x1c0f10['username']||'';this[_0xe9ed('0x2')]=_0x1c0f10[_0xe9ed('0x2')]||'';this[_0xe9ed('0x3')]=_0x1c0f10[_0xe9ed('0x3')]||'';this[_0xe9ed('0x4')]=_0x1c0f10['password']||'';this[_0xe9ed('0x5')]=_0x1c0f10[_0xe9ed('0x5')]||'';this[_0xe9ed('0x6')]=_0x1c0f10['consumerSecret']||'';this[_0xe9ed('0x7')]=_0x1c0f10[_0xe9ed('0x7')]||'';this[_0xe9ed('0x8')]=_0x1c0f10[_0xe9ed('0x8')]||'';this[_0xe9ed('0x9')]=_0x1c0f10[_0xe9ed('0x9')]||'';this['serverUrl']=_0x1c0f10[_0xe9ed('0xa')]||'';this[_0xe9ed('0xb')]=_0x1c0f10['Configurations']||{};}module[_0xe9ed('0xc')]=DeskAccount;