rexTypes

package
v1.0.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtocolHttp  = "http"
	ProtocolHttps = "https"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddSomePolicyReq added in v1.0.22

type AddSomePolicyReq struct {
	Subject string `json:"subject"`
	Object  string `json:"object"`
	Action  string `json:"action"`
}

type AllowCreateModelBucketConfig added in v1.0.22

type AllowCreateModelBucketConfig struct {
	Name         string `json:"name"`
	StorageType  string `json:"storage_type,options=minio|cos|oss|s3|obs"`
	CredentialID int64  `json:"credential_id"`
	BucketName   string `json:"bucket_name"`
	Region       string `json:"region"`
	Prefix       string `json:"prefix"`
	Endpoint     string `json:"endpoint"`
	PublicDomain string `json:"public_domain"`
	Remark       string `json:"remark,optional"`
}

type AllowCreateModelCaptchaConfig added in v1.0.22

type AllowCreateModelCaptchaConfig struct {
	Name      string  `json:"name"`
	DotCount  int32   `json:"dot_count"`
	MaxSkew   float64 `json:"max_skew"`
	KeyLong   int32   `json:"key_long"`
	ImgWidth  int32   `json:"img_width"`
	ImgHeight int32   `json:"img_height"`
}

type AllowCreateModelCredential added in v1.0.22

type AllowCreateModelCredential struct {
	Name            string `json:"name"`
	CredentialType  string `json:"credential_type,options=aliyun|tencent_cloud|huawei_cloud|email|wechat_offiaccount|aws"`
	AccessKeyID     string `json:"access_key_id"`
	SecretAccessKey string `json:"secret_access_key"`
	Remark          string `json:"remark"`
	DefaultRegion   string `json:"default_region"`
	AppID           string `json:"app_id"`
	Endpoint        string `json:"endpoint"`
}

type AllowCreateModelEmsConfig added in v1.0.22

type AllowCreateModelEmsConfig struct {
	Name         string `json:"name"`
	CredentialID int64  `json:"credential_id"`
	SenderName   string `json:"sender_name"`
	Endpoint     string `json:"endpoint"`
	Port         int32  `json:"port"`
	Protocol     string `json:"protocol"`
	Remark       string `json:"remark,optional"`
}

type AllowCreateModelSmsConfig added in v1.0.22

type AllowCreateModelSmsConfig struct {
	Name         string `json:"name"`
	CredentialID int64  `json:"credential_id"`
	Endpoint     string `json:"endpoint"`
	Template     string `json:"template"`
	SignName     string `json:"sign_name"`
	ParamsStr    string `json:"params_str"`
	Remark       string `json:"remark,optional"`
}

type AllowCreateModelWechatConfig added in v1.0.22

type AllowCreateModelWechatConfig struct {
	Name         string `json:"name"`
	AppType      string `json:"app_type,options=official|mini_app"`
	CredentialID int64  `json:"credential_id"`
	GhId         string `json:"gh_id"`
	AppName      string `json:"app_name"`
	Remark       string `json:"remark,optional"`
}

type AllowUpdateDefaultModelBucketConfig added in v1.0.22

type AllowUpdateDefaultModelBucketConfig struct {
	Id int64 `json:"id"`
}

type AllowUpdateDefaultModelCaptchaConfig added in v1.0.22

type AllowUpdateDefaultModelCaptchaConfig struct {
	Id int64 `json:"id"`
}

type AllowUpdateDefaultModelCredential added in v1.0.22

type AllowUpdateDefaultModelCredential struct {
	Id int64 `json:"id"`
}

type AllowUpdateDefaultModelEmsConfig added in v1.0.22

type AllowUpdateDefaultModelEmsConfig struct {
	Id int64 `json:"id"`
}

type AllowUpdateDefaultModelSmsConfig added in v1.0.22

type AllowUpdateDefaultModelSmsConfig struct {
	Id int64 `json:"id"`
}

type AllowUpdateDefaultModelWechatConfig added in v1.0.22

type AllowUpdateDefaultModelWechatConfig struct {
	Id int64 `json:"id"`
}

type AllowUpdateModelBucketConfig added in v1.0.22

type AllowUpdateModelBucketConfig struct {
	Id           int64  `json:"id"`
	Name         string `json:"name,optional"`
	StorageType  string `json:"storage_type,optional,options=minio|cos|oss|s3|obs"`
	CredentialID int64  `json:"credential_id,optional"`
	BucketName   string `json:"bucket_name,optional"`
	Region       string `json:"region,optional"`
	Prefix       string `json:"prefix,optional"`
	Endpoint     string `json:"endpoint,optional"`
	PublicDomain string `json:"public_domain,optional"`
	Remark       string `json:"remark"`
}

type AllowUpdateModelCaptchaConfig added in v1.0.22

type AllowUpdateModelCaptchaConfig struct {
	Id        int64   `json:"id"`
	Name      string  `json:"name,optional"`
	DotCount  int32   `json:"dot_count,optional"`
	MaxSkew   float64 `json:"max_skew,optional"`
	KeyLong   int32   `json:"key_long,optional"`
	ImgWidth  int32   `json:"img_width,optional"`
	ImgHeight int32   `json:"img_height,optional"`
}

type AllowUpdateModelCredential added in v1.0.22

