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-251001154227",
|
||||
"version": "1.12.0-SNAPSHOT-251002115554",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user