✨ feat(api): Add getClient API endpoint to retrieve subscription applications
This commit is contained in:
Vendored
+30
@@ -214,6 +214,15 @@ declare namespace API {
|
||||
updated_at: number;
|
||||
};
|
||||
|
||||
type DownloadLink = {
|
||||
ios?: string;
|
||||
android?: string;
|
||||
windows?: string;
|
||||
mac?: string;
|
||||
linux?: string;
|
||||
harmony?: string;
|
||||
};
|
||||
|
||||
type EmailAuthticateConfig = {
|
||||
enable: boolean;
|
||||
enable_verify: boolean;
|
||||
@@ -266,6 +275,11 @@ declare namespace API {
|
||||
methods: UserAuthMethod[];
|
||||
};
|
||||
|
||||
type GetSubscribeApplicationListResponse = {
|
||||
total: number;
|
||||
list: SubscribeApplication[];
|
||||
};
|
||||
|
||||
type GetSubscribeLogParams = {
|
||||
page: number;
|
||||
size: number;
|
||||
@@ -863,6 +877,22 @@ declare namespace API {
|
||||
updated_at: number;
|
||||
};
|
||||
|
||||
type SubscribeApplication = {
|
||||
id: number;
|
||||
name: string;
|
||||
description?: string;
|
||||
icon?: string;
|
||||
scheme?: string;
|
||||
user_agent: string;
|
||||
is_default: boolean;
|
||||
proxy_template: string;
|
||||
template: string;
|
||||
output_format: string;
|
||||
download_link?: DownloadLink;
|
||||
created_at: number;
|
||||
updated_at: number;
|
||||
};
|
||||
|
||||
type SubscribeConfig = {
|
||||
single_model: boolean;
|
||||
subscribe_path: string;
|
||||
|
||||
Reference in New Issue
Block a user