You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -18,6 +18,8 @@ import type { ListSitesAuthorizedForBookingResponse } from "./site";
|
||||
import type { ListSitesAuthorizedForBookingRequest } from "./site";
|
||||
import type { GetBasicSettingsResponse } from "./site";
|
||||
import type { GetBasicSettingsRequest } from "./site";
|
||||
import type { GetUnitsResponse } from "./site";
|
||||
import type { GetUnitsRequest } from "./site";
|
||||
import type { CreateSettingsResponse } from "./site";
|
||||
import type { CreateSettingsRequest } from "./site";
|
||||
import type { DeleteSettingsResult } from "./site";
|
||||
@@ -131,6 +133,10 @@ export interface ISiteServiceClient {
|
||||
* @generated from protobuf rpc: CreateSettingsV2
|
||||
*/
|
||||
createSettingsV2(input: CreateSettingsRequest, options?: RpcOptions): UnaryCall<CreateSettingsRequest, CreateSettingsResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetUnits
|
||||
*/
|
||||
getUnits(input: GetUnitsRequest, options?: RpcOptions): UnaryCall<GetUnitsRequest, GetUnitsResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetBasicSettings
|
||||
*/
|
||||
@@ -302,53 +308,60 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
|
||||
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<CreateSettingsRequest, CreateSettingsResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetUnits
|
||||
*/
|
||||
getUnits(input: GetUnitsRequest, options?: RpcOptions): UnaryCall<GetUnitsRequest, GetUnitsResponse> {
|
||||
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetUnitsRequest, GetUnitsResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetBasicSettings
|
||||
*/
|
||||
getBasicSettings(input: GetBasicSettingsRequest, options?: RpcOptions): UnaryCall<GetBasicSettingsRequest, GetBasicSettingsResponse> {
|
||||
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetBasicSettingsRequest, GetBasicSettingsResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: ListSitesAuthorizedForBooking
|
||||
*/
|
||||
listSitesAuthorizedForBooking(input: ListSitesAuthorizedForBookingRequest, options?: RpcOptions): UnaryCall<ListSitesAuthorizedForBookingRequest, ListSitesAuthorizedForBookingResponse> {
|
||||
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ListSitesAuthorizedForBookingRequest, ListSitesAuthorizedForBookingResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetPossibleSegmentationOnSiteForBooking
|
||||
*/
|
||||
getPossibleSegmentationOnSiteForBooking(input: GetPossibleSegmentationOnSiteForBookingRequest, options?: RpcOptions): UnaryCall<GetPossibleSegmentationOnSiteForBookingRequest, GetPossibleSegmentationOnSiteForBookingResponse> {
|
||||
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetPossibleSegmentationOnSiteForBookingRequest, GetPossibleSegmentationOnSiteForBookingResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetSiteFromAlias
|
||||
*/
|
||||
getSiteFromAlias(input: GetSiteFromAliasRequest, options?: RpcOptions): UnaryCall<GetSiteFromAliasRequest, GetSiteFromAliasResponse> {
|
||||
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetSiteFromAliasRequest, GetSiteFromAliasResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetAliasesOfSite
|
||||
*/
|
||||
getAliasesOfSite(input: GetAliasesOfSiteRequest, options?: RpcOptions): UnaryCall<GetAliasesOfSiteRequest, GetAliasesOfSiteResponse> {
|
||||
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetAliasesOfSiteRequest, GetAliasesOfSiteResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: SetSiteAlias
|
||||
*/
|
||||
setSiteAlias(input: SetSiteAliasRequest, options?: RpcOptions): UnaryCall<SetSiteAliasRequest, SetSiteAliasResponse> {
|
||||
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<SetSiteAliasRequest, SetSiteAliasResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: ClearSiteAlias
|
||||
*/
|
||||
clearSiteAlias(input: ClearSiteAliasRequest, options?: RpcOptions): UnaryCall<ClearSiteAliasRequest, ClearSiteAliasResponse> {
|
||||
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ClearSiteAliasRequest, ClearSiteAliasResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user