chore: auto-generate protobuf files [skip ci]

This commit is contained in:
github-actions[bot]
2026-04-19 07:52:48 +00:00
parent 4be5b29131
commit 3b2df0aed6
6 changed files with 591 additions and 94 deletions

View File

@@ -164,6 +164,22 @@ export interface SystemUnblockIpResponse {
success: boolean;
}
export interface SystemGetAllAccountsRequest {
limit: number;
offset: number;
}
export interface AccountBasicItem {
id: string;
username: string;
status: string;
}
export interface SystemGetAllAccountsResponse {
accounts: AccountBasicItem[];
total: number;
}
export const AUTH_V1_PACKAGE_NAME = "auth.v1";
export interface AuthServiceClient {
@@ -205,6 +221,11 @@ export interface AuthServiceClient {
systemBlockIp(request: SystemBlockIpRequest, metadata?: Metadata): Observable<SystemBlockIpResponse>;
systemUnblockIp(request: SystemUnblockIpRequest, metadata?: Metadata): Observable<SystemUnblockIpResponse>;
systemGetAllAccounts(
request: SystemGetAllAccountsRequest,
metadata?: Metadata,
): Observable<SystemGetAllAccountsResponse>;
}
export interface AuthServiceController {
@@ -276,6 +297,11 @@ export interface AuthServiceController {
request: SystemUnblockIpRequest,
metadata?: Metadata,
): Promise<SystemUnblockIpResponse> | Observable<SystemUnblockIpResponse> | SystemUnblockIpResponse;
systemGetAllAccounts(
request: SystemGetAllAccountsRequest,
metadata?: Metadata,
): Promise<SystemGetAllAccountsResponse> | Observable<SystemGetAllAccountsResponse> | SystemGetAllAccountsResponse;
}
export function AuthServiceControllerMethods() {
@@ -295,6 +321,7 @@ export function AuthServiceControllerMethods() {
"systemUpdatePin",
"systemBlockIp",
"systemUnblockIp",
"systemGetAllAccounts",
];
for (const method of grpcMethods) {
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);