de68c1c302d9597a1260cf9e89134099c0207c32
[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 _0x21c7=['serverUrl','Configurations','exports','name','remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type'];(function(_0x3d86f5,_0x257914){var _0x2d6881=function(_0x2d912e){while(--_0x2d912e){_0x3d86f5['push'](_0x3d86f5['shift']());}};_0x2d6881(++_0x257914);}(_0x21c7,0x93));var _0x721c=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x21c7[_0x3dd15e];return _0x231fd0;};'use strict';function DeskAccount(_0x45962c){this['id']=_0x45962c['id']||0x0;this['name']=_0x45962c[_0x721c('0x0')]||'';this['username']=_0x45962c['username']||'';this['remoteUri']=_0x45962c[_0x721c('0x1')]||'';this[_0x721c('0x2')]=_0x45962c['authType']||'';this['password']=_0x45962c[_0x721c('0x3')]||'';this[_0x721c('0x4')]=_0x45962c[_0x721c('0x4')]||'';this[_0x721c('0x5')]=_0x45962c[_0x721c('0x5')]||'';this[_0x721c('0x6')]=_0x45962c[_0x721c('0x6')]||'';this[_0x721c('0x7')]=_0x45962c['tokenSecret']||'';this[_0x721c('0x8')]=_0x45962c[_0x721c('0x8')]||'';this[_0x721c('0x9')]=_0x45962c[_0x721c('0x9')]||'';this[_0x721c('0xa')]=_0x45962c[_0x721c('0xa')]||{};}module[_0x721c('0xb')]=DeskAccount;