type AllowUpdateModelCredential struct {
	Id              int64  `json:"id"`
	Name            string `json:"name,optional"`
	CredentialType  string `json:"credential_type,optional,options=aliyun|tencent_cloud|huawei_cloud|email|wechat_offiaccount|aws"`
	AccessKeyID     string `json:"access_key_id,optional"`
	SecretAccessKey string `json:"secret_access_key,optional"`
	Remark          string `json:"remark"`
	DefaultRegion   string `json:"default_region"`
	AppID           string `json:"app_id"`
	Endpoint        string `json:"endpoint"`
}

type AllowUpdateModelEmsConfig added in v1.0.22

type AllowUpdateModelEmsConfig struct {
	Id           int64  `json:"id"`
	Name         string `json:"name,optional"`
	CredentialID int64  `json:"credential_id,optional"`
	SenderName   string `json:"sender_name,optional"`
	Endpoint     string `json:"endpoint,optional"`
	Port         int32  `json:"port,optional"`
	Protocol     string `json:"protocol,optional"`
	Remark       string `json:"remark"`
}

type AllowUpdateModelSmsConfig added in v1.0.22

type AllowUpdateModelSmsConfig struct {
	Id           int64  `json:"id"`
	Name         string `json:"name,optional"`
	CredentialID int64  `json:"credential_id,optional"`
	Endpoint     string `json:"endpoint,optional"`
	Template     string `json:"template,optional"`
	SignName     string `json:"sign_name,optional"`
	ParamsStr    string `json:"params_str,optional"`
	Remark       string `json:"remark"`
}

type AllowUpdateModelWechatConfig added in v1.0.22

type AllowUpdateModelWechatConfig struct {
	Id           int64  `json:"id"`
	Name         string `json:"name,optional"`
	AppType      string `json:"app_type,options=official|mini_app,optional"`
	CredentialID int64  `json:"credential_id,optional"`
	GhId         string `json:"gh_id,optional"`
	AppName      string `json:"app_name,optional"`
	Remark       string `json:"remark"`
}

type AllowUpdateStatusModelBucketConfig added in v1.0.22

type AllowUpdateStatusModelBucketConfig struct {
	Id     int64 `json:"id"`
	Status int16 `json:"status"`
}

type AllowUpdateStatusModelCaptchaConfig added in v1.0.22

type AllowUpdateStatusModelCaptchaConfig struct {
	Id     int64 `json:"id"`
	Status int16 `json:"status"`
}

type AllowUpdateStatusModelCredential added in v1.0.22

type AllowUpdateStatusModelCredential struct {
	Id     int64 `json:"id"`
	Status int16 `json:"status"`
}

type AllowUpdateStatusModelEmsConfig added in v1.0.22

type AllowUpdateStatusModelEmsConfig struct {
	Id     int64 `json:"id"`
	Status int16 `json:"status"`
}

type AllowUpdateStatusModelSmsConfig added in v1.0.22

type AllowUpdateStatusModelSmsConfig struct {
	Id     int64 `json:"id"`
	Status int16 `json:"status"`
}

type AllowUpdateStatusModelWechatConfig added in v1.0.22

type AllowUpdateStatusModelWechatConfig struct {
	Id     int64 `json:"id"`
	Status int16 `json:"status"`
}

type ApiCaptchaGenerateReq

type ApiCaptchaGenerateReq struct {
	Key       string  `json:"key,optional"`
	DotCount  int32   `json:"dot_count,optional"`
	MaxSkew   float64 `json:"max_skew,optional"`
	KeyLong   int32   `json:"key_long,optional"`
	ImgWidth  int32   `json:"img_width,optional"`
	ImgHeight int32   `json:"img_height,optional"`
}

type ApiCaptchaGenerateResp

type ApiCaptchaGenerateResp struct {
	Key     string `json:"key,optional,omitempty"`
	Id      string `json:"id,omitempty"`
	Content string `json:"content,omitempty"`
	Answer  string `json:"answer,omitempty"`
	Img     string `json:"img,omitempty"`
}

type ApiCaptchaGenerateRespData

type ApiCaptchaGenerateRespData struct {
	Key     string `json:"key,optional,omitempty"`
	Id      string `json:"id,omitempty"`
	Content string `json:"content,omitempty"`
	Answer  string `json:"answer,omitempty"`
	Img     string `json:"img,omitempty"`
}

type ApiEmsCheckReq added in v1.0.22

type ApiEmsCheckReq struct {
	RequestId string `json:"request_id"`
}

type ApiEmsCheckResp added in v1.0.22

type ApiEmsCheckResp struct {
	RequestId string `json:"request_id"`
	Status    int16  `json:"status"`
	Code      string `json:"code"`
	Message   string `json:"message"`
}

type ApiEmsSendReq added in v1.0.18

type ApiEmsSendReq struct {
	Name           string            `json:"name,optional"`
	Service        string            `json:"service,optional"`
	Scene          string            `json:"scene,optional"`
	RecipientEmail []string          `json:"recipient_email"`
	Cc             []ApiEmsSendReqCc `json:"cc,optional"`
	Subject        string            `json:"subject"`
	SendType       string            `json:"send_type"`
	SendBody       string            `json:"send_body"`
}

type ApiEmsSendReqCc added in v1.0.18

type ApiEmsSendReqCc struct {
	Email string `json:"email"`
	Name  string `json:"name"`
}

type ApiEmsSendResp added in v1.0.18

type ApiEmsSendResp struct {
	RequestId string `json:"request_id"`
}

type ApiEmsSendSyncResp added in v1.0.22

type ApiEmsSendSyncResp struct {
	Code      string `json:"code"`
	Message   string `json:"message"`
	RequestId string `json:"request_id"`
}

type ApiSmsCheckReq added in v1.0.22

type ApiSmsCheckReq struct {
	RequestId string `json:"request_id"`
}

