Latest generation

This commit is contained in:
ci core model
2026-04-27 12:18:40 +00:00
parent 7b3c1568a1
commit 31b19d62d4
11 changed files with 513 additions and 3 deletions

View File

@@ -4,6 +4,14 @@
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { UserService } from "./user";
import type { ResolveAPIKeyResult } from "./user";
import type { ResolveAPIKeyRequest } from "./user";
import type { RenewAPIKeyResult } from "./user";
import type { RenewAPIKeyRequest } from "./user";
import type { RevokeAPIKeyResult } from "./user";
import type { RevokeAPIKeyRequest } from "./user";
import type { GenerateAPIKeyResult } from "./user";
import type { GenerateAPIKeyRequest } from "./user";
import type { UpdateTwoFAPlatformResult } from "./user";
import type { UpdateTwoFAPlatformRequest } from "./user";
import type { ForceProjectUserTwoFARequest } from "./user";
@@ -297,6 +305,22 @@ export interface IUserServiceClient {
* @generated from protobuf rpc: UpdatePlatformTwoFA
*/
updatePlatformTwoFA(input: UpdateTwoFAPlatformRequest, options?: RpcOptions): UnaryCall<UpdateTwoFAPlatformRequest, UpdateTwoFAPlatformResult>;
/**
* @generated from protobuf rpc: GenerateAPIKey
*/
generateAPIKey(input: GenerateAPIKeyRequest, options?: RpcOptions): UnaryCall<GenerateAPIKeyRequest, GenerateAPIKeyResult>;
/**
* @generated from protobuf rpc: RevokeAPIKey
*/
revokeAPIKey(input: RevokeAPIKeyRequest, options?: RpcOptions): UnaryCall<RevokeAPIKeyRequest, RevokeAPIKeyResult>;
/**
* @generated from protobuf rpc: RenewAPIKey
*/
renewAPIKey(input: RenewAPIKeyRequest, options?: RpcOptions): UnaryCall<RenewAPIKeyRequest, RenewAPIKeyResult>;
/**
* @generated from protobuf rpc: ResolveAPIKey
*/
resolveAPIKey(input: ResolveAPIKeyRequest, options?: RpcOptions): UnaryCall<ResolveAPIKeyRequest, ResolveAPIKeyResult>;
}
/**
* @generated from protobuf service api.UserService
@@ -664,4 +688,32 @@ export class UserServiceClient implements IUserServiceClient, ServiceInfo {
const method = this.methods[50], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateTwoFAPlatformRequest, UpdateTwoFAPlatformResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GenerateAPIKey
*/
generateAPIKey(input: GenerateAPIKeyRequest, options?: RpcOptions): UnaryCall<GenerateAPIKeyRequest, GenerateAPIKeyResult> {
const method = this.methods[51], opt = this._transport.mergeOptions(options);
return stackIntercept<GenerateAPIKeyRequest, GenerateAPIKeyResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: RevokeAPIKey
*/
revokeAPIKey(input: RevokeAPIKeyRequest, options?: RpcOptions): UnaryCall<RevokeAPIKeyRequest, RevokeAPIKeyResult> {
const method = this.methods[52], opt = this._transport.mergeOptions(options);
return stackIntercept<RevokeAPIKeyRequest, RevokeAPIKeyResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: RenewAPIKey
*/
renewAPIKey(input: RenewAPIKeyRequest, options?: RpcOptions): UnaryCall<RenewAPIKeyRequest, RenewAPIKeyResult> {
const method = this.methods[53], opt = this._transport.mergeOptions(options);
return stackIntercept<RenewAPIKeyRequest, RenewAPIKeyResult>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ResolveAPIKey
*/
resolveAPIKey(input: ResolveAPIKeyRequest, options?: RpcOptions): UnaryCall<ResolveAPIKeyRequest, ResolveAPIKeyResult> {
const method = this.methods[54], opt = this._transport.mergeOptions(options);
return stackIntercept<ResolveAPIKeyRequest, ResolveAPIKeyResult>("unary", this._transport, method, opt, input);
}
}