Latest generation

This commit is contained in:
ci core model
2025-10-09 08:48:23 +00:00
parent 0fcc2bbfcd
commit 4d7ff052c5
2 changed files with 43 additions and 2 deletions

View File

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

View File

@@ -500,6 +500,18 @@ export interface ActorConstraint {
* @generated from protobuf field: api.Period MaxBookingPeriod = 3
*/
MaxBookingPeriod?: Period;
/**
* Enable booking for unknown users
*
* @generated from protobuf field: bool IsBookingEnabledForUnknownUsers = 4
*/
IsBookingEnabledForUnknownUsers: boolean;
/**
* CommandIdentifierEntry
*
* @generated from protobuf field: api.CommandIdentifierEntry CommandIdentifierEntry = 5
*/
CommandIdentifierEntry: CommandIdentifierEntry;
}
/**
* @generated from protobuf message api.SegmentationActorConstraint
@@ -698,6 +710,19 @@ export enum CarrierInformationType {
*/
CARRIER_INFORMATION_TYPE_DOCUMENT = 6
}
/**
* @generated from protobuf enum api.CommandIdentifierEntry
*/
export enum CommandIdentifierEntry {
/**
* @generated from protobuf enum value: CommandIdentifierEntry_MandatoryExceptForAllowedUsers = 0;
*/
CommandIdentifierEntry_MandatoryExceptForAllowedUsers = 0,
/**
* @generated from protobuf enum value: CommandIdentifierEntry_NotRequired = 1;
*/
CommandIdentifierEntry_NotRequired = 1
}
/**
* @generated from protobuf enum api.SegmentationConstraintType
*/
@@ -2171,12 +2196,16 @@ class ActorConstraint$Type extends MessageType<ActorConstraint> {
constructor() {
super("api.ActorConstraint", [
{ no: 1, name: "SegmentationConstraints", kind: "message", localName: "SegmentationConstraints", jsonName: "SegmentationConstraints", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationActorConstraint, options: { "api.aggKey": "SegmentationID" } },
{ no: 3, name: "MaxBookingPeriod", kind: "message", localName: "MaxBookingPeriod", jsonName: "MaxBookingPeriod", T: () => Period }
{ no: 3, name: "MaxBookingPeriod", kind: "message", localName: "MaxBookingPeriod", jsonName: "MaxBookingPeriod", T: () => Period },
{ no: 4, name: "IsBookingEnabledForUnknownUsers", kind: "scalar", localName: "IsBookingEnabledForUnknownUsers", jsonName: "IsBookingEnabledForUnknownUsers", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "CommandIdentifierEntry", kind: "enum", localName: "CommandIdentifierEntry", jsonName: "CommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry] }
]);
}
create(value?: PartialMessage<ActorConstraint>): ActorConstraint {
const message = globalThis.Object.create((this.messagePrototype!));
message.SegmentationConstraints = [];
message.IsBookingEnabledForUnknownUsers = false;
message.CommandIdentifierEntry = 0;
if (value !== undefined)
reflectionMergePartial<ActorConstraint>(this, message, value);
return message;
@@ -2192,6 +2221,12 @@ class ActorConstraint$Type extends MessageType<ActorConstraint> {
case /* api.Period MaxBookingPeriod */ 3:
message.MaxBookingPeriod = Period.internalBinaryRead(reader, reader.uint32(), options, message.MaxBookingPeriod);
break;
case /* bool IsBookingEnabledForUnknownUsers */ 4:
message.IsBookingEnabledForUnknownUsers = reader.bool();
break;
case /* api.CommandIdentifierEntry CommandIdentifierEntry */ 5:
message.CommandIdentifierEntry = reader.int32();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -2210,6 +2245,12 @@ class ActorConstraint$Type extends MessageType<ActorConstraint> {
/* api.Period MaxBookingPeriod = 3; */
if (message.MaxBookingPeriod)
Period.internalBinaryWrite(message.MaxBookingPeriod, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* bool IsBookingEnabledForUnknownUsers = 4; */
if (message.IsBookingEnabledForUnknownUsers !== false)
writer.tag(4, WireType.Varint).bool(message.IsBookingEnabledForUnknownUsers);
/* api.CommandIdentifierEntry CommandIdentifierEntry = 5; */
if (message.CommandIdentifierEntry !== 0)
writer.tag(5, WireType.Varint).int32(message.CommandIdentifierEntry);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);