type ApiSmsCheckResp added in v1.0.22

type ApiSmsCheckResp struct {
	RequestId string `json:"request_id"`
	Status    int16  `json:"status"`
	Code      string `json:"code"`
	Message   string `json:"message"`
}

type ApiSmsSendReq

type ApiSmsSendReq struct {
	Name    string   `json:"name,optional"`
	Zone    string   `json:"zone,optional"`
	Mobile  string   `json:"mobile"`
	Params  []string `json:"params,optional"`
	Service string   `json:"service,optional"`
	Scene   string   `json:"scene,optional"`
}

type ApiSmsSendResp

type ApiSmsSendResp struct {
	RequestId string `json:"request_id"`
}

type ApiSmsSendSyncResp added in v1.0.22

type ApiSmsSendSyncResp struct {
	Code      string `json:"code"`
	Message   string `json:"message"`
	RequestId string `json:"request_id"`
}

type BehavioralVerificationInitReq

type BehavioralVerificationInitReq struct {
	Key     string `json:"key,optional"`
	Service string `json:"service"`
	Type    string `json:"type"`
}

type BehavioralVerificationInitResp

type BehavioralVerificationInitResp struct {
	RequestId string `json:"request_id"`
	Id        string `json:"id,omitempty"`
	Content   string `json:"content,omitempty"`
	Answer    string `json:"answer,omitempty"`
	Img       string `json:"img,omitempty"`
}

type BehavioralVerificationVerifyReq

type BehavioralVerificationVerifyReq struct {
	Id         string `json:"id"`
	Service    string `json:"service"`
	Type       string `json:"type"`
	VerifyCode string `json:"verify_code"`
}

type BehavioralVerificationVerifyResp

type BehavioralVerificationVerifyResp struct {
	Result  bool   `json:"result"`
	Code    string `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}

type BucketConfigApiCreateResp added in v1.0.22

type BucketConfigApiCreateResp struct {
	Id int64 `json:"id"`
}

type BucketConfigApiFormIdReq added in v1.0.22

type BucketConfigApiFormIdReq struct {
	Id int64 `form:"id"`
}

type BucketConfigApiFormIdsReq added in v1.0.22

type BucketConfigApiFormIdsReq struct {
	Ids []int64 `form:"ids"`
}

type BucketConfigApiJsonIdReq added in v1.0.22

type BucketConfigApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type BucketConfigApiJsonIdsReq added in v1.0.22

type BucketConfigApiJsonIdsReq struct {
	Ids []int64 `json:"ids"`
}

type BucketConfigApiOKResp added in v1.0.22

type BucketConfigApiOKResp struct {
}

type BucketConfigCommonQueryListResp added in v1.0.22

type BucketConfigCommonQueryListResp struct {
	List     []ModelBucketConfig `json:"list"`
	Total    int64               `json:"total"`
	Page     int32               `json:"page"`
	PageSize int32               `json:"page_size"`
}

type BucketConfigCommonSearchParams added in v1.0.22

type BucketConfigCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int16  `json:"status,optional"`
}

type CaptchaConfigApiCreateResp added in v1.0.22

type CaptchaConfigApiCreateResp struct {
	Id int64 `json:"id"`
}

type CaptchaConfigApiFormIdReq added in v1.0.22

type CaptchaConfigApiFormIdReq struct {
	Id int64 `form:"id"`
}

type CaptchaConfigApiFormIdsReq added in v1.0.22

type CaptchaConfigApiFormIdsReq struct {
	Ids []int64 `form:"ids"`
}

type CaptchaConfigApiJsonIdReq added in v1.0.22

type CaptchaConfigApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type CaptchaConfigApiJsonIdsReq added in v1.0.22

type CaptchaConfigApiJsonIdsReq struct {
	Ids []int64 `json:"ids"`
}

type CaptchaConfigApiOKResp added in v1.0.22

type CaptchaConfigApiOKResp struct {
}

type CaptchaConfigCommonQueryListResp added in v1.0.22

type CaptchaConfigCommonQueryListResp struct {
	List     []ModelCaptchaConfig `json:"list"`
	Total    int64                `json:"total"`
	Page     int32                `json:"page"`
	PageSize int32                `json:"page_size"`
}

type CaptchaConfigCommonSearchParams added in v1.0.22

type CaptchaConfigCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int16  `json:"status,optional"`
}

type CodesReq

type CodesReq struct {
	Lang string `form:"lang,optional" url:"lang"`
	Svc  string `form:"svc,optional" url:"svc"`
}

type CodesResp

type CodesResp struct {
	List     []ModelCode `json:"list"`
	Total    int64       `json:"total"`
	Page     int32       `json:"page"`
	PageSize int32       `json:"page_size"`
}

type CreateExistBucketAndConfigReq

type CreateExistBucketAndConfigReq struct {
	ConfigKey    string `json:"config_key,optional"`
	StorageType  string `json:"storage_type"`
	AppId        string `json:"app_id,optional"`
	AccessKey    string `json:"access_key"`
	AccessSecret string `json:"access_secret"`
	BucketKey    string `json:"bucket_key,optional"`
	Name         string `json:"name"`
	Region       string `json:"region"`
	IsAccelerate int32  `json:"is_accelerate"`
	Prefix       string `json:"prefix"`
	StaticDomain string `json:"static_domain"`
	CdnDomain    string `json:"cdn_domain"`
}

type CreateExistBucketAndConfigResp

type CreateExistBucketAndConfigResp struct {
}

type CreateExistBucketNoConfigReq

type CreateExistBucketNoConfigReq struct {
	ConfigKey    string `json:"config_key,optional"`
	BucketKey    string `json:"bucket_key,optional"`
	Name         string `json:"name"`
	Region       string `json:"region"`
	IsAccelerate int32  `json:"is_accelerate"`
	Prefix       string `json:"prefix"`
	StaticDomain string `json:"static_domain"`
	CdnDomain    string `json:"cdn_domain"`
}

type CreateExistBucketNoConfigResp

type CreateExistBucketNoConfigResp struct {
}

type CredentialApiCreateResp added in v1.0.22

type CredentialApiCreateResp struct {
	Id int64 `json:"id"`
}

type CredentialApiFormIdReq added in v1.0.22

type CredentialApiFormIdReq struct {
	Id int64 `form:"id"`
}

type CredentialApiFormIdsReq added in v1.0.22

type CredentialApiFormIdsReq struct {
	Ids []int64 `form:"ids"`
}

type CredentialApiJsonIdReq added in v1.0.22

type CredentialApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type CredentialApiJsonIdsReq added in v1.0.22

type CredentialApiJsonIdsReq struct {
	Ids []int64 `json:"ids"`
}

type CredentialApiOKResp added in v1.0.22

type CredentialApiOKResp struct {
}

type CredentialCommonQueryListResp added in v1.0.22

type CredentialCommonQueryListResp struct {
	List     []ModelCredential `json:"list"`
	Total    int64             `json:"total"`
	Page     int32             `json:"page"`
	PageSize int32             `json:"page_size"`
}

type CredentialCommonSearchParams added in v1.0.22

type CredentialCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int16  `json:"status,optional"`
}

type EmsConfigApiCreateResp added in v1.0.22

type EmsConfigApiCreateResp struct {
	Id int64 `json:"id"`
}

type EmsConfigApiFormIdReq added in v1.0.22

type EmsConfigApiFormIdReq struct {
	Id int64 `form:"id"`
}

type EmsConfigApiFormIdsReq added in v1.0.22

type EmsConfigApiFormIdsReq struct {
	Ids []int64 `form:"ids"`
}

type EmsConfigApiJsonIdReq added in v1.0.22

type EmsConfigApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type EmsConfigApiJsonIdsReq added in v1.0.22

type EmsConfigApiJsonIdsReq struct {
	Ids []int64 `json:"ids"`
}

type EmsConfigApiOKResp added in v1.0.22

type EmsConfigApiOKResp struct {
}

type EmsConfigCommonQueryListResp added in v1.0.22

type EmsConfigCommonQueryListResp struct {
	List     []ModelEmsConfig `json:"list"`
	Total    int64            `json:"total"`
	Page     int32            `json:"page"`
	PageSize int32            `json:"page_size"`
}

type EmsConfigCommonSearchParams added in v1.0.22

type EmsConfigCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int16  `json:"status,optional"`
}

type EmsInitReq added in v1.0.22

type EmsInitReq struct {
	Key     string `json:"key,optional"`
	Service string `json:"service"`
	Type    string `json:"type"`
	Mail    string `json:"mail"`
}

type EmsInitResp added in v1.0.22

type EmsInitResp struct {
	RequestId string `json:"request_id"`
	Status    string `json:"status"`
}

type EmsVerifyReq added in v1.0.22

type EmsVerifyReq struct {
	Service    string `json:"service"`
	Type       string `json:"type"`
	Mail       string `json:"mail"`
	VerifyCode string `json:"verify_code"`
}

type EmsVerifyResp added in v1.0.22

type EmsVerifyResp struct {
	Result  bool   `json:"result"`
	Code    string `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}

