Latest generation

This commit is contained in:
ci core model
2026-03-19 13:45:44 +00:00
parent 00bdb245f5
commit d96c8c0d0d
3 changed files with 344 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.13.0-SNAPSHOT-260319123754",
"version": "1.13.0-SNAPSHOT-260319134458",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",

View File

@@ -18,6 +18,10 @@ import type { ResolveSiteResponse } from "./site";
import type { ResolveSiteRequest } from "./site";
import type { GetBookingSegmentationsResponse } from "./site";
import type { GetBookingSegmentationsRequest } from "./site";
import type { GetActorAuthorisationResponse } from "./site";
import type { GetActorAuthorisationRequest } from "./site";
import type { ListAllowedSitesResponse } from "./site";
import type { ListAllowedSitesRequest } from "./site";
import type { ListSitesAuthorizedForBookingResponse } from "./site";
import type { ListSitesAuthorizedForBookingRequest } from "./site";
import type { GetBasicSettingsResponse } from "./site";
@@ -164,9 +168,18 @@ export interface ISiteServiceClient {
*/
getBasicSettings(input: GetBasicSettingsRequest, options?: RpcOptions): UnaryCall<GetBasicSettingsRequest, GetBasicSettingsResponse>;
/**
* @deprecated
* @generated from protobuf rpc: ListSitesAuthorizedForBooking
*/
listSitesAuthorizedForBooking(input: ListSitesAuthorizedForBookingRequest, options?: RpcOptions): UnaryCall<ListSitesAuthorizedForBookingRequest, ListSitesAuthorizedForBookingResponse>;
/**
* @generated from protobuf rpc: ListAllowedSites
*/
listAllowedSites(input: ListAllowedSitesRequest, options?: RpcOptions): UnaryCall<ListAllowedSitesRequest, ListAllowedSitesResponse>;
/**
* @generated from protobuf rpc: GetActorAuthorisation
*/
getActorAuthorisation(input: GetActorAuthorisationRequest, options?: RpcOptions): UnaryCall<GetActorAuthorisationRequest, GetActorAuthorisationResponse>;
/**
* @generated from protobuf rpc: GetBookingSegmentations
*/
@@ -380,45 +393,60 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
return stackIntercept<GetBasicSettingsRequest, GetBasicSettingsResponse>("unary", this._transport, method, opt, input);
}
/**
* @deprecated
* @generated from protobuf rpc: ListSitesAuthorizedForBooking
*/
listSitesAuthorizedForBooking(input: ListSitesAuthorizedForBookingRequest, options?: RpcOptions): UnaryCall<ListSitesAuthorizedForBookingRequest, ListSitesAuthorizedForBookingResponse> {
const method = this.methods[23], opt = this._transport.mergeOptions(options);
return stackIntercept<ListSitesAuthorizedForBookingRequest, ListSitesAuthorizedForBookingResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListAllowedSites
*/
listAllowedSites(input: ListAllowedSitesRequest, options?: RpcOptions): UnaryCall<ListAllowedSitesRequest, ListAllowedSitesResponse> {
const method = this.methods[24], opt = this._transport.mergeOptions(options);
return stackIntercept<ListAllowedSitesRequest, ListAllowedSitesResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetActorAuthorisation
*/
getActorAuthorisation(input: GetActorAuthorisationRequest, options?: RpcOptions): UnaryCall<GetActorAuthorisationRequest, GetActorAuthorisationResponse> {
const method = this.methods[25], opt = this._transport.mergeOptions(options);
return stackIntercept<GetActorAuthorisationRequest, GetActorAuthorisationResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetBookingSegmentations
*/
getBookingSegmentations(input: GetBookingSegmentationsRequest, options?: RpcOptions): UnaryCall<GetBookingSegmentationsRequest, GetBookingSegmentationsResponse> {
const method = this.methods[24], opt = this._transport.mergeOptions(options);
const method = this.methods[26], opt = this._transport.mergeOptions(options);
return stackIntercept<GetBookingSegmentationsRequest, GetBookingSegmentationsResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ResolveSite
*/
resolveSite(input: ResolveSiteRequest, options?: RpcOptions): UnaryCall<ResolveSiteRequest, ResolveSiteResponse> {
const method = this.methods[25], opt = this._transport.mergeOptions(options);
const method = this.methods[27], opt = this._transport.mergeOptions(options);
return stackIntercept<ResolveSiteRequest, ResolveSiteResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: InitBookerProfile
*/
initBookerProfile(input: InitBookerProfileRequest, options?: RpcOptions): UnaryCall<InitBookerProfileRequest, InitBookerProfileResponse> {
const method = this.methods[26], opt = this._transport.mergeOptions(options);
const method = this.methods[28], opt = this._transport.mergeOptions(options);
return stackIntercept<InitBookerProfileRequest, InitBookerProfileResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetBookingContext
*/
getBookingContext(input: GetBookingContextRequest, options?: RpcOptions): UnaryCall<GetBookingContextRequest, GetBookingContextResponse> {
const method = this.methods[27], opt = this._transport.mergeOptions(options);
const method = this.methods[29], opt = this._transport.mergeOptions(options);
return stackIntercept<GetBookingContextRequest, GetBookingContextResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: GetMyBookingContext
*/
getMyBookingContext(input: GetMyBookingContextRequest, options?: RpcOptions): UnaryCall<GetMyBookingContextRequest, GetMyBookingContextResponse> {
const method = this.methods[28], opt = this._transport.mergeOptions(options);
const method = this.methods[30], opt = this._transport.mergeOptions(options);
return stackIntercept<GetMyBookingContextRequest, GetMyBookingContextResponse>("unary", this._transport, method, opt, input);
}
/**
@@ -426,14 +454,14 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
* @generated from protobuf rpc: CheckAppointmentEditable
*/
checkAppointmentEditable(input: CheckAppointmentEditableRequest, options?: RpcOptions): UnaryCall<CheckAppointmentEditableRequest, CheckAppointmentEditableResponse> {
const method = this.methods[29], opt = this._transport.mergeOptions(options);
const method = this.methods[31], opt = this._transport.mergeOptions(options);
return stackIntercept<CheckAppointmentEditableRequest, CheckAppointmentEditableResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: ListSettings
*/
listSettings(input: ListSettingsRequest, options?: RpcOptions): UnaryCall<ListSettingsRequest, ListSettingsResponse> {
const method = this.methods[30], opt = this._transport.mergeOptions(options);
const method = this.methods[32], opt = this._transport.mergeOptions(options);
return stackIntercept<ListSettingsRequest, ListSettingsResponse>("unary", this._transport, method, opt, input);
}
}

309
site.ts
View File

@@ -1037,6 +1037,7 @@ export interface ListOfSitesPerOrganisation {
SegmentationsSettings: SegmentationsSetting[];
}
/**
* @deprecated
* @generated from protobuf message api.ListSitesAuthorizedForBookingRequest
*/
export interface ListSitesAuthorizedForBookingRequest {
@@ -1046,6 +1047,7 @@ export interface ListSitesAuthorizedForBookingRequest {
Header?: RequestProjectHeader;
}
/**
* @deprecated
* @generated from protobuf message api.ListSitesAuthorizedForBookingResponse
*/
export interface ListSitesAuthorizedForBookingResponse {
@@ -1054,6 +1056,59 @@ export interface ListSitesAuthorizedForBookingResponse {
*/
ListOfSitesPerOrganisations: ListOfSitesPerOrganisation[];
}
/**
* @generated from protobuf message api.SiteDescription
*/
export interface SiteDescription {
/**
* @generated from protobuf field: string SiteID = 1
*/
SiteID: string;
/**
* @generated from protobuf field: string SiteName = 2
*/
SiteName: string;
}
/**
* @generated from protobuf message api.ListAllowedSitesRequest
*/
export interface ListAllowedSitesRequest {
/**
* @generated from protobuf field: api.RequestProjectHeader Header = 1
*/
Header?: RequestProjectHeader;
}
/**
* @generated from protobuf message api.ListAllowedSitesResponse
*/
export interface ListAllowedSitesResponse {
/**
* @generated from protobuf field: repeated api.SiteDescription SitesAllowed = 1
*/
SitesAllowed: SiteDescription[];
}
/**
* @generated from protobuf message api.GetActorAuthorisationRequest
*/
export interface GetActorAuthorisationRequest {
/**
* @generated from protobuf field: api.RequestProjectHeader Header = 1
*/
Header?: RequestProjectHeader;
/**
* @generated from protobuf field: string SiteID = 2
*/
SiteID: string;
}
/**
* @generated from protobuf message api.GetActorAuthorisationResponse
*/
export interface GetActorAuthorisationResponse {
/**
* @generated from protobuf field: api.ProjectAuthorisation Authorisation = 1
*/
Authorisation?: ProjectAuthorisation;
}
/**
* @generated from protobuf message api.GetBasicSettingsRequest
*/
@@ -4240,6 +4295,7 @@ class ListSitesAuthorizedForBookingRequest$Type extends MessageType<ListSitesAut
}
}
/**
* @deprecated
* @generated MessageType for protobuf message api.ListSitesAuthorizedForBookingRequest
*/
export const ListSitesAuthorizedForBookingRequest = new ListSitesAuthorizedForBookingRequest$Type();
@@ -4287,10 +4343,259 @@ class ListSitesAuthorizedForBookingResponse$Type extends MessageType<ListSitesAu
}
}
/**
* @deprecated
* @generated MessageType for protobuf message api.ListSitesAuthorizedForBookingResponse
*/
export const ListSitesAuthorizedForBookingResponse = new ListSitesAuthorizedForBookingResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class SiteDescription$Type extends MessageType<SiteDescription> {
constructor() {
super("api.SiteDescription", [
{ no: 1, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
]);
}
create(value?: PartialMessage<SiteDescription>): SiteDescription {
const message = globalThis.Object.create((this.messagePrototype!));
message.SiteID = "";
message.SiteName = "";
if (value !== undefined)
reflectionMergePartial<SiteDescription>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SiteDescription): SiteDescription {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string SiteID */ 1:
message.SiteID = reader.string();
break;
case /* string SiteName */ 2:
message.SiteName = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: SiteDescription, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string SiteID = 1; */
if (message.SiteID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.SiteID);
/* string SiteName = 2; */
if (message.SiteName !== "")
writer.tag(2, WireType.LengthDelimited).string(message.SiteName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.SiteDescription
*/
export const SiteDescription = new SiteDescription$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListAllowedSitesRequest$Type extends MessageType<ListAllowedSitesRequest> {
constructor() {
super("api.ListAllowedSitesRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ListAllowedSitesRequest>): ListAllowedSitesRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ListAllowedSitesRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAllowedSitesRequest): ListAllowedSitesRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ListAllowedSitesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1; */
if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ListAllowedSitesRequest
*/
export const ListAllowedSitesRequest = new ListAllowedSitesRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class ListAllowedSitesResponse$Type extends MessageType<ListAllowedSitesResponse> {
constructor() {
super("api.ListAllowedSitesResponse", [
{ no: 1, name: "SitesAllowed", kind: "message", localName: "SitesAllowed", jsonName: "SitesAllowed", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SiteDescription }
]);
}
create(value?: PartialMessage<ListAllowedSitesResponse>): ListAllowedSitesResponse {
const message = globalThis.Object.create((this.messagePrototype!));
message.SitesAllowed = [];
if (value !== undefined)
reflectionMergePartial<ListAllowedSitesResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListAllowedSitesResponse): ListAllowedSitesResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.SiteDescription SitesAllowed */ 1:
message.SitesAllowed.push(SiteDescription.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: ListAllowedSitesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.SiteDescription SitesAllowed = 1; */
for (let i = 0; i < message.SitesAllowed.length; i++)
SiteDescription.internalBinaryWrite(message.SitesAllowed[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.ListAllowedSitesResponse
*/
export const ListAllowedSitesResponse = new ListAllowedSitesResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetActorAuthorisationRequest$Type extends MessageType<GetActorAuthorisationRequest> {
constructor() {
super("api.GetActorAuthorisationRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "SiteID"] } } });
}
create(value?: PartialMessage<GetActorAuthorisationRequest>): GetActorAuthorisationRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.SiteID = "";
if (value !== undefined)
reflectionMergePartial<GetActorAuthorisationRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetActorAuthorisationRequest): GetActorAuthorisationRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* string SiteID */ 2:
message.SiteID = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: GetActorAuthorisationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1; */
if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string SiteID = 2; */
if (message.SiteID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.SiteID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.GetActorAuthorisationRequest
*/
export const GetActorAuthorisationRequest = new GetActorAuthorisationRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetActorAuthorisationResponse$Type extends MessageType<GetActorAuthorisationResponse> {
constructor() {
super("api.GetActorAuthorisationResponse", [
{ no: 1, name: "Authorisation", kind: "message", localName: "Authorisation", jsonName: "Authorisation", T: () => ProjectAuthorisation }
]);
}
create(value?: PartialMessage<GetActorAuthorisationResponse>): GetActorAuthorisationResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<GetActorAuthorisationResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetActorAuthorisationResponse): GetActorAuthorisationResponse {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ProjectAuthorisation Authorisation */ 1:
message.Authorisation = ProjectAuthorisation.internalBinaryRead(reader, reader.uint32(), options, message.Authorisation);
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: GetActorAuthorisationResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.ProjectAuthorisation Authorisation = 1; */
if (message.Authorisation)
ProjectAuthorisation.internalBinaryWrite(message.Authorisation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.GetActorAuthorisationResponse
*/
export const GetActorAuthorisationResponse = new GetActorAuthorisationResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetBasicSettingsRequest$Type extends MessageType<GetBasicSettingsRequest> {
constructor() {
super("api.GetBasicSettingsRequest", [
@@ -5324,7 +5629,9 @@ export const SiteService = new ServiceType("api.SiteService", [
{ name: "CreateSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Creates the site settings" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Manage", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateSettingsRequest, O: CreateSettingsResponse },
{ name: "GetUnits", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the Units of a site to display" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetUnitsRequest, O: GetUnitsResponse },
{ name: "GetBasicSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the basic settings of a site to display" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBasicSettingsRequest, O: GetBasicSettingsResponse },
{ name: "ListSitesAuthorizedForBooking", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List the site allowing booking for a project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListSitesAuthorizedForBookingRequest, O: ListSitesAuthorizedForBookingResponse },
{ name: "ListSitesAuthorizedForBooking", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List the sites allowing booking for a project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListSitesAuthorizedForBookingRequest, O: ListSitesAuthorizedForBookingResponse },
{ name: "ListAllowedSites", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List the sites allowing booking for a project" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: ListAllowedSitesRequest, O: ListAllowedSitesResponse },
{ name: "GetActorAuthorisation", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the actor authorisation for a site" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetActorAuthorisationRequest, O: GetActorAuthorisationResponse },
{ name: "GetBookingSegmentations", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the restricted segmentation for the current state of booking" }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBookingSegmentationsRequest, O: GetBookingSegmentationsResponse },
{ name: "ResolveSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get Site from either site projectid or projectid with actor id alias." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ResolveSiteRequest, O: ResolveSiteResponse },
{ name: "InitBookerProfile", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Init the booker profile for a site. The user will gain access to the site and be able to book appointments." }, "api.rscType": "Platform", "api.roles": "" }, I: InitBookerProfileRequest, O: InitBookerProfileResponse },