You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
|
||||
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
|
||||
// @generated from protobuf file "rules.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -28,35 +28,35 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
*/
|
||||
export interface IRuleServiceClient {
|
||||
/**
|
||||
* @generated from protobuf rpc: Create(api.CreateRuleRequest) returns (api.CreateRuleResponse);
|
||||
* @generated from protobuf rpc: Create
|
||||
*/
|
||||
create(input: CreateRuleRequest, options?: RpcOptions): UnaryCall<CreateRuleRequest, CreateRuleResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Update(api.UpdateRuleRequest) returns (api.UpdateRuleResponse);
|
||||
* @generated from protobuf rpc: Update
|
||||
*/
|
||||
update(input: UpdateRuleRequest, options?: RpcOptions): UnaryCall<UpdateRuleRequest, UpdateRuleResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Get(api.GetRuleRequest) returns (api.GetRuleResponse);
|
||||
* @generated from protobuf rpc: Get
|
||||
*/
|
||||
get(input: GetRuleRequest, options?: RpcOptions): UnaryCall<GetRuleRequest, GetRuleResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: List(api.ListRulesRequest) returns (api.ListRulesResponse);
|
||||
* @generated from protobuf rpc: List
|
||||
*/
|
||||
list(input: ListRulesRequest, options?: RpcOptions): UnaryCall<ListRulesRequest, ListRulesResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Delete(api.DeleteRuleRequest) returns (api.DeleteRuleResponse);
|
||||
* @generated from protobuf rpc: Delete
|
||||
*/
|
||||
delete(input: DeleteRuleRequest, options?: RpcOptions): UnaryCall<DeleteRuleRequest, DeleteRuleResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Enable(api.EnableRuleRequest) returns (api.EnableRuleResponse);
|
||||
* @generated from protobuf rpc: Enable
|
||||
*/
|
||||
enable(input: EnableRuleRequest, options?: RpcOptions): UnaryCall<EnableRuleRequest, EnableRuleResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Disable(api.DisableRuleRequest) returns (api.DisableRuleResponse);
|
||||
* @generated from protobuf rpc: Disable
|
||||
*/
|
||||
disable(input: DisableRuleRequest, options?: RpcOptions): UnaryCall<DisableRuleRequest, DisableRuleResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetJSONTree(api.GetJSONTreeRequest) returns (api.GetJSONTreeResponse);
|
||||
* @generated from protobuf rpc: GetJSONTree
|
||||
*/
|
||||
getJSONTree(input: GetJSONTreeRequest, options?: RpcOptions): UnaryCall<GetJSONTreeRequest, GetJSONTreeResponse>;
|
||||
}
|
||||
@@ -70,56 +70,56 @@ export class RuleServiceClient implements IRuleServiceClient, ServiceInfo {
|
||||
constructor(private readonly _transport: RpcTransport) {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Create(api.CreateRuleRequest) returns (api.CreateRuleResponse);
|
||||
* @generated from protobuf rpc: Create
|
||||
*/
|
||||
create(input: CreateRuleRequest, options?: RpcOptions): UnaryCall<CreateRuleRequest, CreateRuleResponse> {
|
||||
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<CreateRuleRequest, CreateRuleResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Update(api.UpdateRuleRequest) returns (api.UpdateRuleResponse);
|
||||
* @generated from protobuf rpc: Update
|
||||
*/
|
||||
update(input: UpdateRuleRequest, options?: RpcOptions): UnaryCall<UpdateRuleRequest, UpdateRuleResponse> {
|
||||
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<UpdateRuleRequest, UpdateRuleResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Get(api.GetRuleRequest) returns (api.GetRuleResponse);
|
||||
* @generated from protobuf rpc: Get
|
||||
*/
|
||||
get(input: GetRuleRequest, options?: RpcOptions): UnaryCall<GetRuleRequest, GetRuleResponse> {
|
||||
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetRuleRequest, GetRuleResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: List(api.ListRulesRequest) returns (api.ListRulesResponse);
|
||||
* @generated from protobuf rpc: List
|
||||
*/
|
||||
list(input: ListRulesRequest, options?: RpcOptions): UnaryCall<ListRulesRequest, ListRulesResponse> {
|
||||
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ListRulesRequest, ListRulesResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Delete(api.DeleteRuleRequest) returns (api.DeleteRuleResponse);
|
||||
* @generated from protobuf rpc: Delete
|
||||
*/
|
||||
delete(input: DeleteRuleRequest, options?: RpcOptions): UnaryCall<DeleteRuleRequest, DeleteRuleResponse> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DeleteRuleRequest, DeleteRuleResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Enable(api.EnableRuleRequest) returns (api.EnableRuleResponse);
|
||||
* @generated from protobuf rpc: Enable
|
||||
*/
|
||||
enable(input: EnableRuleRequest, options?: RpcOptions): UnaryCall<EnableRuleRequest, EnableRuleResponse> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<EnableRuleRequest, EnableRuleResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Disable(api.DisableRuleRequest) returns (api.DisableRuleResponse);
|
||||
* @generated from protobuf rpc: Disable
|
||||
*/
|
||||
disable(input: DisableRuleRequest, options?: RpcOptions): UnaryCall<DisableRuleRequest, DisableRuleResponse> {
|
||||
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DisableRuleRequest, DisableRuleResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetJSONTree(api.GetJSONTreeRequest) returns (api.GetJSONTreeResponse);
|
||||
* @generated from protobuf rpc: GetJSONTree
|
||||
*/
|
||||
getJSONTree(input: GetJSONTreeRequest, options?: RpcOptions): UnaryCall<GetJSONTreeRequest, GetJSONTreeResponse> {
|
||||
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
||||
|
||||
Reference in New Issue
Block a user