type GetIpMyReq added in v1.0.5

type GetIpMyReq struct {
}

type GetIpQueryReq added in v1.0.5

type GetIpQueryReq struct {
	Ip string `form:"ip"`
}

type GetIpQueryResp added in v1.0.5

type GetIpQueryResp struct {
	IP        string `json:"ip"`         // IP地址
	IPHash    string `json:"ip_hash"`    // IPHash
	Port      string `json:"port"`       // Port
	UserAgent string `json:"user_agent"` // UserAgent
	CityId    int64  `json:"city_id"`    // CityId
	Country   string `json:"country"`    // Country
	Region    string `json:"region"`     // Region
	Province  string `json:"province"`   // Province
	City      string `json:"city"`       // City
	ISP       string `json:"isp"`        // ISP
}

type HealthzResp

type HealthzResp struct {
}

type KmsAkcCreateKeychainReq

type KmsAkcCreateKeychainReq struct {
	KeyType string `json:"key_type,options=RSA|EC|OKP|OCT"`
	Name    string `json:"name"`
	Alg     string `json:"alg,options=ES256|ES256K|ES384|ES512|EdDSA|PS256|PS384|PS512|RS256|RS384|RS512"`
	RsaBits int    `json:"rsa_bits,optional,options=1024|2048|3072|4096|8192"`
}

type KmsAkcCreateKeychainResp

type KmsAkcCreateKeychainResp struct {
	Id        uint32   `json:"id"`
	Jwk       ModelJwk `json:"jwk"`
	PublicKey string   `json:"public_key"`
}

type KmsAkcGetKeychainPublicKeyReq

type KmsAkcGetKeychainPublicKeyReq struct {
	Name string `json:"name,optional"`
	Kid  string `json:"kid,optional"`
}

type KmsAkcGetKeychainPublicKeyResp

type KmsAkcGetKeychainPublicKeyResp struct {
	PublicKey string   `json:"public_key"`
	Jwk       ModelJwk `json:"jwk"`
}

