You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -12,6 +12,8 @@ import type { ListUserSitesResponse } from "./site";
|
||||
import type { ListUserSitesRequest } from "./site";
|
||||
import type { GetAvailableSlotsResponse } from "./site";
|
||||
import type { GetAvailableSlotsRequest } from "./site";
|
||||
import type { SuggestSiteIDResult } from "./site";
|
||||
import type { SuggestSiteIDRequest } from "./site";
|
||||
import type { DeleteSiteResponse } from "./site";
|
||||
import type { DeleteSiteRequest } from "./site";
|
||||
import type { UpdateSiteResponse } from "./site";
|
||||
@@ -49,6 +51,10 @@ export interface ISiteServiceClient {
|
||||
* @generated from protobuf rpc: Delete(api.DeleteSiteRequest) returns (api.DeleteSiteResponse);
|
||||
*/
|
||||
delete(input: DeleteSiteRequest, options?: RpcOptions): UnaryCall<DeleteSiteRequest, DeleteSiteResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: SuggestID(api.SuggestSiteIDRequest) returns (api.SuggestSiteIDResult);
|
||||
*/
|
||||
suggestID(input: SuggestSiteIDRequest, options?: RpcOptions): UnaryCall<SuggestSiteIDRequest, SuggestSiteIDResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetAvailableSlots(api.GetAvailableSlotsRequest) returns (api.GetAvailableSlotsResponse);
|
||||
*/
|
||||
@@ -110,32 +116,39 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
|
||||
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);
|
||||
*/
|
||||
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);
|
||||
*/
|
||||
getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAvailableSlotsResponse> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
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);
|
||||
*/
|
||||
listUserSites(input: ListUserSitesRequest, options?: RpcOptions): UnaryCall<ListUserSitesRequest, ListUserSitesResponse> {
|
||||
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
||||
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);
|
||||
*/
|
||||
bookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall<BookAppointmentRequest, BookAppointmentResponse> {
|
||||
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
||||
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);
|
||||
*/
|
||||
cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse> {
|
||||
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<CancelAppointmentRequest, CancelAppointmentResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user