Latest generation

This commit is contained in:
ci core model
2025-12-15 13:47:26 +00:00
parent f5733ff7bc
commit 51fc0562cf
2 changed files with 80 additions and 80 deletions

View File

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

View File

@@ -579,9 +579,9 @@ export interface Commission {
*/
OrderID: string; // ID of the order, might be null for standalone.
/**
* @generated from protobuf field: string ExecutionflowID = 3
* @generated from protobuf field: repeated api.QuantityByUnit Quantities = 3
*/
ExecutionflowID: string; // ID of the executionflow, might be null for standalone.
Quantities: QuantityByUnit[]; // Volumetry inside the truck, should have at least one item listed.
/**
* @generated from protobuf field: string ActorID = 4
*/
@@ -598,11 +598,11 @@ export interface WMSCommission {
/**
* @generated from protobuf field: string OrderID = 2
*/
OrderID: string; // ID of the order, might be null for standalone.
OrderID: string; // ID of the order, might be null for standalone.
/**
* @generated from protobuf field: repeated api.QuantityByUnit Quantities = 3
* @generated from protobuf field: string ExecutionflowID = 5
*/
Quantities: QuantityByUnit[]; // Volumetry inside the truck, should have at least one item listed.
ExecutionflowID: string; // ID of the executionflow, might be null for standalone.
/**
* @generated from protobuf field: string ActorID = 4
*/
@@ -2292,7 +2292,7 @@ class Commission$Type extends MessageType<Commission> {
super("api.Commission", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Quantities", kind: "message", localName: "Quantities", jsonName: "Quantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 4, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
]);
}
@@ -2300,84 +2300,13 @@ class Commission$Type extends MessageType<Commission> {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.OrderID = "";
message.ExecutionflowID = "";
message.Quantities = [];
message.ActorID = "";
if (value !== undefined)
reflectionMergePartial<Commission>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Commission): Commission {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* string OrderID */ 2:
message.OrderID = reader.string();
break;
case /* string ExecutionflowID */ 3:
message.ExecutionflowID = reader.string();
break;
case /* string ActorID */ 4:
message.ActorID = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: Commission, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* string OrderID = 2; */
if (message.OrderID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.OrderID);
/* string ExecutionflowID = 3; */
if (message.ExecutionflowID !== "")
writer.tag(3, WireType.LengthDelimited).string(message.ExecutionflowID);
/* string ActorID = 4; */
if (message.ActorID !== "")
writer.tag(4, WireType.LengthDelimited).string(message.ActorID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.Commission
*/
export const Commission = new Commission$Type();
// @generated message type with reflection information, may provide speed optimized methods
class WMSCommission$Type extends MessageType<WMSCommission> {
constructor() {
super("api.WMSCommission", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Quantities", kind: "message", localName: "Quantities", jsonName: "Quantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 4, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
]);
}
create(value?: PartialMessage<WMSCommission>): WMSCommission {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.OrderID = "";
message.Quantities = [];
message.ActorID = "";
if (value !== undefined)
reflectionMergePartial<WMSCommission>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WMSCommission): WMSCommission {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
@@ -2405,7 +2334,7 @@ class WMSCommission$Type extends MessageType<WMSCommission> {
}
return message;
}
internalBinaryWrite(message: WMSCommission, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
internalBinaryWrite(message: Commission, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
@@ -2424,6 +2353,77 @@ class WMSCommission$Type extends MessageType<WMSCommission> {
return writer;
}
}
/**
* @generated MessageType for protobuf message api.Commission
*/
export const Commission = new Commission$Type();
// @generated message type with reflection information, may provide speed optimized methods
class WMSCommission$Type extends MessageType<WMSCommission> {
constructor() {
super("api.WMSCommission", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/ },
{ no: 5, name: "ExecutionflowID", kind: "scalar", localName: "ExecutionflowID", jsonName: "ExecutionflowID", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
]);
}
create(value?: PartialMessage<WMSCommission>): WMSCommission {
const message = globalThis.Object.create((this.messagePrototype!));
message.ProjectID = "";
message.OrderID = "";
message.ExecutionflowID = "";
message.ActorID = "";
if (value !== undefined)
reflectionMergePartial<WMSCommission>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WMSCommission): WMSCommission {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ProjectID */ 1:
message.ProjectID = reader.string();
break;
case /* string OrderID */ 2:
message.OrderID = reader.string();
break;
case /* string ExecutionflowID */ 5:
message.ExecutionflowID = reader.string();
break;
case /* string ActorID */ 4:
message.ActorID = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
let d = reader.skip(wireType);
if (u !== false)
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
}
}
return message;
}
internalBinaryWrite(message: WMSCommission, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ProjectID = 1; */
if (message.ProjectID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
/* string OrderID = 2; */
if (message.OrderID !== "")
writer.tag(2, WireType.LengthDelimited).string(message.OrderID);
/* string ActorID = 4; */
if (message.ActorID !== "")
writer.tag(4, WireType.LengthDelimited).string(message.ActorID);
/* string ExecutionflowID = 5; */
if (message.ExecutionflowID !== "")
writer.tag(5, WireType.LengthDelimited).string(message.ExecutionflowID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.WMSCommission
*/