type KmsAkcSignReq

type KmsAkcSignReq struct {
	Name        string `json:"name,optional"`
	SignContent string `json:"sign_content"`
	Kid         string `json:"kid,optional"`
}

type KmsAkcSignResp

type KmsAkcSignResp struct {
	Name string `json:"name,optional"`
	Sign string `json:"sign"`
}

type KmsAkcVerifyReq

type KmsAkcVerifyReq struct {
	Name string `json:"name,optional"`
	Sign string `json:"sign"`
	Kid  string `json:"kid,optional"`
}

type KmsAkcVerifyResp

type KmsAkcVerifyResp struct {
	Name   string `json:"name"`
	Verify bool   `json:"verify"`
}

type KmsSkcBatchDecryptReq

type KmsSkcBatchDecryptReq struct {
	Data map[string]KmsSkcBatchDecryptReqItem `json:"data"`
}

type KmsSkcBatchDecryptReqItem

type KmsSkcBatchDecryptReqItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcBatchDecryptResp

type KmsSkcBatchDecryptResp struct {
	Result map[string]KmsSkcBatchDecryptRespItem `json:"result"`
}

type KmsSkcBatchDecryptRespItem

type KmsSkcBatchDecryptRespItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
	Status   string `json:"status"`
}

type KmsSkcBatchEncryptReq

type KmsSkcBatchEncryptReq struct {
	Data map[string]KmsSkcBatchEncryptReqItem `json:"data"`
}

type KmsSkcBatchEncryptReqItem

type KmsSkcBatchEncryptReqItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcBatchEncryptResp

type KmsSkcBatchEncryptResp struct {
	Result map[string]KmsSkcBatchEncryptRespItem `json:"result"`
}

type KmsSkcBatchEncryptRespItem

type KmsSkcBatchEncryptRespItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
	Status   string `json:"status"`
}

type KmsSkcCompareItem

type KmsSkcCompareItem struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcCompareReq

type KmsSkcCompareReq struct {
	List []KmsSkcCompareItem `json:"list"`
}

type KmsSkcCompareResp

type KmsSkcCompareResp struct {
	Status      string                      `json:"status"`
	CompareData bool                        `json:"compare_data"`
	List        []KmsSkcCompareRespDataItem `json:"list"`
}

type KmsSkcCompareRespData

type KmsSkcCompareRespData struct {
	Status      string                      `json:"status"`
	CompareData bool                        `json:"compare_data"`
	List        []KmsSkcCompareRespDataItem `json:"list"`
}

type KmsSkcCompareRespDataItem

type KmsSkcCompareRespDataItem struct {
	Status   string `json:"status"`
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcCreateKeychainReq

type KmsSkcCreateKeychainReq struct {
	Algorithm string `` /* 168-byte string literal not displayed */
	Name      string `json:"name"`
}

type KmsSkcCreateKeychainResp

type KmsSkcCreateKeychainResp struct {
	Status string `json:"status"`
	Name   string `json:"name"`
}

type KmsSkcDecryptReq

type KmsSkcDecryptReq struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcDecryptResp

type KmsSkcDecryptResp struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type KmsSkcEncryptReq

type KmsSkcEncryptReq struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data,optional"`
}

type KmsSkcEncryptResp

type KmsSkcEncryptResp struct {
	Name     string `json:"name"`
	BaseData string `json:"base_data"`
}

type ModelBucketConfig added in v1.0.22

type ModelBucketConfig struct {
	Id            int64  `json:"id"`
	CreatedAtUnix int64  `json:"created_at_unix,optional"`
	UpdatedAtUnix int64  `json:"updated_at_unix,optional"`
	IsDefault     bool   `json:"is_default,optional"`
	Status        int16  `json:"status,optional"`
	Name          string `json:"name"`
	StorageType   string `json:"storage_type,options=minio|cos|oss|s3|obs"`
	CredentialID  int64  `json:"credential_id"`
	BucketName    string `json:"bucket_name"`
	Region        string `json:"region"`
	Prefix        string `json:"prefix"`
	Endpoint      string `json:"endpoint"`
	PublicDomain  string `json:"public_domain"`
	Remark        string `json:"remark"`
}

type ModelCaptchaConfig added in v1.0.22

type ModelCaptchaConfig struct {
	Id            int64   `json:"id"`
	CreatedAtUnix int64   `json:"created_at_unix,optional"`
	UpdatedAtUnix int64   `json:"updated_at_unix,optional"`
	IsDefault     bool    `json:"is_default,optional"`
	Status        int16   `json:"status,optional"`
	Name          string  `json:"name"`
	DotCount      int32   `json:"dot_count"`
	MaxSkew       float64 `json:"max_skew"`
	KeyLong       int32   `json:"key_long"`
	ImgWidth      int32   `json:"img_width"`
	ImgHeight     int32   `json:"img_height"`
}

type ModelClient added in v1.0.5

