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 "site.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
@@ -32,43 +32,43 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
*/
|
||||
export interface ISiteServiceClient {
|
||||
/**
|
||||
* @generated from protobuf rpc: Create(api.CreateSiteRequest) returns (api.CreateSiteResponse);
|
||||
* @generated from protobuf rpc: Create
|
||||
*/
|
||||
create(input: CreateSiteRequest, options?: RpcOptions): UnaryCall<CreateSiteRequest, CreateSiteResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Get(api.GetSiteRequest) returns (api.GetSiteResponse);
|
||||
* @generated from protobuf rpc: Get
|
||||
*/
|
||||
get(input: GetSiteRequest, options?: RpcOptions): UnaryCall<GetSiteRequest, GetSiteResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: List(api.ListSiteRequest) returns (api.ListSiteResponse);
|
||||
* @generated from protobuf rpc: List
|
||||
*/
|
||||
list(input: ListSiteRequest, options?: RpcOptions): UnaryCall<ListSiteRequest, ListSiteResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Update(api.UpdateSiteRequest) returns (api.UpdateSiteResponse);
|
||||
* @generated from protobuf rpc: Update
|
||||
*/
|
||||
update(input: UpdateSiteRequest, options?: RpcOptions): UnaryCall<UpdateSiteRequest, UpdateSiteResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: Delete(api.DeleteSiteRequest) returns (api.DeleteSiteResponse);
|
||||
* @generated from protobuf rpc: Delete
|
||||
*/
|
||||
delete(input: DeleteSiteRequest, options?: RpcOptions): UnaryCall<DeleteSiteRequest, DeleteSiteResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: SuggestID(api.SuggestSiteIDRequest) returns (api.SuggestSiteIDResult);
|
||||
* @generated from protobuf rpc: SuggestID
|
||||
*/
|
||||
suggestID(input: SuggestSiteIDRequest, options?: RpcOptions): UnaryCall<SuggestSiteIDRequest, SuggestSiteIDResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetAvailableSlots(api.GetAvailableSlotsRequest) returns (api.GetAvailableSlotsResponse);
|
||||
* @generated from protobuf rpc: GetAvailableSlots
|
||||
*/
|
||||
getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAvailableSlotsResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: ListUserSites(api.ListUserSitesRequest) returns (api.ListUserSitesResponse);
|
||||
* @generated from protobuf rpc: ListUserSites
|
||||
*/
|
||||
listUserSites(input: ListUserSitesRequest, options?: RpcOptions): UnaryCall<ListUserSitesRequest, ListUserSitesResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: BookAppointment(api.BookAppointmentRequest) returns (api.BookAppointmentResponse);
|
||||
* @generated from protobuf rpc: BookAppointment
|
||||
*/
|
||||
bookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall<BookAppointmentRequest, BookAppointmentResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CancelAppointment(api.CancelAppointmentRequest) returns (api.CancelAppointmentResponse);
|
||||
* @generated from protobuf rpc: CancelAppointment
|
||||
*/
|
||||
cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse>;
|
||||
}
|
||||
@@ -82,70 +82,70 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
|
||||
constructor(private readonly _transport: RpcTransport) {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Create(api.CreateSiteRequest) returns (api.CreateSiteResponse);
|
||||
* @generated from protobuf rpc: Create
|
||||
*/
|
||||
create(input: CreateSiteRequest, options?: RpcOptions): UnaryCall<CreateSiteRequest, CreateSiteResponse> {
|
||||
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<CreateSiteRequest, CreateSiteResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Get(api.GetSiteRequest) returns (api.GetSiteResponse);
|
||||
* @generated from protobuf rpc: Get
|
||||
*/
|
||||
get(input: GetSiteRequest, options?: RpcOptions): UnaryCall<GetSiteRequest, GetSiteResponse> {
|
||||
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetSiteRequest, GetSiteResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: List(api.ListSiteRequest) returns (api.ListSiteResponse);
|
||||
* @generated from protobuf rpc: List
|
||||
*/
|
||||
list(input: ListSiteRequest, options?: RpcOptions): UnaryCall<ListSiteRequest, ListSiteResponse> {
|
||||
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ListSiteRequest, ListSiteResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Update(api.UpdateSiteRequest) returns (api.UpdateSiteResponse);
|
||||
* @generated from protobuf rpc: Update
|
||||
*/
|
||||
update(input: UpdateSiteRequest, options?: RpcOptions): UnaryCall<UpdateSiteRequest, UpdateSiteResponse> {
|
||||
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<UpdateSiteRequest, UpdateSiteResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: Delete(api.DeleteSiteRequest) returns (api.DeleteSiteResponse);
|
||||
* @generated from protobuf rpc: Delete
|
||||
*/
|
||||
delete(input: DeleteSiteRequest, options?: RpcOptions): UnaryCall<DeleteSiteRequest, DeleteSiteResponse> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DeleteSiteRequest, DeleteSiteResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: SuggestID(api.SuggestSiteIDRequest) returns (api.SuggestSiteIDResult);
|
||||
* @generated from protobuf rpc: SuggestID
|
||||
*/
|
||||
suggestID(input: SuggestSiteIDRequest, options?: RpcOptions): UnaryCall<SuggestSiteIDRequest, SuggestSiteIDResult> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<SuggestSiteIDRequest, SuggestSiteIDResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetAvailableSlots(api.GetAvailableSlotsRequest) returns (api.GetAvailableSlotsResponse);
|
||||
* @generated from protobuf rpc: GetAvailableSlots
|
||||
*/
|
||||
getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAvailableSlotsResponse> {
|
||||
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetAvailableSlotsRequest, GetAvailableSlotsResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: ListUserSites(api.ListUserSitesRequest) returns (api.ListUserSitesResponse);
|
||||
* @generated from protobuf rpc: ListUserSites
|
||||
*/
|
||||
listUserSites(input: ListUserSitesRequest, options?: RpcOptions): UnaryCall<ListUserSitesRequest, ListUserSitesResponse> {
|
||||
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ListUserSitesRequest, ListUserSitesResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: BookAppointment(api.BookAppointmentRequest) returns (api.BookAppointmentResponse);
|
||||
* @generated from protobuf rpc: BookAppointment
|
||||
*/
|
||||
bookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall<BookAppointmentRequest, BookAppointmentResponse> {
|
||||
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<BookAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CancelAppointment(api.CancelAppointmentRequest) returns (api.CancelAppointmentResponse);
|
||||
* @generated from protobuf rpc: CancelAppointment
|
||||
*/
|
||||
cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse> {
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
|
||||
Reference in New Issue
Block a user