Latest generation

This commit is contained in:
ci core model
2025-10-02 11:56:42 +00:00
parent fdc2b661fd
commit 0e666ec761
2 changed files with 14 additions and 2 deletions

View File

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

View File

@@ -176,6 +176,10 @@ export interface OpeningDayDefinition {
* @generated from protobuf field: int32 OrderAppliance = 4
*/
OrderAppliance: number; // Order in which the Rule will be applied.
/**
* @generated from protobuf field: bool ApplyCalendarTimetable = 5
*/
ApplyCalendarTimetable: boolean; // boolean to set at true when we want to apply the timetable of the calendar to this specific OpeningDayDefinition, when the calendar in use will be updated, the timetable will automatically be updated
}
/**
* CapacityRule
@@ -1168,13 +1172,15 @@ class OpeningDayDefinition$Type extends MessageType<OpeningDayDefinition> {
super("api.OpeningDayDefinition", [
{ no: 2, name: "TimeRanges", kind: "message", localName: "TimeRanges", jsonName: "TimeRanges", repeat: 2 /*RepeatType.UNPACKED*/, T: () => TimeRange },
{ no: 3, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => RuleFilter },
{ no: 4, name: "OrderAppliance", kind: "scalar", localName: "OrderAppliance", jsonName: "OrderAppliance", T: 5 /*ScalarType.INT32*/ }
{ no: 4, name: "OrderAppliance", kind: "scalar", localName: "OrderAppliance", jsonName: "OrderAppliance", T: 5 /*ScalarType.INT32*/ },
{ no: 5, name: "ApplyCalendarTimetable", kind: "scalar", localName: "ApplyCalendarTimetable", jsonName: "ApplyCalendarTimetable", T: 8 /*ScalarType.BOOL*/ }
]);
}
create(value?: PartialMessage<OpeningDayDefinition>): OpeningDayDefinition {
const message = globalThis.Object.create((this.messagePrototype!));
message.TimeRanges = [];
message.OrderAppliance = 0;
message.ApplyCalendarTimetable = false;
if (value !== undefined)
reflectionMergePartial<OpeningDayDefinition>(this, message, value);
return message;
@@ -1193,6 +1199,9 @@ class OpeningDayDefinition$Type extends MessageType<OpeningDayDefinition> {
case /* int32 OrderAppliance */ 4:
message.OrderAppliance = reader.int32();
break;
case /* bool ApplyCalendarTimetable */ 5:
message.ApplyCalendarTimetable = reader.bool();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -1214,6 +1223,9 @@ class OpeningDayDefinition$Type extends MessageType<OpeningDayDefinition> {
/* int32 OrderAppliance = 4; */
if (message.OrderAppliance !== 0)
writer.tag(4, WireType.Varint).int32(message.OrderAppliance);
/* bool ApplyCalendarTimetable = 5; */
if (message.ApplyCalendarTimetable !== false)
writer.tag(5, WireType.Varint).bool(message.ApplyCalendarTimetable);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);