type ModelClient struct {
	IP              string `json:"ip"`                // IP地址
	IPHash          string `json:"ip_hash"`           // IPHash
	Port            string `json:"port"`              // Port
	UserAgent       string `json:"user_agent"`        // UserAgent
	CityId          int64  `json:"city_id"`           // CityId
	Country         string `json:"country"`           // Country
	Region          string `json:"region"`            // Region
	Province        string `json:"province"`          // Province
	City            string `json:"city"`              // City
	ISP             string `json:"isp"`               // ISP
	UserAgentFamily string `json:"user_agent_family"` // UserAgentFamily
	UserAgentMajor  string `json:"user_agent_major"`  // UserAgentMajor
	UserAgentMinor  string `json:"user_agent_minor"`  // UserAgentMinor
	UserAgentPatch  string `json:"user_agent_patch"`  // UserAgentPatch
	OsFamily        string `json:"os_family"`         // OsFamily
	OsMajor         string `json:"os_major"`          // OsMajor
	OsMinor         string `json:"os_minor"`          // OsMinor
	OsPatch         string `json:"os_patch"`          // OsPatch
	OsPatchMinor    string `json:"os_patch_minor"`    // OsPatchMinor
	DeviceFamily    string `json:"device_family"`     // DeviceFamily
	DeviceBrand     string `json:"device_brand"`      // DeviceBrand
	DeviceModel     string `json:"device_model"`      // DeviceModel
}

type ModelCode

type ModelCode struct {
	Code string `json:"code"`
	Num  int32  `json:"num"`
	Msg  string `json:"msg"`
}

type ModelCredential added in v1.0.22

type ModelCredential struct {
	Id              int64  `json:"id"`
	CreatedAtUnix   int64  `json:"created_at_unix,optional"`
	UpdatedAtUnix   int64  `json:"updated_at_unix,optional"`
	IsDefault       bool   `json:"is_default,optional"`
	Status          int16  `json:"status,optional"`
	Name            string `json:"name"`
	CredentialType  string `json:"credential_type"`
	AccessKeyID     string `json:"access_key_id"`
	SecretAccessKey string `json:"secret_access_key"`
	Remark          string `json:"remark"`
	DefaultRegion   string `json:"default_region"`
	AppID           string `json:"app_id"`
	Endpoint        string `json:"endpoint"`
}

type ModelEmsConfig added in v1.0.22

type ModelEmsConfig struct {
	Id            int64  `json:"id"`
	CreatedAtUnix int64  `json:"created_at_unix,optional"`
	UpdatedAtUnix int64  `json:"updated_at_unix,optional"`
	IsDefault     bool   `json:"is_default,optional"`
	Status        int16  `json:"status,optional"`
	Name          string `json:"name"`
	CredentialID  int64  `json:"credential_id"`
	SenderName    string `json:"sender_name"`
	Endpoint      string `json:"endpoint"`
	Port          int32  `json:"port"`
	Protocol      string `json:"protocol"`
	Remark        string `json:"remark"`
}

type ModelJwk added in v1.0.15

type ModelJwk struct {
	Kty string `json:"kty,omitempty"`
	Alg string `json:"alg,omitempty"`
	Use string `json:"use,omitempty"`
	Kid string `json:"kid,omitempty"`
	N   string `json:"n,omitempty"`
	E   string `json:"e,omitempty"`
	X   string `json:"x,omitempty"`
	Y   string `json:"y,omitempty"`
	Crv string `json:"crv,omitempty"`
}

type ModelSmsConfig added in v1.0.22

type ModelSmsConfig struct {
	Id            int64  `json:"id"`
	CreatedAtUnix int64  `json:"created_at_unix,optional"`
	UpdatedAtUnix int64  `json:"updated_at_unix,optional"`
	IsDefault     bool   `json:"is_default,optional"`
	Status        int16  `json:"status,optional"`
	Name          string `json:"name"`
	CredentialID  int64  `json:"credential_id"`
	Endpoint      string `json:"endpoint"`
	Template      string `json:"template"`
	SignName      string `json:"sign_name"`
	ParamsStr     string `json:"params_str"`
	Remark        string `json:"remark"`
}

type ModelWechatConfig added in v1.0.22

type ModelWechatConfig struct {
	Id            int64  `json:"id"`
	CreatedAtUnix int64  `json:"created_at_unix,optional"`
	UpdatedAtUnix int64  `json:"updated_at_unix,optional"`
	IsDefault     bool   `json:"is_default,optional"`
	Status        int16  `json:"status,optional"`
	Name          string `json:"name"`
	AppType       string `json:"app_type,options=official|mini_app"`
	CredentialID  int64  `json:"credential_id"`
	GhId          string `json:"gh_id"`
	AppName       string `json:"app_name"`
	Remark        string `json:"remark"`
}

type ModelZone

type ModelZone struct {
	Label string `json:"label"`
	Code  string `json:"code"`
	Area  string `json:"area"`
}

type NotFoundReq added in v1.0.22

type NotFoundReq struct {
}

type NotFoundResp

type NotFoundResp struct {
}

type OkResp added in v1.0.22

type OkResp struct {
}

type PublicGetIpReq added in v1.0.5

type PublicGetIpReq struct {
}

type PublicGetIpResp added in v1.0.5

type PublicGetIpResp struct {
	Ip string `json:"ip"` // note: 返回自身ip
}

type RemoveSomePolicyReq added in v1.0.22

type RemoveSomePolicyReq struct {
	Subject string `json:"subject"`
	Object  string `json:"object"`
	Action  string `json:"action"`
}

type SasPresignerGetObjectReq

type SasPresignerGetObjectReq struct {
	Name string `json:"name,optional"`
	Path string `json:"path"`
}

type SasPresignerGetObjectResp

type SasPresignerGetObjectResp struct {
	Url    string `json:"url"`
	Method string `json:"method"`
}

type SasPresignerHeadObjectReq

type SasPresignerHeadObjectReq struct {
	Name string `json:"name,optional"`
	Path string `json:"path"`
}

type SasPresignerHeadObjectResp

type SasPresignerHeadObjectResp struct {
	Url    string `json:"url"`
	Method string `json:"method"`
}

