2e9df2768ae03db86ece955236b4af24ed2fb8f4
[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 _0x1256=['remoteUri','authType','password','consumerKey','consumerSecret','token','tokenSecret','type','serverUrl','Configurations','exports','name','username'];(function(_0x5c0de5,_0x30df16){var _0x4a612c=function(_0x18e870){while(--_0x18e870){_0x5c0de5['push'](_0x5c0de5['shift']());}};_0x4a612c(++_0x30df16);}(_0x1256,0x1ab));var _0x6125=function(_0x381730,_0x195ecd){_0x381730=_0x381730-0x0;var _0x1d577a=_0x1256[_0x381730];return _0x1d577a;};'use strict';function DeskAccount(_0x24b8ac){this['id']=_0x24b8ac['id']||0x0;this['name']=_0x24b8ac[_0x6125('0x0')]||'';this[_0x6125('0x1')]=_0x24b8ac[_0x6125('0x1')]||'';this[_0x6125('0x2')]=_0x24b8ac['remoteUri']||'';this[_0x6125('0x3')]=_0x24b8ac[_0x6125('0x3')]||'';this['password']=_0x24b8ac[_0x6125('0x4')]||'';this[_0x6125('0x5')]=_0x24b8ac['consumerKey']||'';this['consumerSecret']=_0x24b8ac[_0x6125('0x6')]||'';this[_0x6125('0x7')]=_0x24b8ac[_0x6125('0x7')]||'';this[_0x6125('0x8')]=_0x24b8ac[_0x6125('0x8')]||'';this[_0x6125('0x9')]=_0x24b8ac[_0x6125('0x9')]||'';this['serverUrl']=_0x24b8ac[_0x6125('0xa')]||'';this[_0x6125('0xb')]=_0x24b8ac[_0x6125('0xb')]||{};}module[_0x6125('0xc')]=DeskAccount;