You've already forked npm-core-sdk
Latest generation
This commit is contained in:
37
driver.client.ts
Normal file
37
driver.client.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
||||
// @generated from protobuf file "driver.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { DriverService } from "./driver";
|
||||
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
||||
import type { GetAppointmentDriverDataResponse } from "./driver";
|
||||
import type { GetAppointmentDriverDataRequest } from "./driver";
|
||||
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
||||
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
/**
|
||||
* @generated from protobuf service api.DriverService
|
||||
*/
|
||||
export interface IDriverServiceClient {
|
||||
/**
|
||||
* @generated from protobuf rpc: GetAppointmentDriverData
|
||||
*/
|
||||
getAppointmentDriverData(input: GetAppointmentDriverDataRequest, options?: RpcOptions): UnaryCall<GetAppointmentDriverDataRequest, GetAppointmentDriverDataResponse>;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf service api.DriverService
|
||||
*/
|
||||
export class DriverServiceClient implements IDriverServiceClient, ServiceInfo {
|
||||
typeName = DriverService.typeName;
|
||||
methods = DriverService.methods;
|
||||
options = DriverService.options;
|
||||
constructor(private readonly _transport: RpcTransport) {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetAppointmentDriverData
|
||||
*/
|
||||
getAppointmentDriverData(input: GetAppointmentDriverDataRequest, options?: RpcOptions): UnaryCall<GetAppointmentDriverDataRequest, GetAppointmentDriverDataResponse> {
|
||||
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetAppointmentDriverDataRequest, GetAppointmentDriverDataResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user