type SasPresignerUploadReq

type SasPresignerUploadReq struct {
	Name string `json:"name,optional"`
	Path string `json:"path"`
}

type SasPresignerUploadResp

type SasPresignerUploadResp struct {
	Url    string            `json:"url"`
	Fields map[string]string `json:"fields"`
}

type SasQueryBucketReq

type SasQueryBucketReq struct {
	Name string `json:"name,optional"`
}

type SasQueryBucketResp

type SasQueryBucketResp struct {
	Name         string `json:"name"`
	Prefix       string `json:"prefix"`
	Region       string `json:"region"`
	Endpoint     string `json:"endpoint"`
	PublicDomain string `json:"public_domain"`
	Remark       string `json:"remark"`
}

type SmsConfigApiCreateResp added in v1.0.22

type SmsConfigApiCreateResp struct {
	Id int64 `json:"id"`
}

type SmsConfigApiFormIdReq added in v1.0.22

type SmsConfigApiFormIdReq struct {
	Id int64 `form:"id"`
}

type SmsConfigApiFormIdsReq added in v1.0.22

type SmsConfigApiFormIdsReq struct {
	Ids []int64 `form:"ids"`
}

type SmsConfigApiJsonIdReq added in v1.0.22

type SmsConfigApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type SmsConfigApiJsonIdsReq added in v1.0.22

type SmsConfigApiJsonIdsReq struct {
	Ids []int64 `json:"ids"`
}

type SmsConfigApiOKResp added in v1.0.22

type SmsConfigApiOKResp struct {
}

type SmsConfigCommonQueryListResp added in v1.0.22

type SmsConfigCommonQueryListResp struct {
	List     []ModelSmsConfig `json:"list"`
	Total    int64            `json:"total"`
	Page     int32            `json:"page"`
	PageSize int32            `json:"page_size"`
}

type SmsConfigCommonSearchParams added in v1.0.22

type SmsConfigCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int16  `json:"status,optional"`
}

type SmsInitReq

type SmsInitReq struct {
	Key     string `json:"key,optional"`
	Service string `json:"service"`
	Type    string `json:"type"`
	Zone    string `json:"zone"`
	Phone   string `json:"phone"`
}

type SmsInitResp

type SmsInitResp struct {
	RequestId string `json:"request_id"`
	Status    string `json:"status"`
}

type SmsVerifyReq

type SmsVerifyReq struct {
	Service    string `json:"service"`
	Type       string `json:"type"`
	Zone       string `json:"zone"`
	Phone      string `json:"phone"`
	VerifyCode string `json:"verify_code"`
}

type SmsVerifyResp

