Latest generation

This commit is contained in:
ci core model
2026-03-16 14:55:58 +00:00
parent 3c0a2815b9
commit 5c6d48305f
2 changed files with 22 additions and 20 deletions

View File

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

View File

@@ -387,19 +387,19 @@ export interface CheckBookingAppointmentEditableResponse {
IsForceEditable: boolean;
}
/**
* CheckAppointmentEditable
* LockBookingRequest
*
* @generated from protobuf message api.LockBookingRequest
*/
export interface LockBookingRequest {
/**
* @generated from protobuf field: api.RequestProjectHeader Header = 1
* @generated from protobuf field: string ProjectID = 1
*/
Header?: RequestProjectHeader;
ProjectID: string;
/**
* @generated from protobuf field: api.EntityID ID = 2
* @generated from protobuf field: string AppointmentID = 2
*/
ID?: EntityID;
AppointmentID: string;
}
/**
* @generated from protobuf message api.LockBookingResponse
@@ -1412,12 +1412,14 @@ export const CheckBookingAppointmentEditableResponse = new CheckBookingAppointme
class LockBookingRequest$Type extends MessageType<LockBookingRequest> {
constructor() {
super("api.LockBookingRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID", "AppointmentID"] } } });
}
create(value?: PartialMessage<LockBookingRequest>): LockBookingRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.AppointmentID = "";
if (value !== undefined)
reflectionMergePartial<LockBookingRequest>(this, message, value);
return message;
@@ -1427,11 +1429,11 @@ class LockBookingRequest$Type extends MessageType<LockBookingRequest> {
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);
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* api.EntityID ID */ 2:
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
case /* string AppointmentID */ 2:
message.AppointmentID = reader.string();
break;
default:
let u = options.readUnknownField;
@@ -1445,12 +1447,12 @@ class LockBookingRequest$Type extends MessageType<LockBookingRequest> {
return message;
}
internalBinaryWrite(message: LockBookingRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1; */
if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.EntityID ID = 2; */
if (message.ID)
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* string AppointmentID = 2; */
if (message.AppointmentID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.AppointmentID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1517,5 +1519,5 @@ export const BookingService = new ServiceType("api.BookingService", [
{ name: "RescheduleAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Update slot on an appointment." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: RescheduleBookingAppointmentRequest, O: BookBookingAppointmentResponse },
{ name: "ForceRescheduleAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Force Update slot on an appointment." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: RescheduleBookingAppointmentRequest, O: BookBookingAppointmentResponse },
{ name: "CheckAppointmentEditable", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Check if appointment is in modifiable range." }, "api.rscType": "Project", "api.roles": "", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "SDK" } }, I: CheckBookingAppointmentEditableRequest, O: CheckBookingAppointmentEditableResponse },
{ name: "LockBooking", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Lock Booking." }, "api.rscType": "Platform", "api.roles": "Platform.LockBooking", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: LockBookingRequest, O: LockBookingResponse }
{ name: "LockBooking", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Bookings"], description: "Lock Booking." }, "api.rscType": "Platform", "api.roles": "Platform.LockBooking", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: LockBookingRequest, O: LockBookingResponse }
], { "api.k8sService": "core-site" });