// Copyright 2019 getensh.com. All rights reserved. // Use of this source code is governed by getensh.com. package apis type ManagementGetMerchantIdsReq struct { } type MerchantInfo struct { Id int64 `json:"id"` Name string `json:"name"` } type ManagementGetMerchantIdsReply struct { Infos []MerchantInfo `json:"infos"` } type ManagementGetMerchantApiIdReq struct { MerchantChildApiId int64 `json:"merchant_child_api_id"` } type ManagementGetMerchantApiIdReply struct { MerchantDataApiId int64 `json:"merchant_data_api_id"` } type ProviderCountInfo struct { ProviderApiId int64 `json:"provider_api_id"` CountType int `json:"count_type"` CountKey string `json:"count_key"` CountValue string `json:"count_value"` ProviderName string `json:"provider_name"` ProviderApiName string `json:"provider_api_name"` } type ManagementGetProviderCountInfoReq struct { } type ManagementGetProviderCountInfoReply struct { Infos []ProviderCountInfo `json:"infos"` } type ManagementGetProviderIdsReq struct { } type ProviderIds struct { ProviderName string `json:"provider_name"` ProviderId int64 `json:"provider_api_id"` } type ManagementGetProviderIdsReply struct { Infos []ProviderIds `json:"infos"` } type BaseApiShowInfo struct { ApiId int64 `json:"api_id"` IsShow bool `json:"is_show"` } type ManagementGetApiShowInfoReq struct { } type ManagementGetApiShowInfoReply struct { Infos []BaseApiShowInfo `json:"infos"` } type ManagementGetMerchantApiTimeoutReq struct { } type MerchantApiTimeoutInfo struct { MerchantDataApiId int64 `json:"merchant_data_api_id"` ApiId int64 `json:"api_id"` Timeout int `json:"timeout"` } type ManagementGetMerchantApiTimeoutReply struct { Infos []MerchantApiTimeoutInfo `json:"infos"` } type GetApiThresholdReq struct { ApiId int64 `json:"api_id"` Type int `json:"type" description:"0 api 1 provider"` } type GetApiThresholdReply struct { WarningEnable bool `json:"warning_enable"` ThresholdTimeout int `json:"threshold_timeout"` ThresholdFailRate float64 `json:"threshold_fail_rate"` ThresholdNorecordRate float64 `json:"threshold_norecord_rage"` } type MangementGetUserMerchantCountCodeReq struct { } type UserMerchantCountCode struct { ApiId int64 `json:"api_id"` MerchantDataApiId int64 `merchant_data_api_id` CountCode string `json:"count_code"` ComboType int `json:"combo_type"` CountType int `json:"count_type"` Count int `json:"count"` DayUsed int `json:"day_used"` Remain int `json:"remain"` } type MangementGetUserMerchantCountCodeReply struct { UserMerchantCountCode []UserMerchantCountCode `json:"user_merchant_count_code"` }