9435c47b8c5d18b3e6e7918cc5124c087da2bb0a
[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 _0x97c8=['remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','exports','name','username'];(function(_0x49405d,_0x2d08bf){var _0x588320=function(_0x3523e4){while(--_0x3523e4){_0x49405d['push'](_0x49405d['shift']());}};_0x588320(++_0x2d08bf);}(_0x97c8,0xee));var _0x897c=function(_0x23c262,_0x74765a){_0x23c262=_0x23c262-0x0;var _0x9b913f=_0x97c8[_0x23c262];return _0x9b913f;};'use strict';function DeskAccount(_0x4f6977){this['id']=_0x4f6977['id']||0x0;this['name']=_0x4f6977[_0x897c('0x0')]||'';this['username']=_0x4f6977[_0x897c('0x1')]||'';this[_0x897c('0x2')]=_0x4f6977[_0x897c('0x2')]||'';this[_0x897c('0x3')]=_0x4f6977[_0x897c('0x3')]||'';this['password']=_0x4f6977[_0x897c('0x4')]||'';this[_0x897c('0x5')]=_0x4f6977[_0x897c('0x5')]||'';this[_0x897c('0x6')]=_0x4f6977['consumerSecret']||'';this[_0x897c('0x7')]=_0x4f6977[_0x897c('0x7')]||'';this['tokenSecret']=_0x4f6977[_0x897c('0x8')]||'';this[_0x897c('0x9')]=_0x4f6977['type']||'';this[_0x897c('0xa')]=_0x4f6977['serverUrl']||'';this['Configurations']=_0x4f6977['Configurations']||{};}module[_0x897c('0xb')]=DeskAccount;