Latest generation

This commit is contained in:
ci core model
2025-10-30 15:32:05 +00:00
parent 13a148c3c5
commit c4aa722a61
3 changed files with 28 additions and 5 deletions

View File

@@ -4705,10 +4705,10 @@ export const AppointmentEmailsRemovedResponse = new AppointmentEmailsRemovedResp
* @generated ServiceType for protobuf service api.AppointmentInputAPI
*/
export const AppointmentInputAPI = new ServiceType("api.AppointmentInputAPI", [
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been created." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCreatedRequest, O: AppointmentCreatedResponse },
{ name: "Canceled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been canceled." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCanceledRequest, O: AppointmentCanceledResponse },
{ name: "SlotUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentSlotUpdatedRequest, O: AppointmentSlotUpdatedResponse },
{ name: "CommissionsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment commissions has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse },
{ name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been created." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCreatedRequest, O: AppointmentCreatedResponse },
{ name: "Canceled", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been canceled." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCanceledRequest, O: AppointmentCanceledResponse },
{ name: "SlotUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSlotUpdatedRequest, O: AppointmentSlotUpdatedResponse },
{ name: "CommissionsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment commissions has been modified." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse },
{ name: "CarrierExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is exopected for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierExpectedRequest, O: AppointmentCarrierExpectedResponse },
{ name: "CarrierArrived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is arrived for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierArrivedRequest, O: AppointmentCarrierArrivedResponse },
{ name: "ExpeditionStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment expedition is started." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentExpeditionStartedRequest, O: AppointmentExpeditionStartedResponse },

View File

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

23
site.ts
View File

@@ -12,6 +12,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime";
import { Period } from "./shared";
import { ResponseHeader } from "./shared";
import { QuantityByUnit } from "./slotbooking";
import { Slot } from "./slotbooking";
import { SlotGroup } from "./slotbooking";
@@ -833,6 +834,10 @@ export interface ForceBookAppointmentRequest {
* @generated from protobuf message api.BookAppointmentResponse
*/
export interface BookAppointmentResponse {
/**
* @generated from protobuf field: api.ResponseHeader Header = 2
*/
Header?: ResponseHeader;
/**
* @generated from protobuf field: string AppointmentID = 1
*/
@@ -857,6 +862,10 @@ export interface CancelAppointmentRequest {
* @generated from protobuf message api.CancelAppointmentResponse
*/
export interface CancelAppointmentResponse {
/**
* @generated from protobuf field: api.ResponseHeader Header = 2
*/
Header?: ResponseHeader;
/**
* @generated from protobuf field: string AppointmentID = 1
*/
@@ -3311,6 +3320,7 @@ export const ForceBookAppointmentRequest = new ForceBookAppointmentRequest$Type(
class BookAppointmentResponse$Type extends MessageType<BookAppointmentResponse> {
constructor() {
super("api.BookAppointmentResponse", [
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
{ no: 1, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ }
]);
}
@@ -3326,6 +3336,9 @@ class BookAppointmentResponse$Type extends MessageType<BookAppointmentResponse>
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ResponseHeader Header */ 2:
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* string AppointmentID */ 1:
message.AppointmentID = reader.string();
break;
@@ -3344,6 +3357,9 @@ class BookAppointmentResponse$Type extends MessageType<BookAppointmentResponse>
/* string AppointmentID = 1; */
if (message.AppointmentID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.AppointmentID);
/* api.ResponseHeader Header = 2; */
if (message.Header)
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3412,6 +3428,7 @@ export const CancelAppointmentRequest = new CancelAppointmentRequest$Type();
class CancelAppointmentResponse$Type extends MessageType<CancelAppointmentResponse> {
constructor() {
super("api.CancelAppointmentResponse", [
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
{ no: 1, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ }
]);
}
@@ -3427,6 +3444,9 @@ class CancelAppointmentResponse$Type extends MessageType<CancelAppointmentRespon
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.ResponseHeader Header */ 2:
message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* string AppointmentID */ 1:
message.AppointmentID = reader.string();
break;
@@ -3445,6 +3465,9 @@ class CancelAppointmentResponse$Type extends MessageType<CancelAppointmentRespon
/* string AppointmentID = 1; */
if (message.AppointmentID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.AppointmentID);
/* api.ResponseHeader Header = 2; */
if (message.Header)
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);