8cc6e0d8c79b98e7d31dc551f82f8c400d90803a
[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 _0x769c=['password','consumerKey','token','tokenSecret','type','serverUrl','exports','name','username','remoteUri','authType'];(function(_0xdf4058,_0x3d913d){var _0x141888=function(_0x52b935){while(--_0x52b935){_0xdf4058['push'](_0xdf4058['shift']());}};_0x141888(++_0x3d913d);}(_0x769c,0x96));var _0xc769=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0x769c[_0x46e363];return _0x3fb059;};'use strict';function DeskAccount(_0x43ea58){this['id']=_0x43ea58['id']||0x0;this['name']=_0x43ea58[_0xc769('0x0')]||'';this[_0xc769('0x1')]=_0x43ea58['username']||'';this['remoteUri']=_0x43ea58[_0xc769('0x2')]||'';this[_0xc769('0x3')]=_0x43ea58[_0xc769('0x3')]||'';this[_0xc769('0x4')]=_0x43ea58['password']||'';this[_0xc769('0x5')]=_0x43ea58[_0xc769('0x5')]||'';this['consumerSecret']=_0x43ea58['consumerSecret']||'';this[_0xc769('0x6')]=_0x43ea58[_0xc769('0x6')]||'';this[_0xc769('0x7')]=_0x43ea58[_0xc769('0x7')]||'';this[_0xc769('0x8')]=_0x43ea58[_0xc769('0x8')]||'';this[_0xc769('0x9')]=_0x43ea58['serverUrl']||'';this['Configurations']=_0x43ea58['Configurations']||{};}module[_0xc769('0xa')]=DeskAccount;