Latest generation

This commit is contained in:
ci core model
2026-08-21 07:36:33 +00:00
parent 92713c8b8d
commit f86e794530
3 changed files with 27 additions and 3 deletions

View File

@@ -74,6 +74,10 @@ export interface MovementPayload {
* @generated from protobuf field: int32 AttachmentNumber = 10
*/
AttachmentNumber: number;
/**
* @generated from protobuf field: string StockID = 11
*/
StockID: string;
}
/**
*
@@ -180,7 +184,8 @@ class MovementPayload$Type extends MessageType<MovementPayload> {
{ no: 7, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => MovementStatusStruct, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } },
{ no: 8, name: "QuantityInBaseLV", kind: "message", localName: "QuantityInBaseLV", jsonName: "QuantityInBaseLV", T: () => QuantityInLV, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "n1validate.rules": { message: { unauthorized: true } } } },
{ no: 9, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved" } },
{ no: 10, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } }
{ no: 10, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
{ no: 11, name: "StockID", kind: "scalar", localName: "StockID", jsonName: "StockID", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "generatedText,keyword" }] } } }
]);
}
create(value?: PartialMessage<MovementPayload>): MovementPayload {
@@ -190,6 +195,7 @@ class MovementPayload$Type extends MessageType<MovementPayload> {
message.ClaimNumber = 0;
message.Attachments = [];
message.AttachmentNumber = 0;
message.StockID = "";
if (value !== undefined)
reflectionMergePartial<MovementPayload>(this, message, value);
return message;
@@ -229,6 +235,9 @@ class MovementPayload$Type extends MessageType<MovementPayload> {
case /* int32 AttachmentNumber */ 10:
message.AttachmentNumber = reader.int32();
break;
case /* string StockID */ 11:
message.StockID = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -271,6 +280,9 @@ class MovementPayload$Type extends MessageType<MovementPayload> {
/* int32 AttachmentNumber = 10; */
if (message.AttachmentNumber !== 0)
writer.tag(10, WireType.Varint).int32(message.AttachmentNumber);
/* string StockID = 11; */
if (message.StockID !== "")
writer.tag(11, WireType.LengthDelimited).string(message.StockID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);