You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251118091926",
|
||||
"version": "1.12.0-SNAPSHOT-251118094457",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { SiteService } from "./site";
|
||||
import type { GetBookingContextResponse } from "./site";
|
||||
import type { GetBookingContextRequest } from "./site";
|
||||
import type { InitBookerProfileResponse } from "./site";
|
||||
import type { InitBookerProfileRequest } from "./site";
|
||||
import type { ClearAliasesOfProjectResponse } from "./site";
|
||||
@@ -20,8 +22,8 @@ import type { GetSiteFromAliasResponse } from "./site";
|
||||
import type { GetSiteFromAliasRequest } from "./site";
|
||||
import type { ResolveSiteResponse } from "./site";
|
||||
import type { ResolveSiteRequest } from "./site";
|
||||
import type { GetPossibleSegmentationOnSiteForBookingResponse } from "./site";
|
||||
import type { GetPossibleSegmentationOnSiteForBookingRequest } from "./site";
|
||||
import type { GetBookingSegmentationsResponse } from "./site";
|
||||
import type { GetBookingSegmentationsRequest } from "./site";
|
||||
import type { ListSitesAuthorizedForBookingResponse } from "./site";
|
||||
import type { ListSitesAuthorizedForBookingRequest } from "./site";
|
||||
import type { GetBasicSettingsResponse } from "./site";
|
||||
@@ -159,9 +161,9 @@ export interface ISiteServiceClient {
|
||||
*/
|
||||
listSitesAuthorizedForBooking(input: ListSitesAuthorizedForBookingRequest, options?: RpcOptions): UnaryCall<ListSitesAuthorizedForBookingRequest, ListSitesAuthorizedForBookingResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetPossibleSegmentationOnSiteForBooking
|
||||
* @generated from protobuf rpc: GetBookingSegmentations
|
||||
*/
|
||||
getPossibleSegmentationOnSiteForBooking(input: GetPossibleSegmentationOnSiteForBookingRequest, options?: RpcOptions): UnaryCall<GetPossibleSegmentationOnSiteForBookingRequest, GetPossibleSegmentationOnSiteForBookingResponse>;
|
||||
getBookingSegmentations(input: GetBookingSegmentationsRequest, options?: RpcOptions): UnaryCall<GetBookingSegmentationsRequest, GetBookingSegmentationsResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: ResolveSite
|
||||
*/
|
||||
@@ -194,6 +196,10 @@ export interface ISiteServiceClient {
|
||||
* @generated from protobuf rpc: InitBookerProfile
|
||||
*/
|
||||
initBookerProfile(input: InitBookerProfileRequest, options?: RpcOptions): UnaryCall<InitBookerProfileRequest, InitBookerProfileResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetBookingContext
|
||||
*/
|
||||
getBookingContext(input: GetBookingContextRequest, options?: RpcOptions): UnaryCall<GetBookingContextRequest, GetBookingContextResponse>;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf service api.SiteService
|
||||
@@ -366,11 +372,11 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
|
||||
return stackIntercept<ListSitesAuthorizedForBookingRequest, ListSitesAuthorizedForBookingResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetPossibleSegmentationOnSiteForBooking
|
||||
* @generated from protobuf rpc: GetBookingSegmentations
|
||||
*/
|
||||
getPossibleSegmentationOnSiteForBooking(input: GetPossibleSegmentationOnSiteForBookingRequest, options?: RpcOptions): UnaryCall<GetPossibleSegmentationOnSiteForBookingRequest, GetPossibleSegmentationOnSiteForBookingResponse> {
|
||||
getBookingSegmentations(input: GetBookingSegmentationsRequest, options?: RpcOptions): UnaryCall<GetBookingSegmentationsRequest, GetBookingSegmentationsResponse> {
|
||||
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetPossibleSegmentationOnSiteForBookingRequest, GetPossibleSegmentationOnSiteForBookingResponse>("unary", this._transport, method, opt, input);
|
||||
return stackIntercept<GetBookingSegmentationsRequest, GetBookingSegmentationsResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: ResolveSite
|
||||
@@ -428,4 +434,11 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
|
||||
const method = this.methods[31], 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[32], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetBookingContextRequest, GetBookingContextResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
205
site.ts
205
site.ts
@@ -13,6 +13,7 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||
import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { Period } from "./shared";
|
||||
import { ResponseHeader } from "./shared";
|
||||
import { SegmentationFilter } from "./slotbooking";
|
||||
import { QuantityByUnit } from "./slotbooking";
|
||||
import { Slot } from "./slotbooking";
|
||||
import { MetadataElement } from "./shared";
|
||||
@@ -748,6 +749,40 @@ export interface SiteActor {
|
||||
*/
|
||||
SiteID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetBookingContextRequest
|
||||
*/
|
||||
export interface GetBookingContextRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
||||
*/
|
||||
Header?: RequestProjectHeader;
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetBookingContextResponse
|
||||
*/
|
||||
export interface GetBookingContextResponse {
|
||||
/**
|
||||
* @generated from protobuf field: repeated string UnitIDs = 1
|
||||
*/
|
||||
UnitIDs: string[]; // List of containment units defined on site.
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.SegmentationFilter Segmentations = 2
|
||||
*/
|
||||
Segmentations: SegmentationFilter[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.MetadataElement CarrierInformation = 3
|
||||
*/
|
||||
CarrierInformation: MetadataElement[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.MetadataElement MetaData = 4
|
||||
*/
|
||||
MetaData: MetadataElement[];
|
||||
}
|
||||
/**
|
||||
* ForceBookAppointment
|
||||
*
|
||||
@@ -1394,9 +1429,9 @@ export interface GetUnitsResponse {
|
||||
Units: Unit[]; // List of containment units defined on site.
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetPossibleSegmentationOnSiteForBookingRequest
|
||||
* @generated from protobuf message api.GetBookingSegmentationsRequest
|
||||
*/
|
||||
export interface GetPossibleSegmentationOnSiteForBookingRequest {
|
||||
export interface GetBookingSegmentationsRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
||||
*/
|
||||
@@ -1415,9 +1450,9 @@ export interface GetPossibleSegmentationOnSiteForBookingRequest {
|
||||
Commissions: Commission[]; // List of Commissions to check
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetPossibleSegmentationOnSiteForBookingResponse
|
||||
* @generated from protobuf message api.GetBookingSegmentationsResponse
|
||||
*/
|
||||
export interface GetPossibleSegmentationOnSiteForBookingResponse {
|
||||
export interface GetBookingSegmentationsResponse {
|
||||
/**
|
||||
* Name of the Site
|
||||
*
|
||||
@@ -3271,6 +3306,131 @@ class SiteActor$Type extends MessageType<SiteActor> {
|
||||
*/
|
||||
export const SiteActor = new SiteActor$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class GetBookingContextRequest$Type extends MessageType<GetBookingContextRequest> {
|
||||
constructor() {
|
||||
super("api.GetBookingContextRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ActorID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetBookingContextRequest>): GetBookingContextRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<GetBookingContextRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetBookingContextRequest): GetBookingContextRequest {
|
||||
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 ActorID */ 2:
|
||||
message.ActorID = 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: GetBookingContextRequest, 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 ActorID = 2; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.GetBookingContextRequest
|
||||
*/
|
||||
export const GetBookingContextRequest = new GetBookingContextRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class GetBookingContextResponse$Type extends MessageType<GetBookingContextResponse> {
|
||||
constructor() {
|
||||
super("api.GetBookingContextResponse", [
|
||||
{ no: 1, name: "UnitIDs", kind: "scalar", localName: "UnitIDs", jsonName: "UnitIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Segmentations", kind: "message", localName: "Segmentations", jsonName: "Segmentations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationFilter },
|
||||
{ no: 3, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
|
||||
{ no: 4, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetBookingContextResponse>): GetBookingContextResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.UnitIDs = [];
|
||||
message.Segmentations = [];
|
||||
message.CarrierInformation = [];
|
||||
message.MetaData = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<GetBookingContextResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetBookingContextResponse): GetBookingContextResponse {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated string UnitIDs */ 1:
|
||||
message.UnitIDs.push(reader.string());
|
||||
break;
|
||||
case /* repeated api.SegmentationFilter Segmentations */ 2:
|
||||
message.Segmentations.push(SegmentationFilter.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.MetadataElement CarrierInformation */ 3:
|
||||
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.MetadataElement MetaData */ 4:
|
||||
message.MetaData.push(MetadataElement.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: GetBookingContextResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated string UnitIDs = 1; */
|
||||
for (let i = 0; i < message.UnitIDs.length; i++)
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.UnitIDs[i]);
|
||||
/* repeated api.SegmentationFilter Segmentations = 2; */
|
||||
for (let i = 0; i < message.Segmentations.length; i++)
|
||||
SegmentationFilter.internalBinaryWrite(message.Segmentations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.MetadataElement CarrierInformation = 3; */
|
||||
for (let i = 0; i < message.CarrierInformation.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.CarrierInformation[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.MetadataElement MetaData = 4; */
|
||||
for (let i = 0; i < message.MetaData.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(4, 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.GetBookingContextResponse
|
||||
*/
|
||||
export const GetBookingContextResponse = new GetBookingContextResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ForceBookAppointmentRequest$Type extends MessageType<ForceBookAppointmentRequest> {
|
||||
constructor() {
|
||||
super("api.ForceBookAppointmentRequest", [
|
||||
@@ -5395,25 +5555,25 @@ class GetUnitsResponse$Type extends MessageType<GetUnitsResponse> {
|
||||
*/
|
||||
export const GetUnitsResponse = new GetUnitsResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class GetPossibleSegmentationOnSiteForBookingRequest$Type extends MessageType<GetPossibleSegmentationOnSiteForBookingRequest> {
|
||||
class GetBookingSegmentationsRequest$Type extends MessageType<GetBookingSegmentationsRequest> {
|
||||
constructor() {
|
||||
super("api.GetPossibleSegmentationOnSiteForBookingRequest", [
|
||||
super("api.GetBookingSegmentationsRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType] },
|
||||
{ no: 4, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ActorID", "AppointmentType", "Commissions"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetPossibleSegmentationOnSiteForBookingRequest>): GetPossibleSegmentationOnSiteForBookingRequest {
|
||||
create(value?: PartialMessage<GetBookingSegmentationsRequest>): GetBookingSegmentationsRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
message.AppointmentType = 0;
|
||||
message.Commissions = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<GetPossibleSegmentationOnSiteForBookingRequest>(this, message, value);
|
||||
reflectionMergePartial<GetBookingSegmentationsRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPossibleSegmentationOnSiteForBookingRequest): GetPossibleSegmentationOnSiteForBookingRequest {
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetBookingSegmentationsRequest): GetBookingSegmentationsRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
@@ -5441,7 +5601,7 @@ class GetPossibleSegmentationOnSiteForBookingRequest$Type extends MessageType<Ge
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: GetPossibleSegmentationOnSiteForBookingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
internalBinaryWrite(message: GetBookingSegmentationsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestProjectHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -5461,24 +5621,24 @@ class GetPossibleSegmentationOnSiteForBookingRequest$Type extends MessageType<Ge
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.GetPossibleSegmentationOnSiteForBookingRequest
|
||||
* @generated MessageType for protobuf message api.GetBookingSegmentationsRequest
|
||||
*/
|
||||
export const GetPossibleSegmentationOnSiteForBookingRequest = new GetPossibleSegmentationOnSiteForBookingRequest$Type();
|
||||
export const GetBookingSegmentationsRequest = new GetBookingSegmentationsRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class GetPossibleSegmentationOnSiteForBookingResponse$Type extends MessageType<GetPossibleSegmentationOnSiteForBookingResponse> {
|
||||
class GetBookingSegmentationsResponse$Type extends MessageType<GetBookingSegmentationsResponse> {
|
||||
constructor() {
|
||||
super("api.GetPossibleSegmentationOnSiteForBookingResponse", [
|
||||
super("api.GetBookingSegmentationsResponse", [
|
||||
{ no: 1, name: "SegmentationChoices", kind: "message", localName: "SegmentationChoices", jsonName: "SegmentationChoices", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Segmentation }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetPossibleSegmentationOnSiteForBookingResponse>): GetPossibleSegmentationOnSiteForBookingResponse {
|
||||
create(value?: PartialMessage<GetBookingSegmentationsResponse>): GetBookingSegmentationsResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.SegmentationChoices = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<GetPossibleSegmentationOnSiteForBookingResponse>(this, message, value);
|
||||
reflectionMergePartial<GetBookingSegmentationsResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPossibleSegmentationOnSiteForBookingResponse): GetPossibleSegmentationOnSiteForBookingResponse {
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetBookingSegmentationsResponse): GetBookingSegmentationsResponse {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
@@ -5497,7 +5657,7 @@ class GetPossibleSegmentationOnSiteForBookingResponse$Type extends MessageType<G
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: GetPossibleSegmentationOnSiteForBookingResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
internalBinaryWrite(message: GetBookingSegmentationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.Segmentation SegmentationChoices = 1; */
|
||||
for (let i = 0; i < message.SegmentationChoices.length; i++)
|
||||
Segmentation.internalBinaryWrite(message.SegmentationChoices[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
@@ -5508,9 +5668,9 @@ class GetPossibleSegmentationOnSiteForBookingResponse$Type extends MessageType<G
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.GetPossibleSegmentationOnSiteForBookingResponse
|
||||
* @generated MessageType for protobuf message api.GetBookingSegmentationsResponse
|
||||
*/
|
||||
export const GetPossibleSegmentationOnSiteForBookingResponse = new GetPossibleSegmentationOnSiteForBookingResponse$Type();
|
||||
export const GetBookingSegmentationsResponse = new GetBookingSegmentationsResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class InitBookerProfileRequest$Type extends MessageType<InitBookerProfileRequest> {
|
||||
constructor() {
|
||||
@@ -5648,7 +5808,7 @@ export const SiteService = new ServiceType("api.SiteService", [
|
||||
{ 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": "", "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": "", "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: "GetPossibleSegmentationOnSiteForBooking", 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": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetPossibleSegmentationOnSiteForBookingRequest, O: GetPossibleSegmentationOnSiteForBookingResponse },
|
||||
{ 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": "", "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: "GetSiteFromAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get Site ID from project actor id." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetSiteFromAliasRequest, O: GetSiteFromAliasResponse },
|
||||
{ name: "GetAliasesOfSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the list of project ID and Actor ID from site ID and optionally Project ID." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetAliasesOfSiteRequest, O: GetAliasesOfSiteResponse },
|
||||
@@ -5656,5 +5816,6 @@ export const SiteService = new ServiceType("api.SiteService", [
|
||||
{ name: "ClearSiteAlias", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete a site alias." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClearSiteAliasRequest, O: ClearSiteAliasResponse },
|
||||
{ name: "ClearAliasesOfSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Clear all site alias for a site." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClearAliasesOfSiteRequest, O: ClearAliasesOfSiteResponse },
|
||||
{ name: "ClearAliasesOfProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Clear all site alias for a project." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClearAliasesOfProjectRequest, O: ClearAliasesOfProjectResponse },
|
||||
{ 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 }
|
||||
{ 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 },
|
||||
{ name: "GetBookingContext", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get the booking context for a given Project and Actor" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetBookingContextRequest, O: GetBookingContextResponse }
|
||||
], { "api.k8sService": "core-site" });
|
||||
|
||||
Reference in New Issue
Block a user