Latest generation

This commit is contained in:
ci core model
2025-08-06 14:54:45 +00:00
parent fbaec9376a
commit 9a0b96281c
2 changed files with 15 additions and 3 deletions

View File

@@ -83,6 +83,10 @@ export interface AppointmentCreatedPayload {
* @generated from protobuf field: string CarrierName = 11
*/
CarrierName: string;
/**
* @generated from protobuf field: string Reason = 12
*/
Reason: string;
}
/**
* Event message
@@ -1180,7 +1184,8 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
{ no: 7, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
{ no: 8, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "api.metadata": true, "api.aggKey": "Key", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the site. They can be of several data form (string, integer, float, boolean or timestamp)" } } },
{ no: 10, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
{ no: 11, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ }
{ no: 11, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
{ no: 12, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ }
], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["AppointmentType"] } } });
}
create(value?: PartialMessage<AppointmentCreatedPayload>): AppointmentCreatedPayload {
@@ -1193,6 +1198,7 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
message.MetaData = [];
message.CarrierID = "";
message.CarrierName = "";
message.Reason = "";
if (value !== undefined)
reflectionMergePartial<AppointmentCreatedPayload>(this, message, value);
return message;
@@ -1229,6 +1235,9 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
case /* string CarrierName */ 11:
message.CarrierName = reader.string();
break;
case /* string Reason */ 12:
message.Reason = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -1268,6 +1277,9 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
/* string CarrierName = 11; */
if (message.CarrierName !== "")
writer.tag(11, WireType.LengthDelimited).string(message.CarrierName);
/* string Reason = 12; */
if (message.Reason !== "")
writer.tag(12, WireType.LengthDelimited).string(message.Reason);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4912,7 +4924,7 @@ export const AppointmentInputAPI = new ServiceType("api.AppointmentInputAPI", [
{ name: "Created", options: { "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been created." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCreatedRequest, O: AppointmentCreatedResponse },
{ name: "Canceled", options: { "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment has been canceled." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCanceledRequest, O: AppointmentCanceledResponse },
{ name: "DateUpdated", options: { "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentDateUpdatedRequest, O: AppointmentDateUpdatedResponse },
{ name: "CommissionsUpdated", options: { "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date has been modified." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse },
{ name: "CommissionsUpdated", options: { "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment date and its commissions has been modified." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCommissionsUpdatedRequest, O: AppointmentCommissionsUpdatedResponse },
{ name: "CarrierInformationUpdated", options: { "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment carrier information have been updated." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierInformationUpdatedRequest, O: AppointmentCarrierInformationUpdatedResponse },
{ name: "CarrierExpected", options: { "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is exopected for the appointment." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierExpectedRequest, O: AppointmentCarrierExpectedResponse },
{ name: "CarrierArrived", options: { "api.rscType": "Site", "api.roles": "Platform.Site-Input", "api.moduleID": "appointment-scheduling", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is arrived for the appointment." }, "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierArrivedRequest, O: AppointmentCarrierArrivedResponse },

View File

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