[create-pull-request] automated change (#153)

Co-authored-by: joshuaspence <joshuaspence@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-07-07 10:26:53 +10:00
committed by GitHub
parent f5d09c88a9
commit 513ba5f266
2 changed files with 20 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ type SettingGuestAccess struct {
AllowedSubnet string `json:"allowed_subnet_,omitempty"` AllowedSubnet string `json:"allowed_subnet_,omitempty"`
Auth string `json:"auth,omitempty"` // none|hotspot|facebook_wifi|custom Auth string `json:"auth,omitempty"` // none|hotspot|facebook_wifi|custom
AuthorizeUseSandbox bool `json:"authorize_use_sandbox"`
CustomIP string `json:"custom_ip"` // ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$ CustomIP string `json:"custom_ip"` // ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$
EcEnabled bool `json:"ec_enabled"` EcEnabled bool `json:"ec_enabled"`
Expire string `json:"expire,omitempty"` // [\d]+|custom Expire string `json:"expire,omitempty"` // [\d]+|custom
@@ -40,13 +41,16 @@ type SettingGuestAccess struct {
FacebookWifiBlockHttps bool `json:"facebook_wifi_block_https"` FacebookWifiBlockHttps bool `json:"facebook_wifi_block_https"`
FacebookWifiGwID string `json:"facebook_wifi_gw_id"` FacebookWifiGwID string `json:"facebook_wifi_gw_id"`
FacebookWifiGwName string `json:"facebook_wifi_gw_name,omitempty"` FacebookWifiGwName string `json:"facebook_wifi_gw_name,omitempty"`
Gateway string `json:"gateway,omitempty"` // stripe Gateway string `json:"gateway,omitempty"` // paypal|stripe|authorize|quickpay|merchantwarrior|ippay
GoogleClientID string `json:"google_client_id"` GoogleClientID string `json:"google_client_id"`
GoogleDomain string `json:"google_domain,omitempty"` GoogleDomain string `json:"google_domain,omitempty"`
GoogleEnabled bool `json:"google_enabled"` GoogleEnabled bool `json:"google_enabled"`
GoogleScopeEmail bool `json:"google_scope_email"` GoogleScopeEmail bool `json:"google_scope_email"`
IPpayUseSandbox bool `json:"ippay_use_sandbox"`
MerchantwarriorUseSandbox bool `json:"merchantwarrior_use_sandbox"`
PasswordEnabled bool `json:"password_enabled"` PasswordEnabled bool `json:"password_enabled"`
PaymentEnabled bool `json:"payment_enabled"` PaymentEnabled bool `json:"payment_enabled"`
PaypalUseSandbox bool `json:"paypal_use_sandbox"`
PortalCustomized bool `json:"portal_customized"` PortalCustomized bool `json:"portal_customized"`
PortalCustomizedAuthenticationText string `json:"portal_customized_authentication_text,omitempty"` PortalCustomizedAuthenticationText string `json:"portal_customized_authentication_text,omitempty"`
PortalCustomizedBgColor string `json:"portal_customized_bg_color"` // ^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$ PortalCustomizedBgColor string `json:"portal_customized_bg_color"` // ^#[a-zA-Z0-9]{6}$|^#[a-zA-Z0-9]{3}$|^$
@@ -81,6 +85,7 @@ type SettingGuestAccess struct {
PortalEnabled bool `json:"portal_enabled"` PortalEnabled bool `json:"portal_enabled"`
PortalHostname string `json:"portal_hostname"` // ^[a-zA-Z0-9.-]+$|^$ PortalHostname string `json:"portal_hostname"` // ^[a-zA-Z0-9.-]+$|^$
PortalUseHostname bool `json:"portal_use_hostname"` PortalUseHostname bool `json:"portal_use_hostname"`
QuickpayTestmode bool `json:"quickpay_testmode"`
RADIUSAuthType string `json:"radius_auth_type,omitempty"` // chap|mschapv2 RADIUSAuthType string `json:"radius_auth_type,omitempty"` // chap|mschapv2
RADIUSDisconnectEnabled bool `json:"radius_disconnect_enabled"` RADIUSDisconnectEnabled bool `json:"radius_disconnect_enabled"`
RADIUSDisconnectPort int `json:"radius_disconnect_port,omitempty"` // [1-9][0-9]{0,3}|[1-5][0-9]{4}|[6][0-4][0-9]{3}|[6][5][0-4][0-9]{2}|[6][5][5][0-2][0-9]|[6][5][5][3][0-5] RADIUSDisconnectPort int `json:"radius_disconnect_port,omitempty"` // [1-9][0-9]{0,3}|[1-5][0-9]{4}|[6][0-4][0-9]{3}|[6][5][0-4][0-9]{2}|[6][5][5][0-2][0-9]|[6][5][5][3][0-5]
@@ -99,10 +104,22 @@ type SettingGuestAccess struct {
WechatAppID string `json:"wechat_app_id"` WechatAppID string `json:"wechat_app_id"`
WechatEnabled bool `json:"wechat_enabled"` WechatEnabled bool `json:"wechat_enabled"`
WechatShopID string `json:"wechat_shop_id"` WechatShopID string `json:"wechat_shop_id"`
XAuthorizeLoginid string `json:"x_authorize_loginid,omitempty"`
XAuthorizeTransactionkey string `json:"x_authorize_transactionkey,omitempty"`
XFacebookAppSecret string `json:"x_facebook_app_secret,omitempty"` XFacebookAppSecret string `json:"x_facebook_app_secret,omitempty"`
XFacebookWifiGwSecret string `json:"x_facebook_wifi_gw_secret,omitempty"` XFacebookWifiGwSecret string `json:"x_facebook_wifi_gw_secret,omitempty"`
XGoogleClientSecret string `json:"x_google_client_secret,omitempty"` XGoogleClientSecret string `json:"x_google_client_secret,omitempty"`
XIPpayTerminalid string `json:"x_ippay_terminalid,omitempty"`
XMerchantwarriorApikey string `json:"x_merchantwarrior_apikey,omitempty"`
XMerchantwarriorApipassphrase string `json:"x_merchantwarrior_apipassphrase,omitempty"`
XMerchantwarriorMerchantuuid string `json:"x_merchantwarrior_merchantuuid,omitempty"`
XPassword string `json:"x_password,omitempty"` XPassword string `json:"x_password,omitempty"`
XPaypalPassword string `json:"x_paypal_password,omitempty"`
XPaypalSignature string `json:"x_paypal_signature,omitempty"`
XPaypalUsername string `json:"x_paypal_username,omitempty"`
XQuickpayAgreementid string `json:"x_quickpay_agreementid,omitempty"`
XQuickpayApikey string `json:"x_quickpay_apikey,omitempty"`
XQuickpayMerchantid string `json:"x_quickpay_merchantid,omitempty"`
XStripeApiKey string `json:"x_stripe_api_key,omitempty"` XStripeApiKey string `json:"x_stripe_api_key,omitempty"`
XWechatAppSecret string `json:"x_wechat_app_secret,omitempty"` XWechatAppSecret string `json:"x_wechat_app_secret,omitempty"`
XWechatSecretKey string `json:"x_wechat_secret_key,omitempty"` XWechatSecretKey string `json:"x_wechat_secret_key,omitempty"`

View File

@@ -2,4 +2,4 @@
package unifi package unifi
const UnifiVersion = "7.4.156" const UnifiVersion = "7.4.162"