type SmsVerifyResp struct {
	Result  bool   `json:"result"`
	Code    string `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}

type TaskQueueAnchoredJobAddReq added in v1.0.22

type TaskQueueAnchoredJobAddReq struct {
	Name          string `json:"name"`                                                    // 任务名称
	AnchorTime    string `json:"anchor_time"`                                             // 锚定时间
	IntervalType  string `json:"interval_type,options=second|minute|hour|day|month|year"` // 循环时长类型
	IntervalValue int32  `json:"interval_value"`                                          // 循环时长数量
	Webhook       string `json:"webhook"`                                                 // 回调地址
	Params        string `json:"params"`                                                  // 回调参数
	Secret        string `json:"secret"`                                                  // 回调密钥
}

type TaskQueueAnchoredJobAddResp added in v1.0.22

type TaskQueueAnchoredJobAddResp struct {
	Id int64 `json:"id"`
}

type TaskQueueAnchoredJobRemoveReq added in v1.0.22

type TaskQueueAnchoredJobRemoveReq struct {
	Id int64 `json:"id"`
}

type TaskQueueAnchoredJobRemoveResp added in v1.0.22

type TaskQueueAnchoredJobRemoveResp struct {
}

type TaskQueueDelayedJobAddReq added in v1.0.22

type TaskQueueDelayedJobAddReq struct {
	Name          string `json:"name"`            // 任务名称
	ExecuteAt     string `json:"execute_at"`      // 任务执行时间
	MaxRetryCount int32  `json:"max_retry_count"` // 最大执行时间
	Webhook       string `json:"webhook"`         // 回调地址
	Params        string `json:"params"`          // 回调参数
	Secret        string `json:"secret"`          // 回调密钥
}

type TaskQueueDelayedJobAddResp added in v1.0.22

type TaskQueueDelayedJobAddResp struct {
	Id int64 `json:"id"`
}

type TaskQueueDelayedJobCancelReq added in v1.0.22

type TaskQueueDelayedJobCancelReq struct {
	Id int64 `json:"id"`
}

type TaskQueueDelayedJobCancelResp added in v1.0.22

type TaskQueueDelayedJobCancelResp struct {
}

type TaskQueuePeriodicJobAddReq added in v1.0.22

type TaskQueuePeriodicJobAddReq struct {
	Name    string `json:"name"`    // 任务名称
	Spec    string `json:"spec"`    // cron表达式
	Webhook string `json:"webhook"` // 回调地址
	Params  string `json:"params"`  // 回调参数
	Secret  string `json:"secret"`  // 回调密钥
}

type TaskQueuePeriodicJobAddResp added in v1.0.22

type TaskQueuePeriodicJobAddResp struct {
	Id int64 `json:"id"`
}

type TaskQueuePeriodicJobRemoveReq added in v1.0.22

type TaskQueuePeriodicJobRemoveReq struct {
	Id int64 `json:"id"`
}

type TaskQueuePeriodicJobRemoveResp added in v1.0.22

type TaskQueuePeriodicJobRemoveResp struct {
}

type TpasWechatJobWebhookReq

type TpasWechatJobWebhookReq struct {
	Payload string `json:"payload"`
}

type TpasWechatJobWebhookResp

type TpasWechatJobWebhookResp struct {
}

type WechatConfigApiCreateResp added in v1.0.22

type WechatConfigApiCreateResp struct {
	Id int64 `json:"id"`
}

type WechatConfigApiFormIdReq added in v1.0.22

type WechatConfigApiFormIdReq struct {
	Id int64 `form:"id"`
}

type WechatConfigApiFormIdsReq added in v1.0.22

type WechatConfigApiFormIdsReq struct {
	Ids []int64 `form:"ids"`
}

type WechatConfigApiJsonIdReq added in v1.0.22

type WechatConfigApiJsonIdReq struct {
	Id uint32 `json:"id"`
}

type WechatConfigApiJsonIdsReq added in v1.0.22

type WechatConfigApiJsonIdsReq struct {
	Ids []int64 `json:"ids"`
}

type WechatConfigApiOKResp added in v1.0.22

type WechatConfigApiOKResp struct {
}

type WechatConfigCommonQueryListResp added in v1.0.22

type WechatConfigCommonQueryListResp struct {
	List     []ModelWechatConfig `json:"list"`
	Total    int64               `json:"total"`
	Page     int32               `json:"page"`
	PageSize int32               `json:"page_size"`
}

type WechatConfigCommonSearchParams added in v1.0.22

type WechatConfigCommonSearchParams struct {
	Page           int32  `json:"page,optional"`
	PageSize       int32  `json:"page_size,optional"`
	StartCreatedAt int64  `json:"start_created_at,optional"`
	EndCreatedAt   int64  `json:"end_created_at,optional"`
	Keyword        string `json:"keyword,optional"`
	Status         int16  `json:"status,optional"`
}

type WechatForceRefreshOffiaccountAccessTokenReq added in v1.0.5

type WechatForceRefreshOffiaccountAccessTokenReq struct {
	Key string `json:"key"`
}

type WechatForceRefreshOffiaccountAccessTokenResp added in v1.0.5

type WechatForceRefreshOffiaccountAccessTokenResp struct {
}

type WechatOffiaccountCode2TokenReq added in v1.0.6

type WechatOffiaccountCode2TokenReq struct {
	Key  string `json:"key,optional"`
	Code string `json:"code"`
}

type WechatOffiaccountCode2TokenResp added in v1.0.6

type WechatOffiaccountCode2TokenResp struct {
	AccessToken    string `json:"access_token"`
	ExpiresIn      int64  `json:"expires_in"`
	RefreshToken   string `json:"refresh_token"`
	Openid         string `json:"openid"`
	Scope          string `json:"scope"`
	IsSnapshotuser int32  `json:"is_snapshotuser"`
	Unionid        string `json:"unionid"`
	Errcode        int32  `json:"errcode,omitempty"`
	Errmsg         string `json:"errmsg,omitempty"`
}

type WechatOffiaccountGenRedirectUrlReq added in v1.0.5

type WechatOffiaccountGenRedirectUrlReq struct {
	Key         string `json:"key,optional"`
	Scope       string `json:"scope,options=snsapi_base|snsapi_userinfo"`
	RedirectUri string `json:"redirect_uri"`
	State       string `json:"state"`
}

type WechatOffiaccountGenRedirectUrlResp added in v1.0.5

type WechatOffiaccountGenRedirectUrlResp struct {
	Scope string `json:"scope"`
	Url   string `json:"url"`
	State string `json:"state"`
}

type WechatOffiaccountGenShareConfigReq added in v1.0.5

type WechatOffiaccountGenShareConfigReq struct {
	Key       string   `json:"key,optional"`
	Debug     bool     `json:"debug"`
	ShareLink string   `json:"share_link"`
	JsApiList []string `json:"js_api_list"`
}

type WechatOffiaccountGenShareConfigResp added in v1.0.5

type WechatOffiaccountGenShareConfigResp struct {
	Debug     bool     `json:"debug"`
	AppId     string   `json:"app_id"`
	Timestamp int64    `json:"timestamp"`
	NonceStr  string   `json:"nonce_str"`
	Signature string   `json:"signature"`
	JsApiList []string `json:"js_api_list"`
}

type WechatOffiaccountGetAccessTokenReq added in v1.0.5

type WechatOffiaccountGetAccessTokenReq struct {
	Key string `json:"key,optional"`
}

type WechatOffiaccountGetAccessTokenResp added in v1.0.5

type WechatOffiaccountGetAccessTokenResp struct {
	AccessToken string `json:"access_token"`
	ExpiresIn   int64  `json:"expires_in"`
}

type WechatOffiaccountGetJsApiTicketReq added in v1.0.5

type WechatOffiaccountGetJsApiTicketReq struct {
	Key string `json:"key,optional"`
}

type WechatOffiaccountGetJsApiTicketResp added in v1.0.5

type WechatOffiaccountGetJsApiTicketResp struct {
	Ticket    string `json:"ticket"`
	ExpiresIn int64  `json:"expires_in"`
}

type ZonesReq

type ZonesReq struct {
	Lang string `form:"lang,optional" url:"lang"`
}

type ZonesResp

type ZonesResp struct {
	List     []ModelZone `json:"list"`
	Total    int64       `json:"total"`
	Page     int32       `json:"page"`
	PageSize int32       `json:"page_size"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL